可以结合看MACD和KDJ,可根据指标颜色的变化来考虑买卖! DIFF : (EMA(CLOSE,SHORT) - EMA(CLOSE,LONG));
DEA : EMA(DIFF,M);
MACD : 4*(DIFF-DEA);
Zero : 0;
STICKLINE(diff>=REF(diff,1),HHV(MACD,89),LLV(MACD,89),12,0),colorlired;
STICKLINE(diff<REF(diff,1),HHV(MACD,89),LLV(MACD,89),12,0),colorligreen;
RSV=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N));
a=SMA(RSV,M1,1);
b=SMA(a,M2,1);
e=3*a-2*b;
IF(a<0) a=0;
IF(a>100) a=100;
IF(b<0) b=0;
IF(b>100) b=100;
IF(e<0) e=0;
IF(e>100) e=100;
K:a;
D:b;
J:=e;
PARTLINE(k,k>=REF(k,1),colorred,k<REF(k,1),colorgreen),Linethick3;
|
