伊人国产在线视频,亚洲欧美日本国产一区二区三区,日韩乱视频,精品成人一区二区,a在线亚洲男人的天堂试看,国产成人精品系列在线观看,免费精品精品国产欧美在线

【大智慧】KDJ+MACD頂?shù)仔盘?hào)指標(biāo)公式

2016.01.10 18:16

UPPERL:= MA(HIGH,30)*(1+15/100);
UPPERS:= MA(HIGH,3)*(1+3/100);
LOWERS:= MA(LOW,3)*(1-3/100);
LOWERL:= MA(LOW,30)*(1-15/100);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),colorwhite;
D:SMA(K,3,1),coloryellow;
J:3*K-2*D,colorff00ff;
{KDJ抄底信號(hào)}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KDJ抄底:REF(J,1)<0 AND J>0 and 50{,LINETHICK3},COLORRED;
{MACD抄底信號(hào)}
DIFF:=EMA(CLOSE,8)-EMA(CLOSE,13);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
MACD抄底:cross( MACD>REF(MACD,1) AND MACD<0,0.5) and count(MACD=5;
KDJ買入信號(hào): IF((KDJ抄底),80,0),stick3d,linethick2,COLORRED;
MACD買入信號(hào): IF((MACD抄底),80,0),{stick3d,}linethick2,COLORYELLOW;
{頂?shù)仔盘?hào)}
股價(jià)趨勢(shì): 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),linethick0;
買入警戒: IF(股價(jià)趨勢(shì)<=10,45,0),stick,linethick3,COLORWHITE;
頂部警戒: 90, colorred;
賣出信號(hào): IF(CROSS(股價(jià)趨勢(shì),頂部警戒),100,0),stick3d,linethick3,colorgreen;
底部:if(LOWERS aa:=if(UPPERS>UPPERL,60,100);{底粉紅柱}
頂部:if(aa=60,100,0),stick,linethick3,color00ff00;{頂綠柱}
if(aa=60,90,0),stick,linethick3,color000000;{頂綠柱}
100,color00ff00;
50;
0,colorffff00;
rsv1:=100*(close-llv(low,27))/(hhv(high,27)-llv(low,27));
k1:=ref(ma(rsv1,3),1)+(rsv1-ref(ma(rsv1,3),1))/3;
d1:=ref(ma(k1,3),1)+(k1-ref(ma(k1,3),1))/3;
J1:=3*K1-2*D1;
AA1:=EMA(J1,5);
AA2:=REF(AA1,1);
J27:AA1,colorred,linethick0;
{概念股網(wǎng)-股票公式網(wǎng)站 m.chiang1015.com}
RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k2:=ref(ma(rsv2,3),1)+(rsv2-ref(ma(rsv2,3),1))/3;
d2:=ref(ma(k2,3),1)+(k2-ref(ma(k2,3),1))/3;
J2:=3*K2-2*D2;
BB1:=EMA(J2,5);
BB2:=REF(BB1,1);
J9:BB1,linethick0;
DD:=AA1>AA2 AND BB1>BB2;
注意買入:DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ,LINETHICK0,PRECIS0,colorred;
DRAWICON(注意買入,35,1),ALIGN0;
注意賣出:REF(DD,1)=1 AND NOT(DD),LINETHICK0,PRECIS0,colorgreen;
DRAWtext(注意賣出,105,’S’),ALIGN1,COLORGREEN,LINETHICK6;
DRAWICON(注意賣出,115,2),ALIGN1;{哭臉};

 

0 0 0

數(shù)字時(shí)代的手工藝人

我要投稿

申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。

< more >

ABCDEFGHIJKLMNOPQRSTUVWXYZ0-9
暫無相關(guān)概念股
暫無相關(guān)概念股
go top