大智慧双向主动成交量指标公式

[复制链接]
查看111 | 回复0 | 2021-8-21 13:57:03 | 显示全部楼层 |阅读模式

n:= 5;s3:=20;g3:=11;p:=20;
成交量(手):VOL,POINTDOT;
换手:100*V/CAPITAL,COLORRED;
十日换手:ma(100*V/CAPITAL,10),COLORRED;
量比:(v-ref(v,1))/v;
量连线:ma(成交量(手),1);
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:ma(IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),n),POINTDOT,COLORRED;
主动卖盘:ma(IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),n),COLORGREEN;
STICKLINE(主动买盘>0,0,VOL,6,1),COLORWHITE;
STICKLINE(主动买盘>0,0,主动买盘,6,0),COLORRED;
STICKLINE(主动卖盘<0,0, 主动卖盘,6,0),COLORGREEN;
a:ma(主动买盘,8)*5,LINETHICK3,Colorred;
a3:=MA(主动买盘,11)*5;{Color1A16F5;}
{a1:MA(主动买盘,9)*5,Color2B02CC;
a2:MA(主动买盘,10)*5,Color1A00FB;
a4:MA(主动买盘,12)*5,Color5244FF;
a5:MA(主动买盘,13)*5,Color6053FF;
a6:MA(主动买盘,14)*5,Color8B88FF;
a7:MA(主动买盘,15)*5,ColorCBCAFF;
a8:MA(主动买盘,16)*5,ColorECECFF;}
{股旁网-股票公式网站 www.gupang.com}
b:MA(主动卖盘,8)*-5,LINETHICK3,Colorgreen;
b3:MA(主动卖盘,11)*-5,Color00C520;
{b1:MA(主动卖盘,9)*-5,Color007820;
b2:MA(主动卖盘,10)*-5,Color009C20;
b4:MA(主动卖盘,12)*-5,Color00E020;
b5:MA(主动卖盘,13)*-5,Color00FF20;
b6:MA(主动卖盘,14)*-5,Color63FF8E;
b7:MA(主动卖盘,15)*-5,Color93FFB4;
b8:MA(主动卖盘,16)*-5,ColorC1FFD8;}
买进:cross(a,b);
DRAWICON(买进 ,a*1.3,7 );
卖出:cross(b,a);
DRAWICON(卖出 ,a*1.3,8);
买进1:cross(量连线,a) and cross(量连线,b) and 量连线>b*1.2 ;
DRAWICON(买进1 ,量连线*1.1,7 );
STICKLINE(cross(a,a3) ,a*0.8 ,a*1.2,1 , 1),colorred;
STICKLINE(cross(a3,a) ,a*0.8 ,a*1.2,1 , 1),colorgreen;
FILLRGN( a,b,b<a,rgb(250,0,0),b>a,rgb(0,250,0));
快马:a3,colorwhite;
支点:ma((主动买盘+主动卖盘)/2,p)*50;

202108211258.jpg

202108211258.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则