分时有庄(源码 分时主图 通达信)
VAR135:=EMA(EMA(CLOSE,13),13);
VAR136:=(VAR135 - REF(VAR135,1))/REF(VAR135,1) * 1000;
VAR144:=DYNAINFO(11);
VAR145:=55;
VAR146:=8;
VAR147:=3;
VAR148:=(EMA(CLOSE,VAR146) - EMA(CLOSE,VAR145)) * 10;
VAR149:=EMA(VAR148,VAR147);
VAR150:=(CLOSE - VAR144)/VAR144 -0.005;
VAR151:=(CLOSE - VAR144)/VAR144 -0.03;
VAR155:=VAR136 REF(VAR136,1) AND VAR136 -0.2;
VAR157:=CROSS(VAR148,VAR149) AND VAR148 -0.3;
VAR162:=FILTER(VAR151 AND VAR155 AND VAR157,13);
DRAWTEXT(VAR162 AND TIME 1440,CLOSE,'★庄'),LINETHICK5,COLORMAGENTA;
VAR165:=HHVBARS(CLOSE,60);
突破:FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10),LINETHICK0,POINTDOT;
STICKLINE(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.002) AND REF(VAR165 = 5,1),10),CLOSE * 0.98,CLOSE,10,0),COLORF600A9;
DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10) 0,0)=1 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10) AND TIME 1435,CLOSE * 0.99,'★买'),COLORRED,LINETHICK3;
DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10) 0,0)=2 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10),CLOSE * 0.99,'次买'),COLOR0099FF,LINETHICK3;
DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10) 0,0)=3 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10),CLOSE * 0.99,'注意'),COLORYELLOW,LINETHICK3;
{DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10) 0,0)=4 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10),CLOSE * 0.99,'最后买'),COLORFFFF00,LINETHICK3;}
DRAWTEXT(SUM(FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10) 0,0) = 5 AND FILTER(CROSS(CLOSE,REF(REF(CLOSE,VAR165),1) * 1.001) AND REF(VAR165 = 5,1),10),CLOSE * 0.99,'卖'),COLORGREEN,LINETHICK3;