Hqz:=STRFIND(STKLABEL,'580',1)=1;
SQZ:=STRFIND(STKLABEL,'031',1)=1;
N:=if(HQZ>0 OR SQZ>0,0.001,0.01);
M:=if(HQZ>0 OR SQZ>0,2*0.0003,2*0.0003+0.001);
DRAWTEXTABS(10,105,'【需 '+NUMTOSTR( CEILING( DYNAINFO(7)*M*(1/N)))+' 个价位, '+'每个价位盈利 '+NUMTOSTR(25000/DYNAINFO(7)*N)+' 元】 '+NUMTOSTR(N)),COLORYELLOW;
VERTLINE(HOUR=15,2),colorbrown;
MA1:EMA(CLOSE,4);
N:=20;
N1:=7;
N2:=60;
T1:=IF((DATE<=1341231),1,0);
M3:=EMA(CLOSE,3);
M8:EMA(CLOSE,5),CoLor008000;
M26:MA(M8,10),CoLor0000FF;
M62:=EMA(M8,47){,CoLorF0F000};
VAR1:=EMA(M26,60);
M81:EMA(M62,89){,CoLor00FFFF};
M144:=EMA(VAR1,125){,Linethick2,CoLor0000FF};
M250:=EMA(VAR1,250){,POINTDOT,Linethick2,CoLorF00FF0};
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(MA(VAR2,8))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),CoLor00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR*............附件里有完整的源码