通达信断层交易线主图指标公式源码

DRAWTEXT_FIX(ISLAstBAR,0.01,0.01,0,HYBLOCK),COLOR0000FF;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.07,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.13,0,GNBLOCK),COLORFF00FF;
DRAWTEXT_FIX(ISLASTBAR,0.01,0.2,0,FGBLOCK),COLOR0080FF;
A:=(3*C+H+L+O)/6;
多头线:(ma(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;
IF(多头线<=REF(多头线,1),多头线,DRAWNULL),COLORGREEN,LINETHICK2;
MA5:MA(CLOSE,5),COLORYELLOW;
MA20:MA(CLOSE,20),COLORCYAN;
MA120:MA(CLOSE,120),COLORMAGENTA;
X_1:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_2:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_3:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_4:=X_2+100;
X_5:=IF(CLOSE>REF(CLOSE,1),vol,0);
X_6:=IF(CLOSE<REF(CLOSE,1),VOL,0);
X_7:=SUM(X_5,13);
X_8:=SUM(X_6,13);
X_9:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_10:=MA(X_9,2);
X_11:=X_4<10 OR REF(X_4,1)<10 OR REF(X_4,2)<10 OR REF(X_4,3)<10;
X_12:=X_4<10 OR REF(X_4,1)<10 OR REF(X_4,2)<10 OR REF(X_4,3)<10 AND (X_10<10 OR REF(X_10,1)<10 OR REF(X_10,2)<10 OR REF(X_10,3)<10);
X_13:=(CLOSE+LOW+HIGH)/1.5;
X_14:=EMA(X_13,3);
X_15:=EMA(X_14,2.5);
DRAWICON(crOSS(X_14,X_15) AND X_11>0.1,LOW*0.98,9),COLORRED;



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

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

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

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