通达信MACD小鸭出水及选股指标公式

DIF:=EMA(CLOSE,28)-EMA(CLOSE,35);
DEA:=EMA(DIF,7) LINETHICK1 COLOR00FFFF ;
DEA1:=EMA(DIF,7) LINETHICK2 COLOR006EE4 ;
MACD:=(DIF-DEA)*2,COLORSTICK;
AA:=BARSLAST(BARSLAST(BARSLAST(DEA<0 AND CROSS(DIF,DEA))=0)>1 AND CROSS(DEA,DIF))>1 AND CROSS(DIF,DEA) AND DEA<0 AND REF(DIF,6)>REF(DEA,6);
STICKLINE(AA,0,0.5,0.5,0)COLOR0000FF;
STICKLINE(AA,0.5,1,1,0)COLOR00FFFF;
STICKLINE(AA,1,1.5,0.5,0)COLORFFFF22;
STICKLINE(AA,1.8,1.9,4,0)COLORFF4A22;
STICKLINE(AA,2,2.1,6,0)COLORFF4A22;
STICKLINE(AA,2.2,2.3,7,0)COLORFF4A22;

{
选股公式:

DIF:=EMA(CLOSE,28)-EMA(CLOSE,35);
DEA:=EMA(DIF,7) LINETHICK1 COLOR00FFFF ;
DEA1:=EMA(DIF,7) LINETHICK2 COLOR006EE4 ;
MACD:=(DIF-DEA)*2 ;
AA:BARSLAST(BARSLAST(BARSLAST(DEA<0 AND CROSS(DIF,DEA))=0)>1 AND CROSS(DEA,DIF))>1 AND CROSS(DIF,DEA) AND DEA<0 AND REF(DIF,6)>REF(DEA,6);
}

通达信MACD小鸭出水及选股指标公式

 

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu