通达信金马互动共振副图源码

X_1:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
X_2:=EMA(X_1,9/4);
STICKLINE(X_1>=X_2,42,46,5,0),COLORWHITE;
STICKLINE(X_1<X_2,42,46,5,1),COLOR696969;
X_3:=EMA(CLOSE,6)-EMA(CLOSE,80);
X_4:=EMA(X_3,40);
STICKLINE(X_3>=X_4,36,40,5,0),COLORCYAN;
STICKLINE(X_3<X_4,36,40,5,1),COLOR696969;
X_5:=MACD.DIF#WEEK;
X_6:=MACD.DEA#WEEK;
STICKLINE(X_5>=X_6,30,34,5,0),COLORGREEN;
STICKLINE(X_5<X_6,30,34,5,1),COLOR696969;
X_7:=MACD.DIF#MONTH;
X_8:=MACD.DEA#MONTH;
STICKLINE(X_7>=X_8,24,28,5,0),COLORBLUE;
STICKLINE(X_7<X_8,24,28,5,1),COLOR696969;
X_9:=(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72));
X_10:=SMA(X_9,3,1);
X_11:=SMA(X_10,3,1);
STICKLINE(X_10>=X_11,18,22,5,0),COLORYELLOW;
STICKLINE(X_10<X_11,18,22,5,1),COLOR696969;
X_12:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89));
X_13:=SMA(X_12,3,1);
X_14:=SMA(X_13,3,1);
X_15:=3*X_13-2*X_14;
STICKLINE(X_13>=X_14,12,16,5,0),COLORRED;
STICKLINE(X_13<X_14,12,16,5,1),COLOR696969;
X_16:=KDJ.K#WEEK;
X_17:=KDJ.D#WEEK;
STICKLINE(X_16>=X_17,6,10,5,0),COLORMAGENTA;
STICKLINE(X_16<X_17,6,10,5,1),COLOR696969;
X_18:=KDJ.K#MONTH;
X_19:=KDJ.D#MONTH;
STICKLINE(X_18>=X_19,0,4,5,0),COLOR880088;
STICKLINE(X_18<X_19,0,4,5,1),COLOR696969;
X_20:=REF(HIGH,1)=HHV(HIGH,10);
X_21:=CROSS(X_20,0.9);
X_22:=REF(LOW,1)=LLV(LOW,10);
X_23:=CROSS(X_22,0.9);
X_24:=REF(HIGH,BARSLAST(X_21));
X_25:=REF(LOW,BARSLAST(X_23));
X_26:=(CLOSE+HIGH+LOW)/3;
X_27:=EMA(X_26,10);
X_28:=REF(X_27,1);
X_29:=MA(CLOSE,5);
X_30:=MA(CLOSE,10);
X_31:=MA(CLOSE,20);
X_32:=MA(CLOSE,60);
X_33:=MA(CLOSE,120);
X_34:=MA(CLOSE,250);
X_35:=EMA(CLOSE,500);
X_36:=X_1>=X_2 AND X_3>=X_4 AND X_5>=X_6 AND X_7>=X_8 AND X_10>=X_11 AND X_13>=X_14 AND X_16>=X_17 AND X_18>=X_19 AND CLOSE>REF(CLOSE,1)*1.05;
STICKLINE(FILTER(CLOSE>=OPEN AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),0,46,2,0),COLORRED;
X_37:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_38:=HIGH-REF(HIGH,1);
X_39:=REF(LOW,1)-LOW;
X_40:=SUM(IF(X_38>0 AND X_38>X_39,X_38,0),20);
X_41:=SUM(IF(X_39>0 AND X_39>X_38,X_39,0),20);
X_42:=LLV(LOW,240);
X_43:=HHV(HIGH,240);
20;{,公式源码 http://}
X_44:=X_40/X_37/2*100;
DH:(CLOSE-X_42)/X_42*100,COLORYELLOW,LINETHICK2;
X_45:=X_41/X_37/2*100;
X_46:=(X_43-CLOSE)/CLOSE*100;
X_47:=(-(0.05-WINNER(CLOSE/1.12)))*300;
ZQ:IF(DH>15 AND DH>X_45 AND DH>X_46,DH,DRAWNULL),COLORYELLOW,LINETHICK2;
QS:IF(DH>30 AND DH>X_45 AND DH>X_46,DH,DRAWNULL),COLORRED,LINETHICK2;
CQ:IF(X_47>DH,DH,DRAWNULL),COLORBLUE,LINETHICK2;
DRAWICON(FILTER(X_47>DH AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),60,44);
STICKLINE(FILTER(X_47>DH AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),0,46,2,0),COLORMAGENTA;
 



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

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

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