{ 通达信彗华量副图源码带有使用说明 }
{彗华量}
彗华量副图,带有使用说明
虚 : IF((CURRBARSCOUNT = 1) AND (PERIOD = 5),(VOL * 240) / FROMOPEN,DRAWNULL),NODRAW;
STICKLINE((CURRBARSCOUNT = 1) AND (PERIOD = 5),虚,0,-1,-1),COLOR00C0C0;
实 : VOL,VOLSTICK;
V5 : MA(实,5);
V10 : MA(实,10),COLORYELLOW;
V60 : MA(实,60),COLORMAGENTA;
VAR0 := REF(C,1);
VAR1 := (VOL < (MA(VOL,60) / 3)) OR (VOL < (CAPITAL * 0.005));
STICKLINE((((C > OPEN) AND (REF(C,1) < REF(OPEN,1))) AND (HIGH < REF(OPEN,1))) AND (C < (((REF(OPEN,1) - REF(C,1)) / 2) + REF(C,1))),VOL,0,0.57,0),COLORGREEN;
STICKLINE(((OPEN > C) AND (C > REF(C,1))) AND (REF(C,1) >= REF(OPEN,1)),VOL,0,0.57,0),COLORRED;
今夕比 : 实 / REF(实,1),COLORYELLOW;
季量比 : 实 / MA(VOL,60),COLORMAGENTA;
量本比 : (10000 * VOL) / FINANCE(7);
买卖比 : DYNAINFO(23) / DYNAINFO(22);
百低比 : VOL / LLV(VOL,100),NODRAW;
月涨幅 : ((C - REF(C,20)) / REF(C,20)) * 100;
VAR2 := 1 * AMOUNT;
VAR3 := HHV(VAR2,10) = VAR2;
VAR4 := HHV(VAR2,30) = VAR2;
VAR5 := HHV(VAR2,60) = VAR2;
VAR6 := HHV(VAR2,100) = VAR2;
VAR7 := HHV(VAR2,250) = VAR2;
VAR8 := (((((VAR3 OR VAR4) OR VAR5) OR VAR6) OR VAR7) AND ((CAPITAL / 1000000) <= 35)) AND (C > REF(C,1));
STICKLINE(VAR8,VOL,(VOL * 2) / 3,1.97,0),COLORYELLOW;
VAR9 := ((LOW >= REF(LOW,3)) AND (REF(LOW,1) >= REF(LOW,3))) AND (REF(LOW,2) >= REF(LOW,3));
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);
VAR11 := ((((((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))) AND (REF(VOL,4) >= REF(VOL,5))) AND (REF(VOL,5) >= REF(VOL,6))) AND (VOL > 0);
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,VOL,0,1.87,0),COLORYELLOW;
STICKLINE(VAR9 AND (VAR10 OR VAR11),VOL,0,0.57,0),COLORBLUE;
STICKLINE(VAR12 AND (VAR10 OR VAR11),VOL,0,1.87,0),COLORYELLOW;
STICKLINE(VOL < ((MA(VOL,60) * 1) / 3),VOL,0,1.17,0),COLORMAGENTA;
VAR13 := (((OPEN - C) / OPEN) >= 0.04) AND ((((VOL / MA(VOL,60)) <= (2 / 3)) OR ((VOL / REF(VOL,1)) <= 1.15)) OR (VOL < HHV(VOL,5)));
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)) > 1.95) AND ((VOL / REF(VOL,1)) <= 2.02)) AND ((C > OPEN) OR ((C < OPEN) AND (C >= REF(C,1)))),0,41);
DRAWICON(((VOL / REF(VOL,1)) <= 0.51) AND (HIGH > LOW),VOL * 0.87,2);
DRAWICON(((VOL / REF(VOL,1)) >= 0.97) AND ((VOL / REF(VOL,1)) <= 1.03),VOL,15);
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);
DRAWICON((((VOL < REF(VOL,1)) AND (REF(VOL,1) < REF(VOL,2))) AND (REF(VOL,2) < REF(VOL,3))) AND (HIGH > LOW),VOL * 0.89,12);
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));
VAR15 := ((REF(VOL,5) / VOL) >= 0.97) AND ((REF(VOL,5) / VOL) <= 1.03);
VAR16 := ((REF(VOL,4) / VOL) >= 0.97) AND ((REF(VOL,4) / VOL) <= 1.03);
DRAWICON((VAR14 AND VAR15) OR (VAR14 AND VAR16),VOL * 1.0078,15);
DRAWICON((VAR14 AND VAR15) OR (VAR14 AND VAR16),VOL * 1.0058,15);
DRAWICON((((OPEN - C) / OPEN) >= 0.04) AND ((((VOL / MA(VOL,60)) <= (2 / 3)) OR ((VOL / REF(VOL,1)) <= 1.15)) OR (VOL < HHV(VOL,5))),VOL * 1.0158,39);
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(VAR11 AND (VAR9 OR VAR12),VOL * 1.05,18);
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((VOL < REF(LLV(VOL,100),1)) AND (HIGH > LOW),VOL * 1.0359,23);
DRAWICON((COUNT(VAR13,3) AND (VOL < REF(LLV(VOL,20),1))) AND (HIGH > LOW),VOL * 1.095,17);
标签:VAR2,VOL,REF,彗华量,DRAWICON,通达信,源码,LOW,OPEN From: https://www.cnblogs.com/zhibiao/p/18063715