通达信【趋势跟庄】主副图涨停王者系列 高胜率机构量化指标

趋势跟庄主图 源码如下:



DRAWGBK(CLOSE>0,RGB(20,0,28),RGB(20,5,24),0,0,1);
BK1:=STRCAT(HYBLOCK,' ');
BK2:=STRCAT(BK1,DYBLOCK);
BK3:=STRCAT(BK2,' ');
BK4:=STRCAT(BK3,GNBLOCK);
DA:=2230911;
XZ:=IF(DATE<DA,1,DRAWNULL);
DRAWTEXT_FIX(ISLASTBAR,0.0,0.01,0,STRCAT('所属板块:',BK4)),COLORFFFF00;
跟庄趋势:EMA((MA(C,5)+MA(C,8)+MA(C,13)+MA(C,21)+MA(C,34))/5,8)*XZ,COLORRED,LINETHICK2;
空头:IF(C<=跟庄趋势,跟庄趋势,DRAWNULL),COLORCYAN,LINETHICK2;
DI:=(EMA(CLOSE,12)-EMA(CLOSE,26))*XZ;
DE:=(EMA(DI,9))*XZ;
M:=(DI-DE)*2*XZ;
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*XZ;
ZT:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
DT:=100*(C/REF(C,1)-1)<-R+0.01/REF(C,1)*100;
SPAN:=BARSLAST(EVERY(ZT,2));
量:=REF(V,1)=LLV(V,SPAN);
共振:=M>REF(M,1) AND REF(M,1)<REF(M,2);
XG:=SPAN<=13 AND SPAN>=5 AND 量 AND 共振;
止损:=REF(LLV(L,SPAN-BARSLAST(XG)),BARSLAST(XG));
买入止损:IF(BARSLAST(XG)>=0 AND BARSLAST(XG)<=50,止损,DRAWNULL),COLORCYAN,DOTLINE;

TJ11:=C>=O*XZ;
TJ12:=C<O*XZ;
STICKLINE(TJ11,H,L,0,0),COLOR0000DD;
STICKLINE(TJ11,C,O,2.7,0),COLOR000099;
STICKLINE(TJ11,C,O,1.8,0),COLOR0000BB;
STICKLINE(TJ11,C,O,1,0),COLOR0000DD;
STICKLINE(TJ12,HIGH,LOW,0,1),COLORGREEN;
STICKLINE(TJ12,CLOSE,OPEN,2.7,0),COLOR006600;
STICKLINE(TJ12,CLOSE,OPEN,2.3,0),COLOR008800;
STICKLINE(TJ12,CLOSE,OPEN,1.8,0),COLOR00AA00;
STICKLINE(TJ12,CLOSE,OPEN,1.3,0),COLOR00CC00;
STICKLINE(TJ12,CLOSE,OPEN,0.3,0),COLORGREEN;
STICKLINE(ZT,HIGH,LOW,0,1),COLORFF55FF;
STICKLINE(ZT,CLOSE,OPEN,2.7,0),COLOR880088;
STICKLINE(ZT,CLOSE,OPEN,2.3,0),COLORAA00AA;
STICKLINE(ZT,CLOSE,OPEN,1.8,0),COLORCC00CC;
STICKLINE(ZT,CLOSE,OPEN,1.3,0),COLOREE00EE;
STICKLINE(ZT,CLOSE,OPEN,0.3,0),COLORFF44FF;
STICKLINE(DT,H,L,0,0),COLOREEEEEE;
STICKLINE(DT,C,O,2.7,0),COLOR9F9F9F;
STICKLINE(DT,C,O,1.8,0),COLORCCCCCC;
STICKLINE(DT,C,O,1,0),COLOREEEEEE;

{起爆点}
STICKLINE(XG,LOW,HIGH,0,0),COLOR0088EE;
STICKLINE(XG,CLOSE,OPEN,2.7,0),COLOR0055AA;
STICKLINE(XG,CLOSE,OPEN,2.3,0),COLOR0066BB;
STICKLINE(XG,CLOSE,OPEN,1.8,0),COLOR0099EE;
STICKLINE(XG,CLOSE,OPEN,1.3,0),COLOR00AAFF;
STICKLINE(XG,CLOSE,OPEN,0.3,0),COLOR00CCFF;
STICKLINE(XG,CLOSE,OPEN,0.2,0),COLORYELLOW;

DRAWTEXT(XG,L*0.998,'←起爆点'),COLORYELLOW;





趋势跟着副图源码如下





DA:=2230911;
XZ:=IF(DATE<DA,1,DRAWNULL);

DI:=(EMA(CLOSE,12)-EMA(CLOSE,26))*XZ;
DE:=(EMA(DI,9))*XZ;
M:=(DI-DE)*2*XZ;
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*XZ;
ZT:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
DT:=100*(C/REF(C,1)-1)<-R+0.01/REF(C,1)*100;
SPAN:=BARSLAST(EVERY(ZT,2));
量:=REF(V,1)=LLV(V,SPAN);
共振:=M>REF(M,1) AND REF(M,1)<REF(M,2);
XG:=SPAN<=13 AND SPAN>=5 AND 量 AND 共振;
止损:=REF(LLV(L,SPAN-BARSLAST(XG)),BARSLAST(XG));
TJ11:=C>=O*XZ;
TJ12:=C<O*XZ;

{龙头启动}
STICKLINE(XG,0,2,3,0),COLORRED;
STICKLINE(XG,11,14,3,0),COLORYELLOW;
DRAWTEXT(XG,8,' 庄进'),COLORYELLOW;
DRAWICON(XG,1,9);
DRAWICON(XG,2,2);
DRAWICON(XG,3,1);
DRAWICON(XG,4,9);
DRAWICON(XG,5,1);
DRAWICON(XG,6,9);
DRAWICON(XG,7,28);
DRAWICON(XG,8,28);
DRAWICON(XG,9,1);
DRAWICON(XG,10,9);
DRAWICON(XG,11,1);




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

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

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

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