九毛八公式指标
源码如下: input:n1(5,0,100); a:=((BIGORDER(1,2) - BIGORDER(2,2)) *AMOUNT/10000) ; STICKLINE(a>0,0,a,6,0 ),COLORred; STICKLINE(a<0,0,a,6,0 ),COLORgreen; 当日资金净流:a,precis4,linethick0; 请改成:视图范围内,每日资金流加减汇总,总和数值显示在画面上.当视图范围发生变化时,总和数值相应变化。
公式模块:
a:=((BIGORDER(1,2) - BIGORDER(2,2)) *AMOUNT/10000);
B:=SUM(A,BArslAST(DISPSTATUS=1)); STICKLINE(a>0,0,a,6,0 ),COLORred; STICKLINE(a<0,0,a,6,0 ),COLORgreen; 当日资金净流:a,precis4,linethick0; 视图资金:B,COLORYELLOW; PARTLINE(B,B<=REF(B,1)),COLORBLUE;