通达信【牛熊多空】主图+副图+选股指标短线起爆监控主力动向用法详解




主力均价线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;

IF(主力均价线<MA(C,20) OR C<主力均价线,主力均价线,DRAWNULL),COLORGREEN,LINETHICK2;

拉升线:(主力均价线>MA(C,20),MA(C,20),DRAWNULL),COLORMAGENTA,LINETHICK3;

下跌线:IF(主力均价线<=MA(C,20),MA(C,20),DRAWNULL),COLORGREEN,LINETHICK1,DOTLINE;

VAR1:=BARSLASTCOUNT(主力均价线>MA(C,20))=1;

VAR2:=BARSLASTCOUNT(主力均价线<MA(C,20))=1;

VAR3:=MA((CLOSE*2+HIGH)/3,5);

VAR8:=MA((OPEN*2+HIGH)/3,5);

VAR9:=OPEN+(CLOSE-OPEN)/2;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,2.9,0),COLOR000099;

STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,1.5,0),COLOR0000CC;

STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,0.1,0),COLOR9966FF;

STICKLINE(VAR3>=VAR8,CLOSE,OPEN,2.9,0),COLOR000099;

STICKLINE(VAR3>=VAR8,CLOSE,OPEN,1.5,0),COLOR0000CC;

STICKLINE(VAR3>=VAR8,CLOSE,OPEN,0.1,0),COLOR9966FF;

DRAWTEXT_FIX(C>O,0,0.07,0,'股票指标网http://'),COLOR333333;

STICKLINE(VAR3<VAR8 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,2.9,0),COLOR999900;

STICKLINE(VAR3<VAR8 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,1.5,0),COLORCCCC00;

STICKLINE(VAR3<VAR8 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,0.1,0),COLORFFFF66;

STICKLINE(VAR3>=VAR8 AND C<VAR8,VAR9,MAX(O,C),2.8,0),COLORMAGENTA;

STICKLINE(VAR1,CLOSE,OPEN,2.8,0),COLORYELLOW;

DRAWICON(VAR1,L,9);

DRAWICON(VAR2,H*1.01,6);

DRAWTEXT(VAR1,L*0.98,' ★牛'),COLORRED;

DRAWTEXT(VAR2,H,' ★熊'),COLORGREEN;






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

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

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

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