动态买卖指标-精品通达信指标公式源码分享
VAR0:=VOL/CLOSE/2;
VAR1:=SUM(IF(VAR0 > 100 AND CLOSE > REF(CLOSE,1),VAR0,0),0);
VAR2:=SUM(IF(VAR0 > 100 AND CLOSE < REF(CLOSE,1),VAR0,0),0);
VAR3:=SUM(IF(VAR0 < 100 AND CLOSE > REF(CLOSE,1),VAR0,0),0);
VAR4:=SUM(IF(VAR0 < 100 AND CLOSE < REF(CLOSE,1),VAR0,0),0);
VAR5:=VAR1 + VAR2 + VAR3 + VAR4;
VAR6:=IF(CURRBARSCOUNT,100 * VAR1/VAR5,0);
VAR7:=IF(CURRBARSCOUNT,100 * VAR2/VAR5,0);
VAR8:=IF(CURRBARSCOUNT,100 * VAR3/VAR5,0);
VAR9:=IF(CURRBARSCOUNT,100 * VAR4/VAR5,0);
机构买盘:VAR1,LINETHICK2,COLORFF55FF;
机构卖盘:VAR2,LINETHICK2,COLORFFFF55;
散户买盘:VAR3,COLOR5555FF;
散户卖盘:VAR4 * IF(DATE < 1091212,1,100000000),COLOR55FF55;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!