通达信【牛气冲天】主图+选股指标擒牛轻松不再愁用法详解




DRAWGBK(CLOSE>0,RGB(0,0,50),RGB(00,0,0),0,0,1);

VAR1:=STRCAT(HYBLOCK,' ');

VAR2:=STRCAT(VAR1,DYBLOCK);

VAR3:=STRCAT(VAR2,' ');

VAR4:=CLOSE*VOL;

VAR5:=EMA((EXPMA(VAR4,3)/EXPMA(V,3)+EXPMA(VAR4,6)/EXPMA(V,6)+EXPMA(VAR4,12)/EXPMA(V,12)+EXPMA(VAR4,24)/EXPMA(V,24))/4,13);

VAR6:=1.06*VAR5;

VAR7:=VAR5*0.94;

VAR8:=CLOSE>VAR6 AND OPEN>VAR6;

VAR9:=REF(CLOSE,1);

VAR18:=SMA(MAX(CLOSE-VAR9,0),2,1)/SMA(ABS(CLOSE-VAR9),2,1)*100;

VAR28:=VAR18<10 AND VAR6>=REF(VAR6,1);

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(VAR3,GNBLOCK)),COLORRED;

DRAWTEXT_FIX(ISLASTBAR,0.001,0.050,0,GNBLOCK),COLORCYAN;

DRAWTEXT_FIX(ISLASTBAR,0.002,0.1,0,ZDBLOCK);

IF((VAR6<=REF(VAR6,1)),VAR6,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;

IF((VAR6>=REF(VAR6,1)),VAR6,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;

IF((VAR7<=REF(VAR7,1)),VAR7,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;

IF((VAR7>=REF(VAR7,1)),VAR7,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;

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

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

STICKLINE(VAR8 AND C>O,C,O,3.2,0),COLOR000066;

STICKLINE(VAR8 AND C>O,C,O,2.0,0),COLOR000077;

STICKLINE(VAR8 AND C>O,C,O,1.5,0),COLOR000099;

STICKLINE(VAR8 AND C>O,C,O,0.9,0),COLOR0000CC;

STICKLINE(VAR8 AND C>O,C,O,0.5,0),COLOR0000FF;

STICKLINE(VAR8 AND C>O,O,C,0,0),COLORFFFFFF;

STICKLINE(VAR8 AND C<O,L,H,0,0),COLOR009900;

STICKLINE(VAR8 AND C<O,C,O,3.2,0),COLOR009900;

STICKLINE(VAR8 AND C<O,C,O,2.5,0),COLOR00BB00;

STICKLINE(VAR8 AND C<O,C,O,1.5,0),COLOR00DD00;

STICKLINE(VAR8 AND C<O,C,O,0.5,0),COLOR00FF00;

STICKLINE(VAR8 AND C<O,C,O,0,0),COLORFFFFFF;

DRAWTEXT(VAR28,LOW,'有牛'),COLORYELLOW;






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

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

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

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