Running ReportHistory from MQL5

 

Does anyone have code that runs the ReportHistory from MQL5?

I am trying to automate so that it runs without me having to run.

I have searched and I cannot find anything even close to doing this.


Any help is greatly appreciated.

Eddi Rae