您现在的位置:好股网 >> 股票公式 >> 同花顺公式 >> 一键转帖:非常不错的三个趋势指标(源码 主副图 贴图)

非常不错的三个趋势指标(源码 主副图 贴图)


指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-04-02 12:36:00
公式简介:

一、趋势指标

XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
B:=CLOSE*0;
短线:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK1,colorwhite;
中线:EMA(SLOPE(CLOSE,21)*20+CLOSE,55),LINETHICK1,colorgreen;
X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
长线:EMA(VAR2,21),LINETHICK1,colorblue;

二、八条均线
MA5:MA(CLOSE,5),COLORFFFFFF; MA10:MA(CLOSE,10),COLOR00FFFF; MA20:MA(CLOSE,20),COLORFF00FF; MA30:MA(CLOSE,30),COLORFFFF00; MA60:MA(CLOSE,60),COLOR00FF00,LINETHICK2; MA80:MA(CLOSE,80),colorgray; MA120:MA(CLOSE,120),COLORff937f; MA240:MA(CLOSE,240),COLOR0000FF,LINETHICK2;


三、趋势为王、彩虹图指标
X1:=(CLOSE+LOW+HIGH)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
VAR2:=EMA(EMA(X1,1),13);
VAR3:=EMA(VAR2,21);
STICKLINE(VAR2>=VAR3,VAR2,VAR3,8,0),colorred;
STICKLINE(VAR2<VAR3,VAR2,VAR3,8,0),colorcyan;
XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);
XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);
TEMPG:=MAX(HIGH,XOPEN);
XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);
TEMP:=MIN(LOW,XOPEN);
XLOW:=EMA(MIN(TEMP,XCLOSE),3);
O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);
C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);
STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0.1,0),colorwhite;
STICKLINE(XOPEN>=XCLOSE,C1,O1,6,0),colorgreen;
STICKLINE(XOPEN<XCLOSE,XHIGH,XLOW,0.1,0),colorwhite;
STICKLINE(XOPEN<XCLOSE,C1,O1,6,0),colormagenta;
AC:=CLOSE;
转强:=WMA(HIGH,6);
转弱:=WMA(LOW,6);
B:=CLOSE*0;
转折线:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK2,coloryellow;
趋势:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);
OP:=MA(X1,5);
REFOP:=REF(OP,1);
YDD:='==yungkuang==';
MA5:=MA(CLOSE,5);
MA10:=MA(CLOSE,10);
MA20:=MA(CLOSE,20);
MA60:=MA(CLOSE,60);
C1:=REF(CLOSE,1);
C2:=HHV(C1,2);
C3:=LLV(C1,1);
ET:=HHV(C1,2);
ET1:=REF(ET,1);
XB:=LLV(C1,1);
XB1:=REF(XB,1);
M:=BARSLAST(CLOSE<XB AND C1>=XB1);
M11:=REF(M,1);
N9:=BARSLAST(CLOSE>ET AND C1<=ET1);
N1:=REF(N9,1);
M21:=BARSLAST(M-N9>0 AND M11<=N1)+1;
N2:=BARSLAST(N9-M>0 AND N1<=M11)+1;
ET2:=HHV(ET,M21);
XB2:=LLV(XB,N2);
A:=IF(M-N9>0 AND M11<=N1,1,IF(N9-M>0 AND N1<=M11,0,2));
H1:=IF(M-N9>0,CLOSE,ET2);
H2:=IF(A=1,CLOSE,C2);
H3:=IF(M-N9<0,CLOSE,XB2);
H4:=IF(A=1,CLOSE,XB2);
H5:=IF(M-N9>0 OR A=1,CLOSE,H3);
H6:=REF(H5,1);
H7:=REF(H5,2);
H8:=H5>H6;
H9:=H4=REF(H4,1) AND REF(H4,1)<REF(H4,2) AND H5>REF(H5,2);
H10:=H2=REF(H2,1) AND H4=REF(H4,1) AND H5=REF(H5,2);
W:=H8 OR H9 OR H10;
T9:=H5<H6 AND H5<REF(H5,2);
T10:=H4=REF(H4,1) AND H5<REF(H5,2);
T11:=H3>REF(H3,1) AND H5<REF(H5,1);
T12:=H5=REF(H5,1) AND H3=H4;
T13:=H2=REF(H2,1) AND H2=H5;
 


 


 


[url=http://www.goodgupiao.com/gupiaogongshi/13067.html][B]非常不错的三个趋势指标(源码 主副图 贴图)[/B][/url]