九毛八公式指标
DIFF:=EMA(CLOSE,34)-EMA(CLOSE,55),COLORFFDDFF,LINETHICK1; DEA:=EMA(DIFF,13),COLORAADDFF,LINETHICK1; MACD:=2*(DIFF-DEA),COLORSTICK; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); AA:=CROSS(CCI,-70); MM:=MACD>REF(MACD,1) AND MACD>0 AND CLOSE>OPEN; DD:AA AND MM,NODRAW,COLORFFBBFF; MA1:=MA(CLOSE,5); MA3:=MA(CLOSE,20); 一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1
公式模块:
DIFF:=EMA(CLOSE,34)-EMA(CLOSE,55);
DEA:=EMA(DIFF,13); macd:=2*(DIFF-DEA); TYP:=(HIGH+LOW+CLOSE)/3; cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); AA:=crOSS(CCI,-70); MM:=MacD>REF(MACD,1) AND MACD>0 AND CLOSE>OPEN; DD:AA AND MM; MA1:=MA(CLOSE,5); MA3:=MA(CLOSE,20); XG:MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN;