gspt1:=EMA(CLOSE,3)-EMA(CLOSE,8);
gspt2:=EMA(gspt1,5);
gspt3:=2*(gspt1-gspt2);
gspt4:=EMA(gspt1,5)*100;
gspt5:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*100;
gspt6:=IF(gspt5>0,gspt5,50);
gspt7:=IF(gspt5< 0,gspt5,50);
gspt8:=gspt5;
gspt9:=gspt4;
DRAWBAND(gspt8,RGB(200,0,200),gspt9,RGB(200,200,200));
STICKLINE(gspt5>0,0,gspt5,0.5,0),COLOR0000FF;
STICKLINE(gspt5< 0,0,gspt5,0.5,1),COLOR00FFFF;
DRAWTEXT_FIX(1,0.01,0.25,0,'公式平台,公式源码 http://www.gspt.com'),COLOR333333;
gspt10:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
gspt11:=SMA(SMA(gspt10,3,1),3,1);
gspt12:=EMA(gspt11,5);
gspt13:=VOL>=REF(V,1)*1.91 AND C>REF(C,1)*1.01;
gspt14:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
gspt15:=STICKLINE(gspt8< gspt9,0,-3,2,0);
gspt16:=STICKLINE(gspt8>gspt9,0,3,2,0);
币:gspt15,COLOR00FF00;
股:gspt16,COLOR0000FF;
底:STICKLINE(CROSS(gspt14,9),0,10,1.7,0),COLORFF00FF;
STICKLINE(CROSS(gspt14,9),10,20,1.5,0),COLOR00FFFF;
STICKLINE(CROSS(gspt14,9),20,30,1,0),COLOR0000FF;
DRAWTEXT(CROSS(gspt14,9),28,'底'),COLOR00FFFF;