gspt1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
gspt2:=SMA(gspt1,3,1);
90;
0;
ZX:SMA(gspt2,3,1);
CD:SMA(ZX,3,1);
gspt3:=CROSS(ZX,CD) AND ZX<20;
gspt4:=CROSS(CD,ZX) AND ZX>80;
gspt5:=MA(CLOSE,1);
gspt6:=(LOW+HIGH+CLOSE)/3;
gspt7:=MA(gspt6,5);
gspt8:=LLV(gspt7,10);
gspt9:=LLV((gspt5<gspt8),10);
gspt10:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
gspt11:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
gspt12:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
gspt26:=(gspt10+2*gspt11+3*gspt12)/7;
gspt28:=MA(gspt26,1);
DRAWTEXT(FILTER(gspt3,10)=1,40,'抄底'),LINETHICK3;
STICKLINE(FILTER(gspt3,10)=1,0,30,10,0),COLORGREEN;
STICKLINE(FILTER(gspt4,5)=1,80,100,10,0),COLORYELLOW;
DRAWTEXT_FIX(C>O,0,0.2,0,'公式平台http://www.gspt.com'),COLOR222222;
DRAWTEXT(FILTER(gspt4,5)=1,70,'逃顶'),LINETHICK3,COLORYELLOW;
STICKLINE(gspt9,0,50,3,0),COLORRED;
STICKLINE(gspt28<=-8,20,0,2,0),COLORBLUE;