网站首页 > 通达信公式 > 通达信主副图指标 正文
QQ交流群586838595 |
第一部分 指标介绍
1.主力先锋指标通过对移动平均和价格变动的综合计算,实现对市场趋势的全方位监控,同时利用特定的K线形态和价格行为模式,识别出精确的买卖信号,辅助抓住市场机会。
2.选股做的是买点信号的选股,当满足特定条件时发出笑脸买入信号,该信号表明市场可能即将进入上涨阶段。
3.指标不含未来函数,指标不漂移。
第二部分 公式源码
{主力先锋--主图}
MA5:MA(CLOSE,5),LINETHICK2;
MA10:MA(CLOSE,10),LINETHICK2;
MA20:MA(CLOSE,20),LINETHICK2,COLOR00FF00;
GSCHW1:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(GSCHW1>9.8,O,C,2,0),COLORRED;
STICKLINE(GSCHW1<-9.8,O,C,2,0),COLORBLUE;
GHCZS1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
GHCZS2:=REF(GHCZS1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS3:=REF(GHCZS2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS4:=REF(GHCZS3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS5:=REF(GHCZS4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS6:=REF(GHCZS5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS7:=REF(GHCZS6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS8:=REF(GHCZS7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS9:=REF(GHCZS8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GSCHW2:=REF(GHCZS9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GSCHW3:=REF(GSCHW2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GSCHW4:=REF(GSCHW3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
STICKLINE(GHCZS1 OR GHCZS2 OR GHCZS3 OR GHCZS4 OR GHCZS5 OR GHCZS6 OR GHCZS7 OR
GHCZS8 OR GHCZS9 OR GSCHW2 OR GSCHW3 OR GSCHW4,CLOSE,O,3,0),COLORRED;
GSCHW5:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
DRAWTEXT_FIX(1,0.01,0.01,0,'微信公众号:万物狙击'),COLORFF00FF;
GSCHW6:=REF(GSCHW5,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GSCHW7:=REF(GSCHW6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS10:=REF(GSCHW7,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS11:=REF(GHCZS10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS12:=REF(GHCZS11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS13:=REF(GHCZS12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS14:=REF(GHCZS13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS15:=REF(GHCZS14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS16:=REF(GHCZS15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
GHCZS17:=REF(GHCZS16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
GHCZS18:=REF(GHCZS17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
STICKLINE(GSCHW5 OR GSCHW6 OR GSCHW7 OR GHCZS10 OR GHCZS11 OR GHCZS12 OR GHCZS13 OR GHCZS14 OR GHCZS15 OR GHCZS16 OR GHCZS17 OR GHCZS18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;
GHCZS19:=REF(GSCHW5 OR GSCHW6 OR GSCHW7 OR GHCZS10 OR GHCZS11 OR GHCZS12 OR GHCZS13 OR GHCZS14 OR GHCZS15 OR GHCZS16 OR GHCZS17 OR GHCZS18,1) AND GHCZS1;
STICKLINE(GHCZS19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00FFFF;{WWW.GUSHICHANGHONG.COM}
GSCHW8:=REF(GHCZS1 OR GHCZS2 OR GHCZS3 OR GHCZS4 OR GHCZS5 OR GHCZS6 OR GHCZS7 OR GHCZS8 OR GHCZS9 OR GSCHW2 OR GSCHW3 OR GSCHW4,1) AND GSCHW5;
STICKLINE(GSCHW8,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00FF00;
STICKLINE(GHCZS19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR0000FF;
STICKLINE(GSCHW8,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORFF0000;
IF(MA5>=REF(MA5,1) AND MA5>=MA10,MA5,DRAWNULL),COLORRED,LINETHICK3;
GSCHW9:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
GSCHW10:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;
GSCHW11:=GSCHW10 AND COUNT(GSCHW9,2);
买:=GSCHW11 AND NOT(REF(GSCHW11,1)),COLOR00FFFF;
STICKLINE(买,O,C,1,0),COLORRED;
DRAWTEXT(买,L*0.95, ★买),COLOR0000FF;
DRAWICON(买,L,5);
GHCZS3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);
STICKLINE(GHCZS3P>90,L,L*0.92,0.1,0),COLORFF00FF;
DRAWTEXT(GHCZS3P>90,LOW*0.92,追涨),COLORFF00FF;
DRAWICON(GHCZS3P>90,L,9);
第三部分 选股公式
{主力先锋--选股}
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
XG1:=(C-REF(C,1))/REF(C,1)*100;
XGG1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
XGG2:=REF(XGG1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XGG3:=REF(XGG2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XGG4:=REF(XGG3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XGG5:=REF(XGG4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XGG6:=REF(XGG5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XGG7:=REF(XGG6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XGG8:=REF(XGG7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XGG9:=REF(MA10,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XG2:=REF(XGG9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XG3:=REF(XG2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XG4:=REF(XG3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XG5:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);{WWW.GUSHICHANGHONG.COM}
XG6:=REF(XG5,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
XG7:=REF(XG6,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
XG8:=REF(XGG1 OR XGG2 OR XGG3 OR XGG4 OR XGG5 OR XGG6 OR XGG7 OR XGG8 OR XGG9 OR XG2 OR XG3 OR XG4,1) AND XG5;
XG9:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);
XG10:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;
XG11:=XG10 AND COUNT(XG9,2);
主力先锋X:XG11 AND NOT(REF(XG11,1));
第四部分 指标图示
很赞哦! (2)
游客您好,本文中含有可下载的附件,请先回复后获取下载链接 下载次数:19次 回复
QQ交流群586838595 |
猜你喜欢
- 2025-01-26 【通达信指标】金牛强突指标公式,破主力抓突破抓大底信号(副图+选股)
- 2025-01-26 【通达信指标】金牛强突指标公式,破主力抓突破抓大底信号(副图+选股)
- 2025-01-26 【通达信指标】三龙抓涨指标公式,动能判断底部识别,波段思维(副图+选股)
- 2025-01-26 【通达信指标】涨停阴买指标公式,涨停后的阴线回踩信号(副图+选股)
- 2025-01-26 【通达信指标】涨停阴买指标公式,涨停后的阴线回踩信号(副图+选股)
- 2025-01-26 【通达信指标】寻龙成妖指标公式,成妖的精准起涨位置(主图+选股)
- 2025-01-26 【通达信指标】涨停发射指标公式,板后回调把握二次启动的黄金机会(副图+选股)
- 2025-01-26 【通达信指标】涨停发射指标公式,板后回调把握二次启动的黄金机会(副图+选股)
- 2025-01-26 【通达信指标】牛魔王优化版指标公式,优化信号多空趋势全掌握(副图+选股)
- 2025-01-26 【通达信指标】牛魔王优化版指标公式,优化信号多空趋势全掌握(副图+选股)