黄金买卖区通达信公式 副图 源码附图

X_1:=IF(CLOSE>OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_2:=IF(CLOSE>OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
X_3:=IF(CLOSE>OPEN AND HIGH=REF(CLOSE,1),0,0);
X_4:=IF(CLOSE<OPEN AND HIGH>REF(CLOSE,1),ATAN((HIGH-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_5:=IF(CLOSE<OPEN AND HIGH<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-HIGH)/REF(CLOSE,1)),0);
X_6:=IF(CLOSE<OPEN AND HIGH=REF(CLOSE,1),0,0);
X_7:=X_1+X_2+X_3+X_4+X_5+X_6;
X_8:=MA(X_7,9);
X_9:=MA(X_7,5);
X_10:=MA(X_7,3);
X_11:=IF(CLOSE>OPEN AND LOW>REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_12:=IF(CLOSE>OPEN AND LOW<REF(CLOSE,1),-ATAN(REF(CLOSE,1)-LOW)/REF(CLOSE,1),0);
X_13:=IF(CLOSE>OPEN AND LOW=REF(CLOSE,1),0,0);
X_14:=IF(CLOSE<OPEN AND LOW>REF(CLOSE,1),ATAN((LOW-REF(CLOSE,1))/REF(CLOSE,1)),0);
X_15:=IF(CLOSE<OPEN AND LOW<REF(CLOSE,1),-ATAN((REF(CLOSE,1)-LOW)/REF(CLOSE,1)),0);
X_16:=IF(CLOSE<OPEN AND LOW=REF(CLOSE,1),0,0);
X_17:=X_11+X_12+X_13+X_14+X_15+X_16;
X_18:=MA(X_17,9);
X_19:=MA(X_17,5);
X_20:=MA(X_17,3);
X_21:=ATAN(X_8/0.09);
X_22:=ATAN(X_9/0.05);
X_23:=ATAN(X_10/0.03);
X_24:=ATAN((-X_18)/0.09);
X_25:=ATAN((-X_19)/0.05);
X_26:=ATAN((-X_20)/0.03);
买线:(X_23+X_22+X_21)/3/6.28*360,COLORRED;
卖线:(X_26+X_25+X_24)/3/6.28*360,COLORGREEN;
买区:买线,STICK,COLORRED;
卖区:卖线,STICK,COLORGREEN;
强势:30,POINTDOT,COLORYELLOW;
X_27:=55;{股票指标网}
涨停区:40,COLORYELLOW;
X_28:=买线-卖线;
X_29:=IF(crOSS(40,买线),CLOSE,REF(CLOSE,BArslAST(CROSS(40,买线))));
DRAWICON(CROSS(买线,40) AND CROSS(X_28,40) AND CLOSE>X_29 AND LAST(X_29=REF(X_29,1),5,3),买线,24);
 


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

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

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

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