通达信筹码吸吐量副图指标 源码 测试图

[复制链接]
查看45 | 回复0 | 2022-7-11 09:36:23 | 显示全部楼层 |阅读模式
通达信筹码吸吐量副图指标 源码 测试图

{公式名称: 筹码}
VAR1:=(2*OPEN+HIGH+LOW+3*CLOSE)/7;
VAR2:=CAPITAL*VAR1;
VAR3:=SMA(AMOUNT,10,1)/1000;
VAR4:=MA(CLOSE*3,5);
VAR5:=VAR3*CLOSE*3/VAR4*1/10;
VAR6:=VAR3*OPEN*3/VAR4*1/10;
VAR7:=VAR3*HIGH*3/VAR4*1/10;
VAR8:=VAR3*LOW*3/VAR4*1/10;
VAR9:=(2*VAR6+VAR7+VAR8+3*VAR5)/7;
VAR10:=DMA(EMA(VAR5,2),SUM(VOL,1)*VAR9);
VAR11:=EMA(VAR10,2);
VAR12:=VAR10>VAR11;
VAR13:=EMA(VAR2-VAR10,1);
VAR14:=REF(VAR13,1);
VAR15:=VAR13>VAR14;
VAR16:=VAR15 AND CLOSE>OPEN;
VAR17:=(VAR13-VAR14)*15;
VAR18:=(VAR10-VAR11)*15000;
VAR19:=(VAR14-VAR13)*(-1);
VAR20:=IF(VAR13>VAR14,VAR17/1000,0);
VAR21:=IF(VAR13<VAR14,VAR17/1000,0);
VAR22:=IF(VAR12 AND VAR16,VAR18/10000,0);
VAR23:=IF(VAR12 AND VAR13<VAR14,VAR17/1000,0);
吸进量:VAR20,POINTDOT,COLORMAGENTA;
吐出量:VAR21,POINTDOT,COLOR10FF10;
买进强烈:VAR22,POINTDOT,COLOR10FFFF;
减筹打压:VAR23,POINTDOT,COLORFFF516;
STICKLINE(VAR13>VAR14,0,VAR17,3,1),COLORMAGENTA;
STICKLINE(VAR13<VAR14,0,VAR17,3,0),COLOR10FF10;
STICKLINE(VAR12 AND VAR16,0,VAR18,3,0),COLOR10FFFF;
STICKLINE(VAR12 AND VAR13<VAR14,0,VAR17,3,0),COLORFFF516;

20219139481917447.png

20219139481917447.png


20219139482265742.png

20219139482265742.png

20219139485077441.rar

2.21 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

20219139485077441.rar

回复

使用道具 举报

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

本版积分规则