JC决策曲线通达信公式 副图 源码附图

XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=IF(XA_1>XA_2,3,IF(XA_2>XA_1,(-3),0));
XA_4:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
XA_5:=EMA(XA_4,3);
XA_6:=EMA(XA_5,3);
XA_7:=IF(XA_5>XA_6,3,IF(XA_6>XA_5,(-3),0));
XA_8:=EMA(CLOSE,12)-EMA(CLOSE,26);
XA_9:=EMA(XA_8,9);
XA_10:=(XA_8-XA_9)*2;
XA_11:=IF(XA_8>XA_9,3,IF(XA_9>XA_8,(-3),0));
XA_12:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
XA_13:=IF(XA_12>80,3,IF(XA_12<20,(-3),0));
XA_14:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
XA_15:=SUM(IF(CLOSE=REF(CLOSE,1),0,XA_14),0);
XA_16:=IF(XA_15>EMA(XA_15,24),4,IF(XA_15<EMA(XA_15,24),(-4),0));
XA_17:=REF(CLOSE,1);{股票指标网 整理}
XA_18:=EMA(MAX(CLOSE-XA_17,0),5)/EMA(ABS(CLOSE-XA_17),5)*100;
XA_19:=IF(XA_18>80,4,IF(XA_18<20,(-4),0));
XA_20:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),7);
XA_21:=HIGH-REF(HIGH,1);
XA_22:=REF(LOW,1)-LOW;
XA_23:=EMA(IF(XA_21>0 AND XA_21>XA_22,XA_21,0),7);
XA_24:=EMA(IF(XA_22>0 AND XA_22>XA_21,XA_22,0),7);
XA_25:=XA_23*100/XA_20;
XA_26:=XA_24*100/XA_20;
XA_27:=EMA(ABS(XA_26-XA_25)/(XA_26+XA_25)*100,7);
XA_28:=EMA(XA_27,7);
XA_29:=IF(XA_25>XA_26 AND XA_27>XA_25 AND XA_27>50,4,IF(XA_25<XA_26 AND XA_27>XA_26 AND XA_27>50,(-4),0));
XA_30:=MA(CLOSE,12);
XA_31:=(CLOSE-XA_30)*(CLOSE-XA_30);
XA_32:=MA(XA_31,12);
XA_33:=SQRT(XA_32);
XA_34:=1;
XA_35:=XA_30+XA_34*XA_33;
XA_36:=XA_30-XA_34*XA_33;
XA_37:=IF(CLOSE>XA_35,4,IF(CLOSE<XA_36,(-4),0));
XA_38:=SUM(MAX(0,HIGH-REF(CLOSE,1)),14)/SUM(MAX(0,REF(CLOSE,1)-LOW),14)*100;
XA_39:=SUM(HIGH-OPEN,14)/SUM(OPEN-LOW,14)*100;
XA_40:=IF(XA_38>350 OR XA_39>180,4,IF(XA_38<45 OR XA_39<45,(-4),0));
XA_41:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),14);
XA_42:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),14);
XA_43:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),14);
XA_44:=100*(XA_41*2+XA_43)/(XA_42*2+XA_43);
XA_45:=IF(XA_44>350,4,IF(XA_44<45,(-4),0));
决策曲线:XA_3+XA_7+XA_11+XA_13+XA_16+XA_19+XA_29+XA_37+XA_40+XA_45+36,LINETHICK2;
均线:MA(决策曲线,8);
36,COLORCYAN;
56,COLORCYAN;
60,COLORCYAN;
70,COLORCYAN;
 


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

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

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

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