通達信量價王道指標公式
TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,240,1)))));
MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME
VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 && (SETCODE=0 || SETCODE=1),VVOL,0,-1,-1),COLOR00C0C0;
VOLUME:VOL,VOLSTICK;M5:MA(VOL,5),COLORWHITE;
M10:MA(VOL,10),COLORYELLOW;
M20:MA(VOL,20),COLORCYAN;
M60:MA(VOL,60),COLORRED,LINETHICK2;
量能飽和:(AMOUNT/CLOSE)/HHV((AMOUNT/CLOSE),26)*100,COLORRED,NODRAW;
VOLT : VOL,VOLSTICK;
VAR0 := VOLT > (REF(VOLT,1) * 2);
VAR1 := LLV(VOLT,5);
VAR2 := HHV(VOLT,5);
VAR3 := LLV(VOLT,250);
VAR4 := HHV(VOLT,250);
VAR5 := LLV(VOLT,120);
VAR6 := HHV(VOLT,120);
MA1:MA(VOLT,5),COLORWHITE;
MA2:MA(VOLT,30),COLORGREEN;
MA3:MA(VOLT,120),COLORBLUE;
VAR7 := ((((((((VAR1 + VAR2) + VAR3) + VAR4) + VAR5) + VAR6) + MA(VOLT,5))
+ MA(VOLT,250)) + MA(VOLT,120)) / 9;
VAR8 := ((VOL > VAR7) AND (VOL > MA(VOL,120))) AND (C > MA(C,20));
VAR9 := (REF(VAR8,1) AND (C = OPEN)) AND (C > (REF(C,1) * 1.098));
VAR10 := (REF(VAR9,1) AND (C = OPEN)) AND (C > (REF(C,1) * 1.098));
量王 : (VAR8 OR VAR9) OR VAR10;
VAR11 := VAR0;
STICKLINE(VAR11,0,VOL,3,0),COLORMAGENTA;
STICKLINE(量王,0,VOL,3,0),COLORRED;