VAR2:=CLOSE*VOL;
VAR3:=EMA((EMA(VAR2,3)/EMA(VOL,3)+EMA(VAR2,6)/EMA(VOL,6)
+EMA(VAR2,12)/EMA(VOL,12)+EMA(VAR2,24)/EMA(VOL,24))/4,13);
VAR4:=EMA(CLOSE,9);
白线:1.06*VAR3,COLORWHITE;
黄线:VAR3*0.94,COLORYELLOW;
LUP:EMA(VAR4*1.14,5),COLORMAGENTA;
LDN:EMA(VAR4*0.86,5),COLORGREEN;
TEXT1:=CROSS(MA(C,5),MA(C,20));
TEXT2:=CROSS(MA(C,20),MA(C,5));
DRAWTEXT(TEXT1,MA(C,20),"上拐点");
DRAWTEXT(TEXT2,MA(C,20),"下拐点");
A:=C/REF(C,1)>1.09 AND C=H;
B:=REF(A,1) AND A AND L>REF(H,1);
妖股龙头:=B AND EXIST((C-REF(C,1))/REF(C,1)>0.098,10) AND C=HHV(C,100);
AAA:=(MA (CLOSE,13)+MA (CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88 ,MA (DDD,3),DDD);
妖股线:ZZZ*1.145,COLORBLUE,LINETHICK2;
VARA:=(LOW+HIGH+CLOSE)/3;
操作:=MA(VARA,5);
压力:HHV(操作,60),COLORFFFF00,LINETHICK2;
牛熊线:"AA引用.M181#WEEK",DOTLINE,COLORRED,LINETHICK2;
通达信妖股龙头选股指标:
A:=C/REF(C,1)>1.09 AND C=H;
B:REF(A,1) AND A AND L>REF(H,1) AND EXIST((C-REF(C,1))/REF(C,1)>0.098,10) AND C=HHV(C,100);