九毛八公式指标
公式模块:
{0AMV活筹指数}
Var1:=AMOUNT/1000000;
Var2:=SMA(Var1,10,1);
Var3:=REF(Var2,1);
STICKLINE(Var2>Var3,Var2,Var3,7,0),colorred;
STICKLINE(Var2<Var3,Var2,Var3,7,0),colorgreen;
VARk:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:IF(CLOSE>OPEN,VARk*(HIGH-LOW),IF(CLOSE<OPEN,VARk*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLOR0000FF,linethick0;
主动卖盘:IF(CLOSE>OPEN,VARk*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VARk*(HIGH-LOW),VOL/2)),COLORFFff00,linethick0;
买卖差额:主动买盘-主动卖盘,precis2,COLOR2DFFFF,linethick0;
STICKLINE((主动买盘> 0),0,主动买盘,8,0),colorred;
STICKLINE((主动卖盘> 0),0,主动卖盘,8,0),color00FF00;
dd:=hhvall(max(主动买盘,买卖差额));
Var1:=AMOUNT/1000000;
dVar2:=SMA(Var1,10,1);
Var2:=(dVar2-llvall(dVar2))/(hhvall(dVar2)-llvall(dVar2))*dd;
Var3:=REF(Var2,1);
STICKLINE(Var2>Var3,Var2+dd,Var3+dd,7,0),colorred;
STICKLINE(Var2<Var3,Var2+dd,Var3+dd,7,0),colorgreen;