分时四线图通达信公式 分时副图 源码附图

 N:=10;
YDL1:=C*V;
YDL2:=YDL1/10000/10000;
YDLCH1:=SUM(IF(C>REF(C,1) AND V>=6000 OR YDL1>=1500000,YDL2,0),0);
YDLCH2:=SUM(IF(C<REF(C,1) AND V>=6000 OR YDL1>=1500000,YDL2,0),0);
YDLDH1:=SUM(IF(C>REF(C,1) AND V>=4000 AND V<6000 OR YDL1>=500000 AND  YDL1<1500000,YDL2,0),0);
YDLDH2:=SUM(IF(C<REF(C,1) AND V>=4000 AND V<6000 OR YDL1>=500000 AND  YDL1<1500000,YDL2,0),0);
YDLZH1:=SUM(IF(C>REF(C,1) AND V>=1000 AND V<4000 OR YDL1>=200000 AND  YDL1<500000,YDL2,0),0);
YDLZH2:=SUM(IF(C<REF(C,1) AND V>=1000 AND V<4000 OR YDL1>=200000 AND  YDL1<500000,YDL2,0),0);
YDLSH1:=SUM(IF(C>REF(C,1) AND V<1000 OR YDL1<200000,YDL2,0),0);
YDLSH2:=SUM(IF(C<REF(C,1) AND V<1000 OR YDL1<200000,YDL2,0),0);
YDLCH:=YDLCH1-YDLCH2;
YDLDH:=YDLDH1-YDLDH2;
YDLZH:=YDLZH1-YDLZH2;
YDLSH:=YDLSH1-YDLSH2;
YDL:=YDLCH+YDLDH+YDLZH+YDLSH;
YDL3:=SUM(YDLCH,N);
YDL4:=SUM(YDLDH,N);
YDL5:=SUM(YDLZH,N);
YDL6:=SUM(YDLSH,N);
YDL7:=SUM(YDL,N);
CH:YDL3,COLORRED,LINETHICK4;
DH:YDL4,COLORYELLOW,LINETHICK4;
ZH:YDL5,COLORWHITE,LINETHICK4;
SH:YDL6,COLORBLUE,LINETHICK4;
总净:YDL7,COLORLIRED,NODRAW;


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图