(MT4) Visual Mode Indicator to get Backtest Data instead of Live Account Date

 

Hi guys

I have written code in an EA , that generates data during backtest such as equity and different times, drawdown,active trades, exposure and so. It also produces csv files and html report at the end of the backtest.

What I would like to do is put that code in an indicator (that I will share later with the community) that you can put on a chart while running an EA in visual mode so one can get that data with any EA without having to input code in the EA.

However when using the standard codes that show Account Balance ,or Active Trades the indicator will get the info from the Live Account instead of the Backtest Data.

Is anyone aware of how you can do that.  

To have an external indicator read the Backtest Data while is running, without having to add code to the EA?


Thank you