一线牵牛优化版 指标主要以量价、K线、均线为基础 副图 源码 附图

{一线牵牛优化副图源码如下}

A1:=COUNT(ABS(MA(CLOSE,24)-MA(CLOSE,60))/MA(CLOSE,60)<=0.006,2)=2;
A2:=COUNT(MA(CLOSE,24)>REF(MA(CLOSE,24),1)-0.05 AND MA(CLOSE,24)<REF(MA(CLOSE,24),1)+0.05,2)=2;
A22:=COUNT(MA(CLOSE,60)>REF(MA(CLOSE,60),1)-0.05 AND MA(CLOSE,60)<REF(MA(CLOSE,60),1)+0.05,2)=2;
A3:=MA(CLOSE,5)>MA(CLOSE,24) AND MA(CLOSE,5)>MA(CLOSE,60);
A4:=C>MA(C,24)AND C>MA(C,60) AND C>O AND C=HHV(C,5) AND H/C<1.03;
XG1:=A1 AND A2 AND A22 AND A3 AND A4;
A5:=CROSS(MA(V,5),MA(V,60));
A6:=REF(A5,1) AND NOT(REF(XG1,1));
A7:=REF(A5,2) AND NOT(REF(XG1,1)) AND NOT(REF(XG1,2));
MAV1:=MA(AMOUNT,6);
MAV2:=MA(AMOUNT,12);
MAV3:=MA(AMOUNT,24);
AP1:=MAV1>MAV2 AND MAV2>MAV3;
AP2:=MAV1>REF(MAV1,1) AND MAV2>REF(MAV2,1) AND MAV3>REF(MAV3,1);
LNXG:=AP1;
XGXG:=LNXG;
A8:=CROSS(V,EMA(V,30)*2) AND MA(V,5)>MA(V,60) AND LNXG;
A9:=MA(C,5)/MA(C,24)<1.05;
B1:=EVERY(REF(C,1)/REF(C,2)<1.07,10);
XGW1:XG1 AND (A5 OR A6 OR A7 OR A8) AND A9 AND B1;

{一线牵牛优化主图源码如下}

MA1:MA(CLOSE,5);
MA2:MA(CLOSE,24);
MA3:MA(CLOSE,60);
{一线牵牛优化版----通达信主图}
A1:=COUNT(ABS(MA(CLOSE,24)-MA(CLOSE,60))/MA(CLOSE,60)<=0.006,2)=2;
A2:=COUNT(MA(CLOSE,24)>REF(MA(CLOSE,24),1)-0.05 AND MA(CLOSE,24)<REF(MA(CLOSE,24),1)+0.05,2)=2;
A22:=COUNT(MA(CLOSE,60)>REF(MA(CLOSE,60),1)-0.05 AND MA(CLOSE,60)<REF(MA(CLOSE,60),1)+0.05,2)=2;
A3:=MA(CLOSE,5)>MA(CLOSE,24) AND MA(CLOSE,5)>MA(CLOSE,60);
A4:=C>MA(C,24)AND C>MA(C,60) AND C>O AND C=HHV(C,5) AND H/C<1.03;
XG1:=A1 AND A2 AND A22 AND A3 AND A4;
A5:=CROSS(MA(V,5),MA(V,60));
A6:=REF(A5,1) AND NOT(REF(XG1,1));
A7:=REF(A5,2) AND NOT(REF(XG1,1)) AND NOT(REF(XG1,2));
MAV1:=MA(AMOUNT,6);
MAV2:=MA(AMOUNT,12);
MAV3:=MA(AMOUNT,24);
AP1:=MAV1>MAV2 AND MAV2>MAV3;
AP2:=MAV1>REF(MAV1,1) AND MAV2>REF(MAV2,1) AND MAV3>REF(MAV3,1);
LNXG:=AP1;
XGXG:=LNXG;
A8:=CROSS(V,EMA(V,30)*2) AND MA(V,5)>MA(V,60) AND LNXG;
A9:=MA(C,5)/MA(C,24)<1.05;
B1:=EVERY(REF(C,1)/REF(C,2)<1.07,10);
XGW1:=XG1 AND (A5 OR A6 OR A7 OR A8) AND A9 AND B1;
DRAWTEXT(XGW1,L*0.97,'★一线牵牛'),COLORWHITE;


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

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

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

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