通达信猛牛短线指标公式,通达信中短线决策操盘主图指标公式
admin888
|通达信猛牛短线指标公式,通达信中短线决策操盘主图指标公式
通达信猛牛短线指标公式
VAR0:=((((CLOSE * 2) + HIGH) + LOW) / 4);
VAR1:=(ema(VAR0,1) - Ema(VAR0,40));
VAR2:=EMA(VAR1,5);
VAR3:=((VAR1 - VAR2) * 100);
VAR4:=IF((VAR3 < -20),-20,IF((VAR3 > 100),100,VAR3));
VAR5:=(((CLOSE - LLV((1.02 * LOW),20)) / (HHV(HIGH,20) - LLV(LOW,20))) * 100);
VAR6:=IF((VAR5 > 100),100,IF((VAR5 < 0),0,VAR5));
VAR7:=(((HHV(HIGH,5) - CLOSE) / (HHV(HIGH,5) - LLV(LOW,5))) * 20);
VAR8:=(((3 * VAR7) - (2 *SMAVAR7,3,1))) * 1);
VAR9:=IF((VAR8 > 100),100,IF((VAR8 < -5),-5,VAR8));
VAR10:=(((HHV(HIGH,13) - CLOSE) / (HHV(HIGH,13) - LLV(LOW,13))) *120;
VAR11:=IF((VAR10 > 100),100,VAR10);VAR12:=crOSS(VAR9,VAR4);
VAR13:=((VAR11 = 0) AND CROSS(VAR4,40));
VAR14:=((VAR11 = 0) AND (VAR9 < 0));
VAR15:=CROSS(VAR4,40);
VAR16:=(VAR4 = 100);
VAR17:=((CLOSE / REF(CLOSE,1)) > 1.095);
VAR18:=(VAR11 = 100);
((((((VAR12 + VAR13) + VAR14) + VAR15) + VAR16) + VAR17) - VAR18);
DRAWICON((((((((VAR12 + VAR13) + VAR14) + VAR15) + VAR16) + VAR17) - VAR18) >= 2),2,1);
通达信中短线决策操盘主图指标公式
{短线持币区,红线区持股,绿线区持币}
N1:=IF(BARSCOUNT(C)>=8,8,BARSCOUNT(C));
AMOV1:=vol*(C+L+H)/3;
短线:SUM(AMOV1,N1)/SUM(VOL,N1),COLORRED;
{DRAWTEXT(CURRBARSCOUNT=1,短线*0.998,' 短线'),COLORRED;}
NOTEXT1:IF(C>=短线,短线,DRAWNULL),LINETHICK2,COLORRED;
NOTEXT2:IF(C<短线,短线,DRAWNULL),LINETHICK2,COLORGREEN;
{中线持股持币区,黄线区持股,灰线区持币}
N2:=IF(BARSCOUNT(C)>=48,48,BARSCOUNT(C));
AMOV2:=VOL*(C+L+H)/3;
中线:SUM(AMOV2,N2)/SUM(VOL,N2),COLORYELLOW;
{DRAWTEXT(CURRBARSCOUNT=1,中线*0.998,' 中线'),COLORRED;}
NOTEXT3:IF(C>=中线,中线,DRAWNULL),LINETHICK2,COLORYELLOW;
NOTEXT4:IF(C<中线,中线,DRAWNULL),LINETHICK2,COLORGRAY;
{短线金叉中线}JC:=crOSS(短线,中线);
DRAWICON(JC,L,9);
{筹码平均成本线}筹均线:IF(CURRBARSCOUNT<13,CONstCOST(50)),DRAWNULL),COLORWHITE,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,筹均线*0.998,' 筹均线'),COLORWHITE;
{2020.8.23之后涨跌停显示}前5天:=BARSCOUNT(C)>5;{上市大于五天,前五天不限制
幅度}ZC:=REF(C,1);
ZF:=(H-ZC+0.01)/ZC*100;
DF:=(ZC-L+0.01)/ZC*100;
涨5:=ZF>=5 AND 前5天 AND C=H;
跌5:=DF>=5 AND 前5天 AND C=L;
涨10:=ZF>=10 AND 前5天 AND C=H;
跌10:=DF>=10 AND 前5天 AND C=L;
涨20:=ZF>=20 AND 前5天 AND C=H;
跌20:=DF>=20 AND 前5天 AND C=L;
涨停板:=IF(INBLOCK('科创板'),涨20,IF(INBLOCK('创业板') AND DATE>1200823,涨20,IF(INBLOCK('ST板块'),涨5,涨10)));
跌停板:=IF(INBLOCK('科创板'),跌20,IF(INBLOCK('创业板') AND DATE>1200823,跌20,IF(INBLOCK('ST板块'),跌5,跌10)));STICKLINE(涨停板,O,C,2.7,0),COLORYELLOW;
STICKLINE(涨停板,O,C,1.5,0),COLORRED;
STICKLINE(跌停板,O,C,1.5,0),COLORBLUE;
曾涨5:=ZF>=5 AND 前5天 AND C
曾跌5:=DF>=5 AND 前5天 AND C>L;
曾涨10:=ZF>=10 AND 前5天 AND C
曾跌10:=DF>=10 AND 前5天 AND C>L;
曾涨20:=ZF>=20 AND 前5天 AND C
曾跌20:=DF>=20 AND 前5天 AND C>L;
曾涨停板:=IF(INBLOCK('科创板'),曾涨20,IF(INBLOCK('创业板') AND DATE>1200823,曾涨20,IF(INBLOCK('ST板块'),曾涨5,曾涨10)));
曾跌停板:=IF(INBLOCK('科创板'),曾跌20,IF(INBLOCK('创业板') AND DATE>1200823,曾跌20,IF(INBLOCK('ST板块'),曾跌5,曾跌10)));
STICKLINE(曾涨停板,O,C,0.1,0),COLORLImaGENTA;
DRAWICON(曾涨停板,H*1.001,37);
DRAWTEXT(曾涨停板,H-0.02,'炸'),COLORCYAN;
STICKLINE(曾跌停板,O,C,0.1,0),COLORBLUE;
DRAWICON(曾跌停板,L*0.98,36);
DRAWTEXT(曾跌停板,L-0.1,'撬'),COLORLIRED;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。