Axel_Lexa / Publications
Forum
Detect event when pending order is placed or removed?
Hello everyone, I'm coding my first EA and I'm trying to detect when a pending order is added or removed from the chart. I'm currently looking at the function OnTradeTransaction(), particularly at ENUM_TRADE_TRANSACTION_TYPE inside the object MqlTradeTransaction . I see there are these 2 values that
Backtesting EA with external data
Greetings! I'm pretty new to MT5 but I know we can backtest our Expert Advisors with historical data provided by the broker of choice. My current EA is just sending and receiving data and commands from a Python script I wrote. This script contains the actual strategy, which is based on the brokers