底部追漲
{N1 1,100,5 N2 1,100,50 M1 1,100,25 M2 1,100,15}
VAR1:=(((MA(CLOSE,(N1 + N2)) - MA(CLOSE,N1)) / MA(CLOSE,(N1 + N2))) * 100);
VAR2:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
底部:IF((CROSS(VAR4,M2) AND (VAR1 > M1)),100,0);
========================================================================
滑道小心
{N1 1,500,250 N2 1,100,20 M1 1,100,50 M2 1,100,35}
VAR1:=(MA((VOL / MA(VOL,N1)),N2) < (M1 / 10));
VAR2:=((((REF(CLOSE,N2) - CLOSE) / REF(CLOSE,N2)) * 100) > M2);
底部:IF(((VAR1 AND VAR2) AND (BARSCOUNT(CLOSE) > (N1 - 1))),100,0);
==================================================================================
臘梅報春
{N1 0,100,4 N2 1,100,30 N3 1,100,19}
VAR1:=(((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) * 100);
VAR2:=(((REF(OPEN,30) - CLOSE) / REF(OPEN,30)) * 100);
VAR3:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),9,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),9,1)) * 100);
臘梅:IF(VAR1 > N1 AND VAR2 > N2 AND COUNT(VAR3 < N3,10) > 1,100,0);
===================================================================================
龍躍九淵
{N1 1,100,21 N2 1,100,34 M1 1,100,25}
VAR1:=(((CLOSE - MA(CLOSE,N1)) / STD(CLOSE,N1)) * 100);
VAR2:=EMA(VAR1,5);
VAR3:=EMA(VAR2,5);
VAR4:=(((MA(CLOSE,N2) - CLOSE) / MA(CLOSE,N2)) * 100);
龍:IF(CROSS(VAR2,VAR3) AND REF(VAR4,1) > M1 AND CLOSE > REF(CLOSE,1),100,0);
=======================================================================================
神窺底頂
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100);
VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100);
VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));
VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));
底部:IF(VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47,100,0);
========================================================================================
順勢而為
{N1 1,100,29 N2 1,100,25 M 1,100,11}
VAR1:=(EMA(CLOSE,N1) - EMA(CLOSE,(N1 + N2)));
VAR2:=MA(VAR1,5);
底部:IF(CROSS(VAR1,VAR2) AND REF(VAR1 * (-100) / EMA(CLOSE,N1 + N2) > M,1) AND BARSCOUNT(CLOSE) > (N1 + N2),100,0);
=====================================================================================
太極神功
{N1 1,100,25 N2 1,100,20 N3 1,100,40}
VAR1:=(((CLOSE - LLV(LOW,64)) / (HHV(HIGH,64) - LLV(LOW,64))) * 100);
VAR2:=((SMA(MAX((CLOSE - REF(CLOSE,1)),0),18,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),18,1)) * 100);
VAR3:=(((HHV(HIGH,64) - LOW) / HHV(HIGH,64)) * 100);
丹田:IF(100 * VAR1 / VAR2 < N1 AND VAR3 > N3 AND VAR2 < N2 AND VAR2 > 10 AND BARSCOUNT(CLOSE) > 63,100,0);
======================================================================================
楊眉劍飛
{N1 1,100,4 N2 1,100,3 N3 1,100,16}
VAR1:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),5);
VAR2:=(EMA((VOL * CLOSE),5) / EMA(VOL,5));
VAR3:=(((CLOSE - VAR2) / VAR2) * 100);
VAR4:=(((MA(CLOSE,20) - CLOSE) / MA(CLOSE,20)) * 100);
劍飛:IF(VAR1 < N1 AND VAR3 < (-1) * N2 AND VAR4 > N3,100,0);
=======================================================================================
一柱擎天
{N1 1,100,29 M1 1,100,29 M2 0,100,6 M3 0,100,8}
VAR1:=(((REF(OPEN,N1) - CLOSE) / REF(OPEN,N1)) * 100);
VAR2:=(((CLOSE - LLV(LOW,N1)) / (HHV(HIGH,N1) - LLV(LOW,N1))) * 100);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
擎天:IF(REF(VAR1,1) > M1 AND CLOSE / OPEN > (1 + M2 / 100) AND REF(VAR4,1) < M3,100,0);
=======================================================================================
正月花開
{M1 1,100,39 M2 0,100,23}
VAR1:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));
VAR2:=(((VAR1 - CLOSE) / VAR1) * 100);
花開:IF(REF(VAR2,1) > M1 AND VAR2 < (REF(VAR2,1) - M2 / 10),100,0);
===========================================================================================
莊股發(fā)力
{N1 1,100,6 N2 1,300,20 M1 1,100,15 M2 1,100,15}
VAR1:=(MA(WINNER(CLOSE),N1) * 100);
VAR2:=((100 * (MA(CLOSE,N2) - CLOSE)) / MA(CLOSE,N2));
底部:IF(CROSS(VAR1,M1 / 10) AND REF(VAR2,1) > M2 AND BARSCOUNT(CLOSE) > (N1 - 1),100,0);
=======================================================================================
明天低買選股
VAR1:=1992231;
VAR2:=IF(DATE<=VAR1,1,0);
VAR3:=1/WINNER(CLOSE);
VAR4:=MA(CLOSE,13);
VAR5:=100-ABS((CLOSE-VAR4)/VAR4*100);
VAR6:=LLV(LOW,75);
VAR7:=HHV(HIGH,75);
VAR8:=(VAR7-VAR6)/100;
VAR9:=SMA((CLOSE-VAR6)/VAR8,20,1);
VARA:=SMA((OPEN-VAR6)/VAR8,20,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=3*VARA-2*SMA(VARA,15,1);
VARD:=100-VARC;
VARE:=REF(LOW,1)*0.9;
VARF:=LOW*0.9;
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;
VAR11:=EMA(VAR10,30);
VAR12:=CLOSE-REF(CLOSE,1);
VAR13:=MAX(VAR12,0);
VAR14:=ABS(VAR12);
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;
VAR17:=BARSCOUNT(CLOSE);
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;
VAR19:=(-200)*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))+100;
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
VAR1D:=SMA(VAR1C,4,1);
VAR1E:=SMA(VAR1D,3,1);
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<55 AND VAR17>50;
明天低買CGL90%: IF(CROSS(VAR20,0.5),8,0)*VAR2,COLOR00FFFF ,LINETHICK2;
=======================================================================================
買入選股
AA:=LLV(LOW,34);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
絕谷:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
買入成功率80%:IF(CROSS(絕谷,90) AND (DD<40),8,0);
========================================================================================
逃大跌
{N1(2,250,5)}{N2(2,150,10)}
SHI:=REF(CLOSE,1);
SHOU:SMA(MAX(CLOSE-SHI,0),N1,1)/SMA(ABS(CLOSE-SHI),N1,1)*100;
TOU:SMA(MAX(CLOSE-SHI,0),N2,1)/SMA(ABS(CLOSE-SHI),N2,1)*100;
DRAWBAND(SHOU,RGB(255,150,0),TOU,RGB(0,130,50));
AA:95,COLORGREEN;
BB:90,COLORCYAN;
CC:45,COLORYELLOW;
DD:80,COLORMAGENTA;
EE:10,COLORRED;
DRAWTEXT(ISLASTBAR,AA,'清倉');
DRAWTEXT(ISLASTBAR,BB,'減倉');
DRAWTEXT(ISLASTBAR,DD,'警覺');
=====================================================================================
簡單趨勢
ZF:=(C/REF(C,1)-1)*100;
趨勢:SUM(ZF,3),COLORFFFFFF,LINETHICK2;
IF(趨勢>REF(趨勢,1) AND 趨勢>=0,趨勢,DRAWNULL),COLORRED,LINETHICK2;
IF(趨勢<REF(趨勢,1) AND 趨勢>0,趨勢,DRAWNULL),COLOR00FF00,LINETHICK2;
超漲:IF(MA(ZF,3)>=5,15,0),COLOR0000FF;
WK:=趨勢=LLV(趨勢,4) AND 趨勢-HHV(趨勢,4)<=0-20 AND HHV(趨勢,4)>=8;
挖坑:IF(WK,0-10,0),COLOR00FFFF;
超跌:IF(MA(ZF,3)<=0-5,0-15,0),COLOR00FF00;
CZSJ:=BARSLAST(超漲=15);
CDSJ:=BARSLAST(超跌=0-15);
CZQY:=CZSJ<=8 AND CZSJ<=CDSJ AND COUNT(MA(趨勢,3)>=0-5,CZSJ)=CZSJ;
CDQY:=CDSJ<=8 AND CDSJ<=CZSJ AND COUNT(MA(趨勢,3)<=5,CDSJ)=CDSJ;
關(guān)注期:IF(CZQY,CZSJ+1,0),COLORFF00FF,POINTDOT;
跟蹤期:IF(CDQY,0-CDSJ-1,0),COLORFF8800,POINTDOT;
{以下設(shè)置副圖顯示方式}
STICKLINE(CZQY,REF(趨勢,CZSJ),REF(趨勢,CZSJ),3,1),COLORFF00FF;
STICKLINE(CDQY,REF(趨勢,CDSJ),REF(趨勢,CDSJ),3,1),COLORFF8800;
=======================================================================================
買賣提示
DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
KDIF12:=3*(DIF12-DEA12);{KDIF12:=2*(DIF12-DEA12)};
KDEA12:=SMA(KDIF12,5,2);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
BIAS1:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
A1:=CROSS(K,D) AND CROSS(K,D)<16 AND BIAS1<-6;
M1:=WINNER( MA(CLOSE,1))*200;
M2:=WINNER(MA(CLOSE,20))*200;
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=LLV(LOW,5);
VAR6:=HHV(HIGH,5);
VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);
VAR9:=3*VAR7-2*VAR8;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100;
VARF:=SMA(VARE,3,1);
VAR10:=3*VARE-2*VARF;
VAR11:=(HIGH+LOW+CLOSE*2)/4;
VAR12:=EMA(VAR11,13);
VAR13:=STD(VAR11,13);
VAR14:=(VAR11-VAR12)*100/VAR13;
VAR15:=EMA(VAR14,5);
VAR17:=EMA(VAR15,13)+200-100;
VAR18:=EMA(VAR17,10);
VAR19:=3*VAR17-2*VAR18;
VAR1A:=VAR2+VAR7+VARE+VAR17;
VAR1B:=VAR3+VAR8+VARF+VAR18;
VAR1C:=VAR4+VAR9+VAR10+VAR19;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR23:=EMA(VAR22,24);
VAR24:=STD(VAR22,24);
VAR25:=(VAR22-VAR23)/VAR24*100;
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR27:=EMA(VAR25,5);
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4;
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2D:=EMA(VAR2C,13);
VAR2E:=(VAR2A+VAR2C)/2/1.1;
VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR31:=REF(CLOSE,1);
VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(ABS(CLOSE-VAR31),5,1)*100;
VAR33:=(HIGH+LOW+CLOSE)/3;
VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));
VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100;
超短:=EMA(VAR2E,3);
短線:=EMA(超短,5);
RSV2:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;
K1:=SMA(RSV2,9,1);
D1:=SMA(K,3,1);
J:=3*K-2*D;
DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
KDJ_K:="KDJ.K"(9,3,3);KDJ_D:="KDJ.D"(9,3,3);KDJ_J:="KDJ.J"(9,3,3);
TYP:=(HIGH+LOW+CLOSE)/3;
C1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
C2:=(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84));
VARA1:=REF(LOW,1);
VARB1:=SMA(ABS(LOW-VARA1),3,1)/SMA(MAX(LOW-VARA1,0),3,1)*100;
VARC1:=EMA(IF(CLOSE*1.3,VARB1*10,VARB1/10),3);
VARD1:=LLV(LOW,30);
VARE1:=HHV(VARC1,30);
VARF1:=IF(MA(CLOSE,58),1,0);
VARG1:=EMA(IF(LOW<=VARD1,(VARC1+VARE1*2)/2,0),3)/618*VARF1;
VARH1:=IF(VARG1>50,50,VARG1);
RSV3:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
TR:=EMA(EMA(EMA(CLOSE,13),13),3);
TRIX:=(TR-REF(TR,1))/REF(TR,1)*100;
MATRIX:=MA(TRIX,2.618);
VAR101:=(2*CLOSE+HIGH+LOW)/4;
VAR202:=EXPMA(EXPMA(EXPMA(VAR101,4),4),4);
JJ:=(VAR202-REF(VAR202,1))/REF(VAR202,1)*100*0.4;
DD:=MA(JJ,3);
KK:=MA(JJ,1);
DIFF88:= EMA(CLOSE,5) - EMA(CLOSE,34);
DEA88:= EMA(DIFF88,6);
ABB:=DRAWLINE(V>=HHV(V,10),V,V<=LLV(V,3),HHV(V,3),1);
LL:=REF(CLOSE,1);
MM:=SMA(MAX(CLOSE-LL,0),6,1)/SMA(ABS(CLOSE-LL),6,1)*100;
買:CROSS(KDJ_J,0) OR (CROSS(KDJ_J,KDJ_K) AND KDJ_D<26) OR CROSS("RSI.RSI1"(6,2,2),20) OR CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)) OR CROSS("MACD.DIF","MACD.DEA") OR CROSS(DIF1,DEA1) OR CROSS(K1,D1) OR CROSS("MACD.MACD",0) OR CROSS(DIF12,DEA12) OR CROSS(KDIF12,KDEA12) OR CROSS(K,D) OR CROSS(超短,短線) OR CROSS(C1,-150) OR CROSS(C2,-150) OR CROSS(KK,DD) AND CROSS(TRIX,MATRIX) OR CROSS(DIFF88,DEA88) OR CROSS(C,ABB),COLORRED;
賣:CROSS(80,MM) OR CROSS(DEA1,DIF1) OR CROSS(D1,K1) OR CROSS(DEA12,DIF12) OR CROSS(KDEA12,KDIF12) OR CROSS(D,K) OR CROSS(短線,超短) OR CROSS(DD,KK) AND CROSS(MATRIX,TRIX) OR CROSS(DEA88,DIFF88) OR CROSS(250,C1) OR CROSS(250,C2),COLORGREEN;