通达信附图指标致命出击指标通不过的问题
2019/12/9 18:26:20
公式编写说明:
DIFF:=EMA(CLOSE,34)-EMA(CLOSE,55),COLORFFOOFF,LINETHICK1;DEA:=EMA(DIFF,13),COLOROODDFF,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 ANDCLOSE>OPEN;dd:AA AND MM,NODRAW,COLORFFOOFF;MA1:=MA(CLOSE,5);MA3:=MA(CLOSE,20);一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN;一穿三 AND dd ;DRAWTEXT(一穿三, dd*1.13,'←致命出击');coloryellow;
公式源码示例:
DIFF:=EMA(CLOSE,34)-EMA(CLOSE,55),COLORFF00FF,LINETHICK1;
DEA:=EMA(DIFF,13),COLOR00DDFF,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,COLORFF00FF;
MA1:=MA(CLOSE,5);
MA3:=MA(CLOSE,20);
一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN;
一穿三 AND DD ;
DRAWTEXT(一穿三, DD*1.13,'←致命出击'),COLORYELLOW;
看股吧 公式 www.kangub a.com
其它股票公式列表