N1:=6; N2:=12; N3:=26; MTM:=C-REF(C,1); MMS:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLOR00FF00; MMM:100*EMA(EMA(MTM,N2),N2)/EMA(EMA(ABS(MTM),N2),N2),COLORYELLOW; MML:100*EMA(EMA(MTM,N3),N3)/EMA(EMA(ABS(MTM),N3),N3),COLORWHITE; VAR3:=(3,15,1)<9; VAR5:=IF(VAR3=1,2,0); DRAWTEXT(CROSS(MML,MMS) AND REF(MMS,1)>80,REF(MMS,3), '頂'); 逢低買:DRAWTEXT(REF(CROSS(MML,MMS),82) AND (MML>1.3*MMS),MMS,'逢低買');
|
|