Codes

ZigZag Based on Close Prices for MetaTrader 4

The code is based on indicator ZigZag which is in-built in MT4. I have changed it so that it isn't calculated on highest Highs and lowest Lows, but instead uses highest Close and lowest Close of chart price history. See attached chart for differences: ZigZag (red) versus ZigZagClose (yellow)

Forum

Backtesting EA which loops through all Symbols

Dear Friends, we've built an EA for MT5 which loops through all Symbols, calculates indicators for them and makes deals in those symbols with signals. All from one chart. In live trading it works well, but I can't seem to get it to work in the strategy tester . Could anyone please advise? Thanks so