GSPT1:=LLV(LOW,35);
GSPT2:=HHV(HIGH,30);
GSPT3:=EMA((CLOSE-GSPT1)/(GSPT2-GSPT1)*4,4)*25;
GSPT4:=(2*CLOSE+HIGH+LOW)/4;
GSPT5:=LLV(LOW,30);
GSPT6:=HHV(HIGH,30);
GSPT7:=EMA((GSPT4-GSPT5)/(GSPT6-GSPT5)*100,8);
GSPT8:=EMA(GSPT7,5);
GSPT9:=(2*CLOSE+HIGH+LOW)/4;
GSPT10:=LLV(LOW,21);
GSPT16:=HHV(HIGH,34);
GSPT18:=EMA((GSPT9-GSPT10)/(GSPT16-GSPT10)*100,13);
DRAWTEXT_FIX(C>O,0,0.2,0,'公式平台 公式源码 http://www.gspt.com'),COLOR333333;
STICKLINE(GSPT3<10 AND 100*(HHV(H,14)-C)/(HHV(H,14)-LLV(L,14))>97,0,25,0,0),COLORYELLOW;
STICKLINE(GSPT3>90,100,85,0,0),COLORRED;
STICKLINE(GSPT7>0 AND GSPT7-GSPT8>=0,79,80,0,0),COLORWHITE;
STICKLINE(GSPT7>0 AND GSPT7-GSPT8<0,79,80,0,0),COLORCYAN;
STICKLINE(GSPT7>0 AND GSPT7-GSPT8>=0,49,50,0,0),COLORRED;
STICKLINE(GSPT7>0 AND GSPT7-GSPT8<0,49,50,0,0),COLORRED;
STICKLINE(GSPT7>0 AND GSPT7-GSPT8>=0,19,20,0,0),COLORWHITE;
STICKLINE(GSPT7>0 AND GSPT7-GSPT8<0,19,20,0,0),COLORCYAN;
STICKLINE(GSPT7-GSPT8>0,GSPT7,GSPT8,1,0),COLORRED;
STICKLINE(GSPT7-GSPT8<0,GSPT7,GSPT8,1,0),COLORWHITE;
ZLX:EMA(0.382*REF(GSPT18,2)+0.618*GSPT18,12),COLORYELLOW;
DRAWICON(CROSS(GSPT7,ZLX),ZLX,9);