M1:=5;
M2:=10;
VOLUME:VOL,VOLSTICK;
MAVOL1:=MA(VOLUME,M1);
MAVOL2:=MA(VOLUME,M2);
倍量:V/REF(V,1)>=2 AND C-REF(C,1)>0;
DRAWTEXT(倍量,H,'倍'),COLORYELLOW;
缩倍量:V/REF(V,1)<=0.5;
DRAWTEXT(缩倍量,L,'半'),COLORYELLOW;
连跌AST(V<REF(V,1),2,1);
现量YNAINFO(8);
预量YNAINFO(8)*240/FROMOPEN;
STICKLINE(倍量,0,VOL,2,0),COLORYELLOW;{原宽度为8,改为2};
STICKLINE(缩倍量,0,VOL/2,2,0),COLORWHITE;{原宽度为8,改为2};
N:=50;
T:=DYNAINFO(8)>0;
OUT: V = LLV(V,N) AND T AND BARSCOUNT(CLOSE) >= N;
STICKLINE(OUT,0,VOL/2,2,0),COLORMAGENTA;{原宽度为8,改为2};
黄金柱:IF(REF(缩倍量,1) AND 倍量,1,0);
黄金柱2:IF(REF(倍量,1) AND 倍量,1,0);
黄金柱3:IF(REF(OUT,1) AND 倍量,1,0);
黄金选股:黄金柱 OR 黄金柱2 OR 黄金柱3; |