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 tick data + some external data I keep on my own database.

Is it possible to backtest my EA with mql5 considering my external data as expected?


Any explanation or documentation or code snippet would be much appreciated!

Thanks

Reason: