活筹指数和主买主卖叠加问题
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
选股票看什么指标最好 >股票指标网
更多金钻指标股票技术讨论QQ群:966329692 技术讨论QQ群:220302856 技术讨论QQ群:39652085 如群满可换一个
编写要求:
解答:
网友求助:
{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;
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(主动买盘,买卖差额));
主动买盘: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;
选股票看什么指标最好 >股票指标网
精彩评论