【大智慧】MA+KDJ+RSI頂?shù)妆畴x主圖指標(biāo)公式
攻城獅 2016.01.10 17:22
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水嶺:IF(MA(CLOSE,17) 操作線(xiàn):分水嶺-(EMA(C,3)-分水嶺),COLOR00FFFF,LINETHICK2;
PM:Ma(C,5),COLORred,linethick2;
IF (PM>分水嶺,PM,pm),Color0000FF,linethick2;
IF (PM>分水嶺,分水嶺,a),ColoR00ff00,POINTDOT,linethick4;
IF (CIF (PM<分水嶺,分水嶺,pm),Color0000FF,linethick2;
DRAWICON(CROSS(分水嶺,操作線(xiàn)),分水嶺-0.02,1);
{頂?shù)妆畴x}
A1:=BARSLAST(ref(cross(“macd.diff”(12,26,9),”macd.dea”(12,26,9)),1));
B1:=ref(c,A1+1)>c and ref(“macd.diff”(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));
{概念股網(wǎng)-股票公式網(wǎng)站 m.chiang1015.com}
DRAWTEXT(FILTER(B1>0,5),L-0.12,’M底’),COLORRED;
A2:=BARSLAST(ref(cross(“kdj.k”(9,9,3),”kdj.d”(9,9,3)),1));
B2:=ref(c,A2+1)>c and ref(“kdj.k”(9,9,3),A2+1)<"kdj.k"(9,9,3) and cross("kdj.k"(9,9,3),"kdj.d"(9,9,3));
DRAWTEXT(FILTER(B2>0,5),L-0.08,’K底’),COLORFF00FF;
A3:=BARSLAST(ref(cross(“RSI.RSI1″(6,12,24),”RSI.RSI2″(6,12,24)),1));
B3:=ref(c,A3+1)>c and ref(“RSI.RSI1″(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
DRAWTEXT(FILTER(B3>0,5),L-0.02,’R底’),COLORffcc66;
C1:=BARSLAST(ref(cross(“macd.dea”(12,26,9),”macd.diff”(12,26,9)),1));
D1:=ref(c,C1+1)“macd.diff”(12,26,9) and cross(“macd.dea”(12,26,9),”macd.diff”(12,26,9));
DRAWTEXT(FILTER(D1>0,5),H+0.24,’M頂’),COLOR0066FF;
C2:=BARSLAST(ref(cross(“kdj.d”(9,9,3),”kdj.k”(9,9,3)),1));
D2:=ref(c,C2+1)“kdj.k”(9,9,3) and cross(“kdj.d”(9,9,3),”kdj.k”(9,9,3));
DRAWTEXT(FILTER(D2>0,5),H+0.16,’K頂’),COLOR00FF00;
C3:=BARSLAST(ref(cross(“RSI.RSI2″(6,12,24),”RSI.RSI1″(6,12,24)),1));
D3:=ref(c,C3+1)“RSI.RSI1″(6,12,24) and cross(“RSI.RSI2″(6,12,24),”RSI.RSI1″(6,12,24));
DRAWTEXT(FILTER(D3>0,5),H+0.08,’R頂’),COLORffffCC;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀(guān)點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀(guān)點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。