以下是通达信趋势大师(附图源码贴图)
趋势大师指标送给大家,喜欢的加关注!
通达信趋势大师副图源码
{趋势大师公式}
A1:EMA(CLOSE,21),COLORMAGENTA,LINETHICK2;
A2:EMA(CLOSE,30),COLORYELLOW,LINETHICK1;
A3:EMA(CLOSE,35),COLORYELLOW,DOTLINE;
A4:EMA(CLOSE,40),COLORYELLOW,DOTLINE;
A5:EMA(CLOSE,45),COLORYELLOW,LINETHICK1;
A6:EMA(CLOSE,90),COLORBLUE,LINETHICK1;
A7:EMA(CLOSE,98),COLORBLUE,DOTLINE;
A8:EMA(CLOSE,106),COLORBLUE,DOTLINE;
A9:EMA(CLOSE,114),COLORBLUE,LINETHICK1;
A10:EMA(CLOSE,140),COLORRED,LINETHICK1;
A11:EMA(CLOSE,148),COLORRED,DOTLINE;
A12:EMA(CLOSE,156),COLORRED,DOTLINE;
A13:EMA(CLOSE,164),COLORRED,LINETHICK1;
KDJ9底:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K9底:=SMA(KDJ9底,3,1);
{www.guziyuan.cn}
D9底:=SMA(K9底,3,1);
J9底:=3*K9底-2*D9底;
STICKLINE(K9底<30,OPEN,CLOSE,3,0),COLORFF0000;
STICKLINE(K9底<30,OPEN,CLOSE,2.5,0),COLORFF1100;
STICKLINE(K9底<30,OPEN,CLOSE,2,0),COLORFF2200;
STICKLINE(K9底<30,OPEN,CLOSE,1.5,0),COLORFF3300;
STICKLINE(K9底<30,OPEN,CLOSE,1,0),COLORFF4400;
STICKLINE(K9底<30,OPEN,CLOSE,0.5,0),COLORFF5500;
STICKLINE(K9底<30,H,L,0,0),COLORFF6600;
STICKLINE(K9底>70,OPEN,CLOSE,3,0),COLOR003300;
STICKLINE(K9底>70,OPEN,CLOSE,2.5,0),COLOR004400;
STICKLINE(K9底>70,OPEN,CLOSE,2,0),COLOR005500;
STICKLINE(K9底>70,OPEN,CLOSE,1.5,0),COLOR006600;
STICKLINE(K9底>70,OPEN,CLOSE,1,0),COLOR007700;
STICKLINE(K9底>70,OPEN,CLOSE,0.5,0),COLOR008800;
STICKLINE(K9底>70,L,H,0,0),COLOR009900;