双周期精进收盘价站在横线上通达信指标 主图 源码附图

A0:=(L+H+C*2)/4;
A1:EMA(A0,14),COLORBLUE,LINETHICK2;
A1X:=(A1-REF(A1,1))/REF(A1,1)*100;
G1:=BARSLAST(CROSS(A1X,0));
买入止损:=REF(A0,G1),COLORWHITE,LINETHICK1;
买入盈利:(A0-买入止损)/买入止损*100,NODRAW;
IF(A1X>=0,买入止损,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(A1X>=0,A1,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(H>=REF(A0,G1)*1.1,REF(A0,G1)*1.1,DRAWNULL),COLORBLUE,POINTDOT;
IF(H>=REF(A0,G1)*1.2,REF(A0,G1)*1.2,DRAWNULL),COLORBLUE,POINTDOT;
IF(H>=REF(A0,G1)*1.3,REF(A0,G1)*1.3,DRAWNULL),COLORBLUE,CIRCLEDOT;
IF(H>=REF(A0,G1)*1.4,REF(A0,G1)*1.4,DRAWNULL),COLORBLUE,POINTDOT;
IF(H>=REF(A0,G1)*1.5,REF(A0,G1)*1.5,DRAWNULL),COLORBLUE,POINTDOT;
IF(H>=REF(A0,G1)*1.6,REF(A0,G1)*1.6,DRAWNULL),COLORBLUE,POINTDOT;
IF(H>=REF(A0,G1)*1.7,REF(A0,G1)*1.7,DRAWNULL),COLORBLUE,POINTDOT;
B1:EMA(A0,14*5),COLORGREEN,LINETHICK2;
B1X:=(B1-REF(B1,1*5))/REF(B1,1*5)*100;
BG1:=BARSLAST(CROSS(B1X,0));
买入止损B:=REF(A0,BG1),COLORWHITE,LINETHICK1;
买入盈利B:(A0-买入止损B)/买入止损B*100,NODRAW;
IF(B1X>=0,买入止损B,DRAWNULL),COLORRED,LINETHICK2;
IF(B1X>=0,B1,DRAWNULL),COLORRED,LINETHICK2;
IF(H>=REF(A0,BG1)*1.1,REF(A0,BG1)*1.1,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,BG1)*1.2,REF(A0,BG1)*1.2,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,BG1)*1.3,REF(A0,BG1)*1.3,DRAWNULL),COLORGREEN,CIRCLEDOT;
IF(H>=REF(A0,BG1)*1.4,REF(A0,BG1)*1.4,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,BG1)*1.5,REF(A0,BG1)*1.5,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,BG1)*1.6,REF(A0,BG1)*1.6,DRAWNULL),COLORGREEN,POINTDOT;
IF(H>=REF(A0,BG1)*1.7,REF(A0,BG1)*1.7,DRAWNULL),COLORGREEN,POINTDOT;
 


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

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

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

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