通达信角度突破线主图指标公式

JD:=15;
T20:=20;
T40:=40;
X_1:=FILTERX(CURRBARSCOUNT>20 AND CURRBARSCOUNT<120 AND HIGH=HHV(HIGH,120),100);
X_2:=BArslAST(X_1);
X_3:=REF(HIGH,X_2);
X_4:=10/TAN(JD*3.1416/180);
X_5:=X_3*0.1/X_4;
L15:IF(RANGE(X_2,(-1),100),X_3-X_5*X_2,DRAWNULL),COLORMAGENTA;
X_6:=IF(X_2=T20,(X_3-HIGH)/T20,DRAWNULL);
X_7:=IF(CURRBARSCOUNT=1 AND X_2>T20,REF(X_6,X_2-T20),DRAWNULL);
X_8:=CONST(X_7);
X_9:=IF(RANGE(X_2,(-1),100),X_3-X_8*X_2,DRAWNULL);
X_10:=IF(CURRBARSCOUNT<10,CONST(X_9),DRAWNULL);
L20:IF(EVERY(LOW>X_9,10),DRAWNULL,X_9),COLORGREEN;
STICKLINE(X_2=T20,LLV(LOW,T20)*0.95,X_3,0,0),COLORLIGRAY;
X_11:=IF(X_2=T40,(X_3-HIGH)/T40,DRAWNULL);
X_12:=IF(CURRBARSCOUNT=1 AND X_2>T40,REF(X_11,X_2-T40),DRAWNULL);
X_13:=CONST(X_12);
X_14:=IF(RANGE(X_2,(-1),100),X_3-X_13*X_2,DRAWNULL);
X_15:=IF(CURRBARSCOUNT<10,CONST(X_14),DRAWNULL);
L40:X_14,COLORYELLOW;
STICKLINE(X_2=T40,LLV(LOW,T40)*0.95,X_3,0,0),COLORLIGRAY;
X_16:=X_2>40 AND REF(crOSS(LOW,L15),1) AND CLOSE<OPEN;
X_17:=X_2>40 AND REF(CROSS(LOW,L15),1) AND CLOSE>OPEN;
DRAWICON(X_17,LOW*0.95,1);




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

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

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

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