AA:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
数值:(EMA(AA,3)-50)*2,COLORWHITE,LINETHICK2;
减:68,COLORFF85FF;
补:-68,COLORYELLOW;
清:90,COLORFFFF00,LINETHICK2,;
全:-90,COLORGREEN,LINETHICK2;
强弱线:0,COLORGREEN;
STICKLINE(DDX>0,0,DDX,1,0 ),COLOR0022CC;
STICKLINE(DDX<0,0,DDX,1,0 ),COLORFFFF00;
DDX1:=EMA(DDX,60)*20,COLOR00FFFF;
DDX2:=MA(DDX1,5),COLORFF00FF;
DDX3:MA(DDX1,7),COLOR00FF00,LINETHICK2;
DD1:=EMA(IF(L<= LLV(L,99),SMA(ABS(L-REF(L,1)),
99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*3,3)*5,COLORYELLOW;
DD2:=EMA(IF(L<= LLV(L,55),SMA(ABS(L-REF(L,1)),
55,1)/SMA(MAX(L-REF(L,1),0),55,1),0)*3,3)*5,COLORGREEN;
DD3:=EMA(IF(L<= LLV(L,25),SMA(ABS(L-REF(L,1)),
25,1)/SMA(MAX(L-REF(L,1),0),25,1),0)*3,3)*5,COLORMAGENTA;
D1:STICKLINE(DD3,DD3,0,5,-2),COLORMAGENTA;
D2:STICKLINE(DD2,DD2,0,5,-2),COLORGREEN;
D3:STICKLINE(DD1,DD1,0,3,-2),COLORYELLOW;
V1:=LLV(LOW,10);
V2:=HHV(H,25);
价位线:=EMA((C-V1)/(V2-V1)*4,4);
DRAWTEXT(CROSS(价位线,0.3),-70,'●进'),COLORRED;
DRAWTEXT(CROSS(3.5,价位线),72,'●逃'),COLORFFFFFF;