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;
DIFF:EMA(J,8) - EMA(J,16),COLOR00FF00;
DEA:EMA(DIFF,5),COLORFF9900;
MACD:2*(DIFF-DEA),COLORSTICK;
0,COLORFF9900,DOTLINE;
TYP:FORCAST(((2*C+H+L)/4*0.618+C*0.382),3),COLOR00FFFF,LINETHICK0;
AAX:=(TYP-MA(TYP,9))/MA(TYP,9)*100;
VARM:=MIN(COUNT(TYP,0),9);
AAX1:=EMA(AAX,VARM) *VARM;
AAX2:=MA(AAX1,3);
AAX3:=MA(AAX1,5);
卖:AAX3>10 AND AAX1<REF(AAX1,1) AND CROSS(AAX2,AAX1),LINETHICK0;
减仓:FILTER(卖,5),LINETHICK0;
DRAWTEXT(减仓,10*1.6,'◆'),COLORCYAN;
DRAWTEXT(减仓,10*1.5,'◇'),COLOR00FF00;
DRAWTEXT(减仓,10*1.59,'◆'),COLORCYAN;
14Q24a42110-44N0.jpg
|