通达信拐点主图指标公式
通达信优化后的EXPMA主图指标公式
通达信拐点主图指标公式:
N:=2;
N1:=9;
N2:=12;
N3:=26;
N4:=1;
MA5:MA(CLOSE,N),LINETHICK1,COLORWHITE;
MA10:MA(CLOSE,N1),LINETHICK1,COLORYELLOW;
MA20:MA(CLOSE,N2),LINETHICK1,COLORMAGENTA;
MA60:MA(CLOSE,N3),LINETHICK1,COLORGREEN;
买线:=EMA(C,N4);
卖线:=EMA(SLOPE(C,20)*10+C,35);
DRAWTEXT(crOSS(买线,卖线),LOW*1.00,'←买'),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(卖线,买线),HIGH*1.01,'←卖'),COLORGREEN;
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(90,RSI) , HIGH*1.01,'←逢高出局!'),COLOR00FF00 ;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF
(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF
(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;
主力成本:EMA(X,13),COLORFF00FF,LINETHICK0;
ZZ:=(O+H+L)/3;
YC:=(H+L)/2;
YCHJX:=(EMA(ZZ,4))+(YC-REF(ZZ,3))/4;
今日买点:EMA(ZZ,3),COLORYELLOW,LINETHICK0;
通达信精典VOL量指标公式