一个警告改灶的指标,可能很好用
DIFF:=EMA(CLOSE/INDEXC,12) - EMA(CLOSE/INDEXC,26);
DEA:=EMA(DIFF,9);
MACD:= 2*(DIFF-DEA);
HH1:=HHV(HIGH,N);
LL1:=LLV(LOW,N);
HH2:=MA(HH1,N1);
LL2:=MA(LL1,N1);
HH3:=MA((2*HH2+LL2)/3,N2);
LL3:=MA((HH2+2*LL2)/3,N2);
STICKLINE(C>HH2 AND MACD>=0 ,O,C,10,1),colorblue;
STICKLINE(C>HH3 AND C<HH2 AND MACD>=0 ,O,C,10,1),coloryellow;
STICKLINE(C>LL3 AND C<HH3 AND MACD>=0 ,O,C,10,1),colorwhite;
MA1:MA(C,5);
MA2:MA(C,38);
MA4:MA(C,215);