beyond202104 发表于 2023-8-28 16:32:18

JC决策曲线(通达信公式 副图 源码 测试图)


{公式名称: JC
公式描述: 决策曲线无参数公式类型: 技术指标公式-其他类型画线方法: 副图公式版本: 0显示小数: 缺省位数坐标线位置: 自动额外Y轴分界: 无 参数精灵:无用法注释:无公式源码:}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;




领河响下 发表于 2023-9-25 20:02:44

沙发!沙发!

NN不忘初心 发表于 2023-10-18 20:07:26

找了很久了,多谢!

等风的迷者 发表于 2024-1-23 18:41:03

已收藏,以后会常来!

楚一帆 发表于 2024-2-28 17:26:23

我是个凑数的。。。
页: [1]
查看完整版本: JC决策曲线(通达信公式 副图 源码 测试图)