动力阻力指标通达信公式 副图 源码附图

X_1:=1;
X_2:=55;
X_3:=0.1;
X_4:=1000000;
X_5:=(CLOSE-LLV(LOW,X_2))/(HHV(HIGH,X_2)-LLV(LOW,X_2))*100;
X_6:=1150507;
X_7:=IF(1>X_6+30,1,1);
X_8:=1-X_6;
X_9:=100-100*(HHV(HIGH,X_2)-CLOSE)/(HHV(HIGH,X_2)-LLV(LOW,X_2));
X_10:=SMA(X_5,2,1);
X_11:=MA(X_10,2);
X_12:=(X_10*3+X_11*2)/5;
X_13:=MA(X_12,3);
X_14:=(X_10*8+X_13*3)/11;
X_15:=(X_10+X_14)/2;
X_16:=X_5-LLV(X_5,36);
X_17:=(X_15-LLV(X_15,36)+X_16)/2;
X_18:=MA(X_17,2);
动力1:MIN(X_17,X_18)*10*X_7,STICK,COLORWHITE,LINETHICK2;
X_19:=MA(X_17,28);
X_20:=REF(CLOSE,1);
X_21:=SMA(MAX(CLOSE-X_20,0),34,1)/SMA(ABS(CLOSE-X_20),34,1)*100;
X_22:=X_21-LLV(X_21,36);
动力2:(MA(X_22,2)*3+X_22*13)/16*40*X_7,STICK,COLORYELLOW;
阻力:MA(X_17,13)*10*X_7,STICK,COLORRED,LINETHICK4;
净动力:动力1+动力2-阻力,COLORGREEN;
X_23:=净动力;
X_24:=阻力;
X_25:=LLV(X_21,36)-X_21;
X_26:=(MA(X_25,2)*3+X_25*13)/16;
X_27:=MA(X_25,10);
X_28:=CROSS(阻力,X_23) AND REF(X_23,2)>X_23 AND REF(X_23,3)>REF(X_23,2);
X_29:=动力1>REF(动力1,1) AND REF(动力1,1)<阻力 AND CROSS(动力1,阻力) AND 动力1-阻力>15;
X_30:=X_29*100;
STICKLINE(X_29,0,动力1+8,3,0),COLORWHITE;
DRAWTEXT(X_29,动力1+100,2),COLORWHITE,LINETHICK2;
X_31:=动力1>REF(动力1,1) AND REF(动力1,1)>REF(动力1,2) AND REF(动力1,2)>REF(动力1,3) AND 动力1>阻力;
X_32:=动力1<5;
X_33:=动力2>REF(动力2,1) AND REF(动力2,1)<阻力 AND CROSS(动力2,阻力) AND 动力2-阻力>15;
X_34:=X_33*100;
STICKLINE(X_33,0,动力1+8,3,0),COLORYELLOW;
DRAWTEXT(X_33,动力1+100,5),COLORYELLOW,LINETHICK2;
X_35:=HHV(净动力,100)*0.918;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),X_35,6),COLORRED,LINETHICK2;
卖点:CROSS(REF(ZIG(3,10),1),ZIG(3,10))*X_35,COLORRED;
买点:CROSS(ZIG(3,8),REF(ZIG(3,8),1))*X_35,COLORGREEN;
DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),X_35,8),COLORGREEN,LINETHICK2;
X_36:=(净动力-REF(净动力,1))/2;
XGX:X_36>REF(X_36,1)*(1-X_3) AND X_36<REF(X_36,1)*(1+X_3);
X_37:=动力2/阻力;
DL22:MA(动力2,5),COLORMAGENTA,LINETHICK3;
DL23:MA(动力2,10),COLORBLUE,LINETHICK3;
X_38:=X_8>(-30);
X_39:=FILTER(X_38,100);
DRAWTEXT(X_39,X_35*0.88,5123),COLORWHITE,LINETHICK2;
DRAWTEXT(X_39,X_35*0.68,5134),COLORWHITE,LINETHICK2;
 
 


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

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

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