通达信黑马绝技指标公式

通达信自用的DDX指标公式

EMA13:=EMA(C,13);

EMA30:EMA(C,30),COLORFFCCCC;

EMA60:EMA(C,60),COLORFF00FF;

EMA90:EMA(C,90),COLORYELLOW;

EMA120:EMA(C,120),COLORFFCC66;

EMA250:EMA(C,250),COLORBLUE;

F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 AND EMA30-EMA120<330/1000;

F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 AND EMA60-EMA120<330/1000;

F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 AND EMA90-EMA120<330/1000;

F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;

F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;

FF1:=F1 AND F2 AND F3 AND F4 AND crOSS(EMA30,EMA60);

FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);

FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);

G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 AND EMA60-EMA250<420/1000;

G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 AND EMA90-EMA250<420/1000;

G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;

G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;

{指标网-股票公式网站 Www.gupang.com}

GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);

GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);

DRAWICON(FF1 OR FF2 OR FF3 OR GG1 OR GG2,L-0.1,9);

{粘合的方法很多,这只是其中的一种。}

{主升浪}

VAR1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);

stICKLINE(VAR1>20 AND VAR1<80,VAR1,VAR1,10,1),COLORRED;

STICKLINE(VAR1<REF(VAR1,1),VAR1,VAR1,10,1),COLORFFCC66;

STICKLINE(VAR1>80,VAR1,VAR1,8,1),COLOR00FF00;

STICKLINE(VAR1<20,VAR1,VAR1,8,1),COLORYELLOW;

主升浪:IF(WINNER(C*0.9)*100-V/CAPITAL*100>=25,10,0),COLORYELLOW,POINTDOT;

STICKLINE(主升浪,10,0,1,1),COLORYELLOW;

通达信波段划线介入指标公式