N1:=5;
N2:=20;
N3:=60;
K:=3;
Lb=V/REF(MA(vol,5),1);
量比:Lb;
超倍量=BETWEEN(lb,5,50);
加倍量=BETWEEN(lb,3,5);
倍量=BETWEEN(lb,2,3);
IF (K<=0)
RETURN 0;
MAVOL$1:MA(VOL,N1);
IF (k<=1)
RETURN 0;
MAVOL$2:MA(VOL,N2);
IF (k<=2)
RETURN 0;
MAVOL$3:MA(VOL,N3);
STICKLINE(CLOSE<O OR (CLOSE==OPEN AND CLOSE<CLOSE[1]),0,VOL,8,0),colorligreen;
STICKLINE(CLOSE>O OR (CLOSE == OPEN AND CLOSE>=CLOSE[1]),0,VOL,8,1),colorred;
STICKLINE(超倍量,0,VOL,12,0),coloryellow;
STICKLINE(加倍量,0,VOL,8,0),colormagenta;
STICKLINE(倍量,0,VOL,8,0),color00aaff;