大智慧双向资金指标公式

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

input:n(5,0,100);
资金净流:(BIGORDER(1,2) - BIGORDER(2,2)) *AMOUNT/100000000,PRECIS4,colorstick,colorwhite;
累计净流:ma(资金净流,n)*n,colorYELLOW,PRECIS4,LAYER1;
0,COLORBLACK;
资金流入:BIGORDER(1,2),PRECIS4,stick,color0000FF;
资金流出:-BIGORDER(2,2),PRECIS4,stick,color00FF00;
stickline(1,资金流出,资金流入,7,0),color000000;
stickline(1,资金流入,0,7,1),color000070;
stickline(1,资金流出,0,7,1),color005000;
0,COLORBLACK;
stickline(资金净流>0,资金净流,0,7,0),color00006F;
stickline(资金净流<0,资金净流,0,7,0),color006F00;
stickline(资金净流>0,资金净流/8*7,0,7,0),color00009F;
stickline(资金净流<0,资金净流/8*7,0,7,0),color009F00;
stickline(资金净流>0,资金净流/4*3,0,7,0),color0000CF;
stickline(资金净流<0,资金净流/4*3,0,7,0),color00CF00;
stickline(资金净流>0,资金净流/2,0,7,0),color0000Ff;
stickline(资金净流<0,资金净流/2,0,7,0),color00Ff00;
stickline(资金净流>0,资金净流,资金净流,7,0),color0000FF;
stickline(资金净流<0,资金净流,资金净流,7,0),color00FF00;

202108211156.jpg

202108211156.jpg

 

回复

使用道具 举报

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

本版积分规则