gspt01:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
gspt02:=SMA(gspt01,3,1);
gspt03:=SMA(gspt02,3,1);
gspt04:=3*gspt02 - 2*gspt03;
DRAWGBK(gspt04>80,RGB(15,10,155),RGB(10,25,20),0,'',0);
gspt05:=C/REF(C,1)>1.095 AND H=C;
gspt06:=AMOUNT<880000000;
gspt07:MA(C,5);
gspt08:MA(C,13)COLORMAGENTA;
M:=55;
N:=34;
VOLUME:=VOL,NODRAW;
VA8:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
gspt09:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA8),0);
gspt10:=EMA(gspt09,3)-MA(gspt09,9);
gspt11:=EMA(IF(gspt10>0,gspt10,0),3);
gspt12:=MA(C,3);
gspt13:=gspt11>REF(gspt11,1) AND gspt12>REF(gspt12,1);
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
gspt14:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
gspt15:=EMA(gspt14,3)-MA(gspt14,9);
gspt16:=EMA(IF(gspt15>0,gspt15,0),3);
gspt17:=MA(C,3);
gspt18:=gspt16,NODRAW,COLOR00FFFF;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;
gspt19:=MACD>0;
STICKLINE(gspt16>REF(gspt16,1) AND gspt17>REF(gspt17,1) AND gspt19,OPEN,CLOSE,2,0),COLORYELLOW;
gspt20:=BARSLASTCOUNT(gspt16>REF(gspt16,1) AND gspt17>REF(gspt17,1) AND gspt19)=1;
TT:=1;
gspt21:=STRCAT(STRCAT('总收入同比增长:',CON2STR(FINANCE(44),2)),'% ');
gspt22:=STRCAT(gspt21,STRCAT(STRCAT('净利润同比增长:',CON2STR(FINANCE(43),2)),'% '));
gspt23:=STRCAT(gspt22,STRCAT(STRCAT('资产负债率:',CON2STR(FINANCE(9),2)),'% '));
gspt24:=STRCAT(gspt23,STRCAT(STRCAT('每股现金流:',CON2STR(FINANCE(25)/FINANCE(1),2)),'元'));
DRAWTEXT_FIX(ISLASTBAR,0.001,0.00,0,STRCAT(gspt24,0)),COLORFFFF00;
gspt25:=STRCAT(DYBLOCK,' ');
gspt26:=STRCAT(gspt25,STRCAT(HYBLOCK,' '));
gspt27:=STRCAT(gspt26,STRCAT(DYBLOCK,' '));
gspt28:=STRCAT(gspt27,STRCAT(GNBLOCK,' '));
DRAWTEXT_FIX(ISLASTBAR,0.001,0.06,0,STRCAT(gspt28,0)),COLOR0000FF;
HLC:=REF(EMA((HIGH+LOW+CLOSE)/3,10),1);
HV:=EMA(HHV(HIGH,10),3);
LV:=EMA(LLV(LOW,10),3);
gspt29:=EMA(HLC*2 - LV,8)*TT,LINETHICK2,COLOR008080;
IF(C>=REF(gspt29,1),gspt29,DRAWNULL),LINETHICK2,COLORFF00FF;
IF(C<=REF(gspt29,1),gspt29,DRAWNULL),LINETHICK2,COLOR808000;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
gspt30:=(C/REF(C,1)-1)*100>7;
gspt31:=O< gspt29 AND C>gspt29 AND gspt30 ;
STICKLINE(gspt31,O,C,4,0),COLORFFA500;
STICKLINE(C>O,C,O,4,0),COLORFF0000;
STICKLINE(C>O,C,O,3.8,0),COLORFF1100;
STICKLINE(C>O,C,O,3.6,0),COLORFF2200;
STICKLINE(C>O,C,O,3.2,0),COLORFF3300;
STICKLINE(C>O,C,O,3.1,0),COLORFF4400;
STICKLINE(C>O,C,O,2.8,0),COLORFF5500;
STICKLINE(C>O,C,O,2.5,0),COLORFF6600;
STICKLINE(C>O,C,O,2.1,0),COLORFF7700;
STICKLINE(C>O,C,O,1.7,0),COLORFF8800;
STICKLINE(C>O,C,O,1.2,0),COLORFF9900;
STICKLINE(C>O,C,O,0.7,0),COLORFFAA00;
STICKLINE(C>O,C,O,0.2,0),COLORFFBB00;
STICKLINE(C>O,C,O,0.05,0),COLORFFCC00;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,4,0),COLORFFDD00;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,4,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.8,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.6,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.2,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,3.1,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,2.8,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,2.5,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,2.1,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,1.7,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,1.2,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,0.7,0),COLORRED;
STICKLINE(C=O OR (C + 0.005-REF(C,1))/REF(C,1)*100>=10,C,O,0.05,0),COLORRED;
DRAWTEXT_FIX(1,0.980,20,1,'公式平台,公式源码 http://www.gspt.com'),COLOR333333;
DRAWICON(gspt20 AND gspt05 AND gspt06,L,9);
DRAWTEXT(gspt20 AND gspt05 AND gspt06,H*1.0197,' ★主力进场'),COLORYELLOW;
STICKLINE(C< O,C,O,0.2,0),COLOR00BBFF;
STICKLINE(C< O,C,O,0.05,0),COLOR00CCFF;
gspt32: MA(C,5), COLORWHITE;
gspt33: MA(C,10), COLORYELLOW;
gspt34: MA(C,60), COLORGREEN;