通达信角线攻击主图指标公式

通达信超准选股指标公式

通达信角线攻击主图指标公式:

E5:=EMA(C,5);E13:=EMA(C,13);

DRAWBAND(E5,RGB(200,0,0),E13,RGB(0,200,0));

DRAWKLINE(H,O,L,C);

平衡:EMA(C,20)COLORYELLOW;

上轨:平衡 + 2*stD(C,20),COLORMAGENTA;

下轨:平衡 - 2*STD(C,20),COLORGREEN;

上:=EMA(C,3);

中:=EMA(C,5);

下:=EMA(中,5);

QQ:= C<中;

MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;

VAR1W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));

VAR2W:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));

VAR3W:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));

VAR3P:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0);

DRAWTEXT(VAR3P>90,LOW*0.92,'追涨'),COLORFF00FF;

SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2);

SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O;

MR:=SC AND COUNT(SS,2);

买:=MR AND NOT(REF(MR,1));

DRAWTEXT(买,L*0.95, '必涨'),COLORRED;

V1:=Abs((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);

V2:=(1-7/100)*(DMA(CLOSE,V1));

V3:=(1+7/100)*(DMA(CLOSE,V1));

V5:=MA((LOW+HIGH+CLOSE)/3,5);

MA1:=MEMA(CLOSE,5);

MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;

MA3:=IF(MA2>0,MA2,MA2);

MA5:MA(C,5),COLORWHITE;

MA25:=MA(C,25),COLORGREEN,LINETHICK2;

VAR1:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))

OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND

REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND

C>=REF(C,1) AND C>=REF(C,2);

VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);

VAR3:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR

REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND

REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND

C<REF(C,1) AND C<REF(C,2);

VAR4:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND

REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);

AA10:=MA(CLOSE,8),COLOR0000FF;

BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);

均线30:=MA(CLOSE,30);

均线89:=MA(CLOSE,89);

均线:=MA(CLOSE,16);

DRAWTEXT((((((OPEN <= 均线) AND ((均线30 - REF(均线30,1)) > 0))

AND (CLOSE > 均线89)) AND (BB10 > 1)) AND ((CLOSE / OPEN) > 1.04)),

LOW,'天马过桥'),COLORCC99FF;

DRAWTEXT_FIX(1,0.00,0,0,'所属行业:')COLOR0080FF;

DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK)COLOR0080FF;

DRAWTEXT_FIX(1,0.12,0,0,'所属地区:')COLOR00FFFF;

DRAWTEXT_FIX(1,0.18,0,0,DYBLOCK)COLOR00FFFF;

角线:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);

角线MA:=MA(角线,5);

ANA:=PLOYLINE(crOSS(角线,角线MA),角线MA),COLORRED;

ANB:=PLOYLINE(CROSS(角线MA,角线),角线MA),COLORFF00FF ;

角买点:=CROSS(角线,角线MA) AND ((ANB>REF(ANB,1) AND ANB>ANA AND 角线MA<=0) OR ((角线MA<=-45 OR CROSS(角线MA,-45)) AND (ANB<-60 OR LLV("kdj.J",3)<=-49) AND ANB>0)),COLORGREEN;

角起涨:=COUNT(CROSS(角线,角线MA),ANA<REF(ANA,5) AND ANB>REF(ANB,5));

角卖点:=(CROSS(角线MA,角线) AND (ANB>REF(ANB,1) OR ANA<REF(ANA,1)) AND ANB>ANA{AND ANB>0} AND 角线MA>0)*1;

角始跌:=COUNT(CROSS(角线MA,角线),ANA<REF(ANA,5) AND ANB>REF(ANB,5));

DRAWTEXT(角买点,L,'角买'),COLOR00FFFF;

通达信超短爆利选股指标公式