首页 > > 详细

通达信【野狼捕食】主图 一击必中才算牛 用法详解 指标源码

{野狼捕食副图源码如下}

VAR1:=STRCAT(HYBLOCK,' ');
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,' ');
VAR4:=CLOSE*VOL;
VAR5:=EXPMA(VAR4,3)/EXPMA(VOL,3);
VAR6:=EXPMA(VAR4,6)/EXPMA(VOL,6);
VAR7:=EXPMA(VAR4,12)/EXPMA(VOL,12);
VAR8:=EXPMA(VAR4,24)/EXPMA(VOL,24);
VAR9:=EMA((VAR5+VAR6+VAR7+VAR8)/4,13);
VAR10:=1.06*VAR9;
VAR11:=VAR9*0.94;
VAR12:=CLOSE>VAR10 AND OPEN>VAR10;
VAR18:=REF(CLOSE,1);
VAR19:=SMA(MAX(C-VAR18,0),2,1)/SMA(ABS(C-VAR18),2,1)*100;
XG:VAR19<10 AND VAR10>=REF(VAR10,1);


{野狼捕食主图源码如下}
VAR1:=STRCAT(HYBLOCK,' ');
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,' ');
VAR4:=CLOSE*VOL;
VAR5:=EXPMA(VAR4,3)/EXPMA(VOL,3);
VAR6:=EXPMA(VAR4,6)/EXPMA(VOL,6);
VAR7:=EXPMA(VAR4,12)/EXPMA(VOL,12);
VAR8:=EXPMA(VAR4,24)/EXPMA(VOL,24);
VAR9:=EMA((VAR5+VAR6+VAR7+VAR8)/4,13);
VAR10:=1.06*VAR9;
VAR11:=VAR9*0.94;
VAR12:=CLOSE>VAR10 AND OPEN>VAR10;
VAR13:=REF(CLOSE,1);
VAR18:=SMA(MAX(CLOSE-VAR13,0),2,1)/SMA(ABS(CLOSE-VAR13),2,1)*100;
VAR19:=VAR18<10 AND VAR10>=REF(VAR10,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);
LHB:SIGNALS_USER(4,1);
DRAWTEXT(LHB,H,'龙虎'),COLORWHITE;
IF((VAR10<=REF(VAR10,1)),VAR10,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((VAR10>=REF(VAR10,1)),VAR10,DRAWNULL),COLORRED,DOTLINE,LINETHICK2;
IF((VAR11<=REF(VAR11,1)),VAR11,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((VAR11>=REF(VAR11,1)),VAR11,DRAWNULL),COLORRED,DOTLINE,LINETHICK2;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(VAR12 AND C>O,C,O,3.2,0),COLOR000066;
STICKLINE(VAR12 AND C>O,C,O,2.0,0),COLOR000077;
STICKLINE(VAR12 AND C>O,C,O,1.5,0),COLOR000099;
STICKLINE(VAR12 AND C>O,C,O,0.9,0),COLOR0000CC;
STICKLINE(VAR12 AND C>O,C,O,0.5,0),COLOR0000FF;
STICKLINE(VAR12 AND C>O,O,C,0,0),COLORFFFFFF;
STICKLINE(VAR12 AND C<O,L,H,0,0),COLOR009900;
STICKLINE(VAR12 AND C<O,C,O,3.2,0),COLOR009900;
STICKLINE(VAR12 AND C<O,C,O,2.5,0),COLOR00BB00;
STICKLINE(VAR12 AND C<O,C,O,1.5,0),COLOR00DD00;
STICKLINE(VAR12 AND C<O,C,O,0.5,0),COLOR00FF00;
STICKLINE(VAR12 AND C<O,C,O,0,0),COLORFFFFFF;
DRAWTEXT(VAR19,L,'野狼'),COLORYELLOW;


联系我们 - QQ: 88652583
© 2014 www.93stock.com
代写选股公式网!
声明:警惕假冒分子冒充本站提供证券咨询服务,选股公式网为非证券咨询机构,本站不提供有关股评、投资分析报告、股市预测,证券咨询等服务。本站仅提供股票、期货、黄金、外汇的软件技术交流与分享。本站文章为互联网文章,其仅供参考,并不构成投资建议。