DIFF:=((EMA(CLOSE,26) - EMA(CLOSE,12)) * -1);
DEA:=EMA(DIFF,9);
DEA1:=EMA(DIFF,18);
MACD:=(2 * (DIFF - DEA));
操盤:STICKLINE(((MACD >= 0) AND (MACD>= REF(MACD,1))),0,MACD,4,1),color0000FF;
減倉:STICKLINE(((MACD >= 0) AND (MACD <REF(MACD,1))),0,MACD,4,0),colorFF00FF;
反彈:STICKLINE(((MACD < 0) AND (MACD >=REF(MACD,1))),0,MACD,4,1),colorFFFF00;
尋底:STICKLINE(((MACD < 0) AND (MACD <REF(MACD,1))),0,MACD,4,0),colorFFFF00;
IF((DIFF < 0),DIFF,0),LINETHICK2,colorFFFF00;
IF((DIFF <DEA),DIFF,DEA),LINETHICK2,colorFFFFFF;
IF((DIFF < 0),0,DIFF),LINETHICK2,colorFF0000;
STICKLINE((DIFF <MA(DIFF,2)),DIFF,DEA,6,0),LINETHICK2,colorFFFFFF;
IF((DIFF >DEA),DEA,DEA),LINETHICK2,colorFF0000;
空倉:STICKLINE((DEA <MA(DEA,5)),DEA,DIFF,6,0),LINETHICK2,colorFFFFFF;
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));
周K:=MA("KDJ.K"(9,3,3),5);
周D:=MA("KDJ.D"(9,3,3),5);
周J:=MA("KDJ.J"(9,3,3),5);
DRAWICON(((K < 20) ANDCROSS(K,D)),MACD,8),LINETHICK0,color808080;
周金▲:dRAWTEXT(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),MACD,'▲'),LINETHICK0,colorred;
周死▼:dRAWTEXT(CROSS("KDJ.D"(9,3,3),"KDJ."(9,3,3)),(MACD *1.5),'▼'),LINETHICK0,colorFF0000;
CYC13:=((0.01 * EMA(AMOUNT,7)) / EMA(VOL,7));
CYC5:=((0.01 * EMA(AMOUNT,5)) / EMA(VOL,5));
CYC34:=((0.01 * EMA(AMOUNT,21)) / EMA(VOL,21));
VAR1:=((CYC5 > CYC13) AND (CYC13 >CYC34));
0,CIRCLEDOT,colorAAAAAA;
持股:STICKLINE((VAR1 = 1),0,0,0,0),LINETHICK4,colorred;
持幣:STICKLINE((VAR1 = 0),0,0,0,0),LINETHICK4,colorFF0000;
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請
點(diǎn)擊舉報(bào)。