通达信MACD小鸭出水及选股指标公式
2021/2/7 18:50:47
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);
}
投股 票网 www.to u18.cn
股市公式下载推荐