GSPT1:=REF(HHV(HIGH,150),3);
GSPT2:=REF(LLV(LOW,150),3);
GSPT3:=GSPT1-(GSPT1-GSPT2)*0.921;
GSPT4:=MA(HIGH,3);
地平线:REFDATE(GSPT3,DATE),COLORFFCC00,DOTLINE;
日线1:MA(LOW,3),COLORGREEN,LINETHICK1;
日线2:EMA(CLOSE,57),COLORYELLOW,DOTLINE;
GSPT18:=EMA(日线2,20);
GSPT19:=IF(REF(CLOSE,1)*1.1-CLOSE<0.01,1,0);
日线5:EMA(GSPT18,5),COLORFF66FF,DOTLINE;
白虚线:EMA(日线1,4),COLOR999999,DOTLINE;
起落线:(日线2+日线5)/2,COLORWHITE,LINETHICK1;
IF(起落线>=REF(起落线,1),起落线,DRAWNULL),COLORRED,LINETHICK2;
IF(起落线<=REF(起落线,1),起落线,DRAWNULL),COLORBLUE,LINETHICK2;
STICKLINE(CROSS(GSPT4,日线2),HIGH,LOW,2.5,1),COLOR66EEEE;
STICKLINE(CROSS(GSPT4,日线2),HIGH,LOW,1.3,0),COLORFF00FF;
STICKLINE(GSPT19,OPEN,CLOSE,3,1),COLORWHITE;
STICKLINE(GSPT19,OPEN,CLOSE,2,0),COLOR0066FF;