通达信彗华量副图源码带有使用说明
{彗华量}
彗华量副图,带有使用说明
STICKLINE((CURRBARSCOUNT = 1) AND (PERIOD = 5),虚,0,-1,-1),COLOR00C0C0;
V5 : MA(实,5);
V60 : MA(实,60),COLORMAGENTA;
VAR1 := (VOL < (MA(VOL,60) / 3)) OR (VOL < (CAPITAL * 0.005));
STICKLINE(((OPEN > C) AND (C > REF(C,1))) AND (REF(C,1) >= REF(OPEN,1)),VOL,0,0.57,0),COLORRED;
季量比 : 实 / MA(VOL,60),COLORMAGENTA;
买卖比 : DYNAINFO(23) / DYNAINFO(22);
月涨幅 : ((C - REF(C,20)) / REF(C,20)) * 100;
VAR3 := HHV(VAR2,10) = VAR2;
VAR5 := HHV(VAR2,60) = VAR2;
VAR7 := HHV(VAR2,250) = VAR2;
STICKLINE(VAR8,VOL,(VOL * 2) / 3,1.97,0),COLORYELLOW;
VAR10 := (((VOL < REF(VOL,1)) AND (REF(VOL,1) < REF(VOL,2))) AND (REF(VOL,2) < REF(VOL,3))) AND ((REF(VOL,3) / REF(VOL,4)) >= 2);
VAR12 := (((C > REF(C,1)) AND (REF(C,1) > REF(C,2))) AND (REF(C,2) > REF(C,3))) AND (REF(C,3) > REF(OPEN,3));
STICKLINE(VAR9 AND (VAR10 OR VAR11),VOL,0,0.57,0),COLORBLUE;
STICKLINE(VOL < ((MA(VOL,60) * 1) / 3),VOL,0,1.17,0),COLORMAGENTA;
DRAWICON((((VOL / REF(VOL,1)) > 1.95) AND ((VOL / REF(VOL,1)) <= 6)) AND ((C > OPEN) OR ((C < OPEN) AND (C >= REF(C,1)))),VOL * 1.0027,1);
DRAWICON(((VOL / REF(VOL,1)) <= 0.51) AND (HIGH > LOW),VOL * 0.87,2);
DRAWICON((((VOL > REF(VOL,1)) AND (REF(VOL,1) > REF(VOL,2))) AND (REF(VOL,2) > REF(VOL,3))) AND (C > OPEN),VOL * 0.937,11);
VAR14 := (((REF(VOL,5) > REF(VOL,4)) AND (REF(VOL,4) > REF(VOL,3))) AND (REF(VOL,3) > REF(VOL,2))) AND (REF(VOL,2) > REF(VOL,1));
VAR16 := ((REF(VOL,4) / VOL) >= 0.97) AND ((REF(VOL,4) / VOL) <= 1.03);
DRAWICON((VAR14 AND VAR15) OR (VAR14 AND VAR16),VOL * 1.0058,15);
DRAWICON(((((C - REF(C,1)) / REF(C,1)) >= 0.04) AND (((VOL <= MA(VOL,60)) OR ((VOL / REF(VOL,1)) <= 1.2)) OR (VOL < HHV(VOL,5)))) AND (HIGH > LOW),VOL * 1.0159,38);
DRAWICON((((LLV(LOW,3) > REF(LOW,3)) AND (HHV(VOL,3) < REF(VOL,3))) AND (REF(C,3) > REF(OPEN,3))) AND (REF(VOL,3) > (2 * REF(VOL,4))),0,10);
DRAWICON((COUNT(VAR13,3) AND (VOL < REF(LLV(VOL,20),1))) AND (HIGH > LOW),VOL * 1.095,17);