2019417848761724.png
VAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=SMA(VAR3,3,1);
波: VAR3;
段: VAR4;
VAR6:=CROSS(VAR3,VAR4) AND VAR3<20;
DRAWTEXT(FILTER(VAR6,10)=1,-10,'抄底'),LINETHICK3 , ;
买入:CROSS(VAR3,VAR4) AND VAR3<20,COLORFFBBFF;
STICKLINE(买入=1,20,30,5,0),COLORYELLOW;
DRAWTEXT(买入=1,40,'买'),COLORYELLOW;
STICKLINE(FILTER(VAR6,10)=1,0,10,5,0),COLORGREEN , ;
VAR7:=CROSS(VAR4,VAR3) AND VAR3>80;
卖出:CROSS(VAR4,VAR3) AND VAR3>80,COLORRED;
STICKLINE(卖出=1,70,80,5,1),COLORRED;
DRAWTEXT(卖出=1,60,'卖'),COLORRED;
STICKLINE(FILTER(VAR7,5)=1,90,100,5,0),COLORYELLOW , ;
DRAWTEXT(FILTER(VAR7,5)=1,110,'逃顶'),LINETHICK3 ,COLORYELLOW, ;
VAR8:=CROSS(VAR2,VAR3) AND VAR3>80 AND VAR3>VAR4;
STICKLINE(VAR8,90,100,4,0), , ;
100;
120;
0;
-20; |