The sample EAs that come with MT4/MT5 (such as MACD Sample and Moving Average) are provided by MetaQuotes mainly for demonstration and learning purposes, and it is not recommended to use them directly on a live account without testing. You can first backtest them with the Strategy Tester (Ctrl+R), or run them on a demo account as a trial.