资金趋势(通达信公式 副图 源码 测试图)

[复制链接]
查看61 | 回复0 | 2022-6-27 15:06:51 | 显示全部楼层 |阅读模式

 资金趋势

ZYA:=1;
DY1:=(2*CLOSE+HIGH+LOW)/4*ZYA;
DY2:=LLV(LOW,34)*ZYA;
DY3:=HHV(HIGH,34)*ZYA;
BDC:=EMA((DY1-DY2)/(DY3-DY2)*100,9)*ZYA,COLORRED;
BDD:=EMA((0.667*REF(BDC,1)+0.333*BDC),3)*ZYA,COLORFF9900;
BDE:=EMA((DY1-DY2)/(DY3-DY2)*100,30)*ZYA;
BDF:=EMA(BDE,5)*ZYA;
DY4:=100*(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*ZYA;
KW:=SMA(DY4,34,1)*ZYA;
DW:=SMA(KW,13,1)*ZYA;
中期趋势:KW*ZYA,COLORYELLOW;
DY5:=100*(CLOSE-LLV(LOW,250))/(HHV(HIGH,250)-LLV(LOW,250))*ZYA;
KM:=SMA(DY5,89,1)*ZYA;
DM:=SMA(KW,34,1)*ZYA;
长期趋势:KM*ZYA,COLOR00FF00;
风险区:80,POINTDOT,COLORFF00FF;
安全区:20,POINTDOT,COLOR00FFFF;
STICKLINE(BDC>=BDD,BDC,BDD,3,0)*ZYA,COLORRED;
STICKLINE(BDC<BDD,BDD,BDC,3,0)*ZYA,COLORFFFF33;
STICKLINE(BDE>=BDF,BDE,BDF,3,0)*ZYA,COLORFF00FF;
STICKLINE(BDE<BDF,BDF,BDE,3,0)*ZYA,COLORGREEN;
 

2022423365731267.png

2022423365731267.png
 

202242337697409.png

202242337697409.png
 

2022423362746864.rar

2.02 KB, 下载次数: 0

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

2022423362746864.rar

回复

使用道具 举报

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

本版积分规则