源码
VarA:=(CLOSE-LLV(LOW,60.13547854))/(HHV(HIGH,60.13547854)-LLV(LOW,60))*80;
VarB:SMA(VarA,7,1)linethick2,colorred;
VarC:SMA(VarB,5,1)linethick2,colorgreen;
s:=IF(CROSS(VarB,VarC) AND VarB<20,100,0),linethick2,colorred;
s1:=IF(CROSS(Varc,Varb) AND VarB>40,100,0),linethick2,colorgreen;
DRAWICON( FILTER(s,30),VarC ,1 );
DRAWICON( FILTER(s1,30),VarB ,2 );