大智慧双向资金指标公式

大智慧双向资金指标公式:
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;