通达信多空能量好东西 不解释自己悟源码奉上(指标、幅图贴图)

[复制链接]
查看193 | 回复0 | 2021-8-20 11:05:38 | 显示全部楼层 |阅读模式

以下是通达信多空能量好东西 不解释自己悟源码奉上(指标、幅图贴图)(无源码的请下载附件导入)

多看看 启动前的变化 小小的提示 自己悟到的 才是自己的


 

{多空能量}

CB:=IF(CAPITAL>1,AMOUNT/VOL/100,(HIGH+LOW+2*CLOSE)/4);

空1:=IF((HIGH-LOW)>0 AND CLOSE>CB, ((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CLOSE)/(HIGH-CB))*((HIGH-CB)/(HIGH-LOW)*VOL),0);

多1:=IF((HIGH-LOW)>0 AND CLOSE>CB, VOL-空1 ,0);

多2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, ((CLOSE-LOW)/(CB-LOW))*((CLOSE-LOW)/(CB-LOW))*((CB-LOW)/(HIGH-LOW)*VOL),0);

空2:=IF((HIGH-LOW)>0 AND CLOSE<=CB, VOL-多2 ,0);

多3:=IF((HIGH-LOW)=0 AND CLOSE>REF(CLOSE,1), VOL,0);

空3:=IF((HIGH-LOW)=0 AND CLOSE<=REF(CLOSE,1), VOL,0);

多方量:=多1+多2+多3,NODRAW,COLORRED;

空方量:=空1+空2+空3,NODRAW,COLORGREEN;

多空相抵:=多方量-空方量,NODRAW;

MS:=SUM(多空相抵,5);

M20:=EMA(SLOPE(MS,21)*20+MS,55)*1,COLORYELLOW,LINETHICK3;

M20B:=MA(M20,5),COLORLIMAGENTA,LINETHICK3;

DRAWBAND(M20,RGB(90,0,0),M20B,RGB(0,20,0));

STICKLINE(多空相抵>0,多空相抵,0,2,0),COLORMAGENTA;

STICKLINE(多空相抵<0,0,ABS(多空相抵),2,0),COLORGREEN;

STICKLINE(CURRBARSCOUNT<6,MS,REF(MS,1),2,1),COLORRED;

STICKLINE(CURRBARSCOUNT<6 AND MS<REF(MS,1),MS,REF(MS,1),2,0),COLORCYAN;

STICKLINE(CURRBARSCOUNT<6 AND MS>=M20,MS,REF(MS,1),2,0),COLORYELLOW;

63122045.png

63122045.png

63244255.jpg

63244255.jpg

回复

使用道具 举报

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

本版积分规则