MA6:MA(C,6),COLORGREEN;
MA20:MA(CLOSE,20),COLORYELLOW;
突破:HHV(MA(C,6),30),COLOR1100FF;
买线:LLV(MA(C,20),30),COLORMAGENTA;
支撑价:LLV(LOW,34) ,COLORCYAN,LINETHICK2;
阻力价:HHV(HIGH,19),COLORFF9900, LINETHICK2;
A1:REF(EMA(C,14),1)COLORLIBLUE,LINETHICK1;
A1X:=(EMA(C,14)-A1)/A1*100;
¥:IF(A1X>=0,A1,DRAWNULL)COLORRED,LINETHICK2;
E2:=EXPMA(CLOSE,2);
白追涨:EXPMA(CLOSE,3),NODRAW;
五日:=EXPMA(CLOSE,5);
粉杀跌:EXPMA(CLOSE,10),NODRAW;
E16:=EXPMA(CLOSE,16);
黄防套:EXPMA(CLOSE,20),NODRAW;
E30:=EXPMA(CLOSE,30);
蓝上轿:EXPMA(CLOSE,57),NODRAW;
红铡刀:EXPMA(CLOSE,110),NODRAW,COLORRED;
三日:=EXPMA(CLOSE,3),LINETHICK2,COLORGREEN;
K紫后白蓝点买:IF(三日>REF(三日,1),三日,DRAWNULL),LINETHICK2,COLORLIRED;
V8:=MA(CLOSE,27);
V9:=(CLOSE-V8)/V8*100;
VA:=MA(V9,2);
VC:=BARSLAST(CROSS(VA,10)=1);
ZSW1125:=VA>10 AND VC>3;
登高信号:=ZSW1125&&VA;
D7:=REF(E2,1)>REF(白追涨,1)&&REF(白追涨,1)>REF(五日,1)&&REF(五日,1)>REF(粉杀跌,1)&&REF(粉杀跌,1)>REF(黄防套,1)&&REF(黄防套,1)>REF(蓝上轿,1)&&REF(蓝上轿,1)>REF(红铡刀,1);
D47:=REF(粉杀跌,1)>REF(黄防套,1)&&REF(黄防套,1)>REF(蓝上轿,1)&&REF(蓝上轿,1)>REF(红铡刀,1);
K7:=REF(E2,1)<REF(白追涨,1)&&REF(白追涨,1)<REF(五日,1)&&REF(五日,1)<REF(粉杀跌,1)&&REF(粉杀跌,1)<REF(黄防套,1)&&REF(黄防套,1)<REF(蓝上轿,1)&&REF(蓝上轿,1)<REF(红铡刀,1);
红警线:=REF(H,5)>REF(H,4)&&REF(H,5)>REF(H,3)&&REF(H,5)>REF(H,2)&&REF(H,5)>REF(H,1)&&REF(H,5)>=REF(H,6)&&REF(H,5)>=REF(HHV(H,18),6);
绿警线:=REF(L,5)<REF(L,4)&&REF(L,5)<REF(L,3)&&REF(L,5)<REF(L,2)&&REF(L,5)<REF(L,1)&&REF(L,5)<=REF(L,6)&&REF(L,5)<=REF(LLV(L,18),6);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KDJ区域:=SMA(RSV,3,1);
STICKLINE(K7&&REF(E2,1)<REF(E2,2)&&O<REF(C,1)*0.94&&REF(O,1)>REF(C,1)&&C>REF(C,1)*0.95,L-(H-L)*0.1,L+(H-L)*0.1,8,0),COLORWHITE;
STICKLINE(D7&&REF(E2,1)>REF(E2,2)&&O>REF(C,1)*1.07&&C<REF(C,1)*1.099&&C<=O,H,O-(O-C)*0.2,0.15,0),COLORMAGENTA;
STICKLINE(D7&&REF(E2,1)>REF(E2,2)&&O>REF(C,1)*1.07&&C<REF(C,1)*1.099&&C<=O,O-(O-C)*0.2,O-(O-C)*0.65,0.15,0),COLORYELLOW;
STICKLINE(D47&&REF(O,1)>REF(C,2)*1.07&&REF(O,1)>REF(C,1)&&REF(E2,1)>REF(E2,2)&&E2>REF(E2,1)&&C>=O,L,O+(C-O)*0.25,0.15,0),COLORWHITE;
STICKLINE(D47&&REF(O,1)>REF(C,2)*1.07&&REF(O,1)>REF(C,1)&&REF(E2,1)>REF(E2,2)&&E2>REF(E2,1)&&KDJ区域<87&&C>=O,O+(C-O)*0.2,O+(C-O)*0.2,12,0),COLORCYAN;
STICKLINE(红警线&&C<REF(H,5),REF(H,5),REF(H,5),55,0),COLORMAGENTA;
STICKLINE(绿警线&&C>REF(L,5),REF(L,5),REF(L,5),55,0),COLORGREEN;
STICKLINE(REF(登高信号,1)<=0&&登高信号>REF(登高信号,1)&&登高信号>0,H,H,50,0),COLORYELLOW;
STICKLINE(REF(KDJ区域,1)>72&&C<=O&&C<=E2&&REF(C,1)>REF(E2,1)&&REF(C,2)>REF(E2,2),H,O-(O-C)*0.2,0.15,0),COLORMAGENTA;
STICKLINE(REF(KDJ区域,1)>72&&C>O&&C<=E2&&REF(C,1)>REF(E2,1)&&REF(C,2)>REF(E2,2),H,C-(C-O)*0.2,0.15,0),COLORMAGENTA;
STICKLINE(KDJ区域>72&&C>=白追涨,C,O,1,0),COLORYELLOW;
STICKLINE(KDJ区域<30&&C<=白追涨,C,O,1,0),COLORGREEN;
STICKLINE(REF(KDJ区域,1)<30&&C>=O&&C>=E2&&REF(C,1)<REF(E2,1)&&REF(C,2)<REF(E2,2),L,O+(C-O)*0.25,0.15,0),COLORWHITE;
STICKLINE(REF(KDJ区域,1)<30&&C>=O&&C>=E2&&REF(C,1)<REF(E2,1)&&REF(C,2)<REF(E2,2),O+(C-O)*0.25,O+(C-O)*0.85,0.15,0),COLORBLUE;
STICKLINE(REF(KDJ区域,1)<30&&C<O&&C>=E2&&REF(C,1)<REF(E2,1)&&REF(C,2)<REF(E2,2),L,C+(O-C)*0.25,0.15,0),COLORWHITE;
STICKLINE(REF(KDJ区域,1)<30&&C<O&&C>=E2&&REF(C,1)<REF(E2,1)&&REF(C,2)<REF(E2,2),C+(O-C)*0.25,C+(O-C)*0.9,0.15,0),COLORBLUE;
Y:=REF(KDJ区域,1)<30&&C>=O&&C>=E2&&REF(C,1)<REF(E2,1)&&REF(C,2)<REF(E2,2);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20 AND Y,L*0.99,'反弹'),COLORMAGENTA;
盈利:300*("000100$CLOSE"-1.985),NODRAW;
A:=REF(KDJ区域,1)<30 AND C>=O AND C>=E2 AND REF(C,1)<REF(E2,1) AND REF(C,2)<REF(E2,2);
B:=REF(KDJ区域,1)<30 AND C<O AND C>=E2 AND REF(C,1)<REF(E2,1) AND REF(C,2)<REF(E2,2);
AA:=COUNT(DOWNNDAY(C,3),6)=1;
选一:=A AND AA OR B AND AA;
DRAWICON(选一,L*0.99,1); |