how to perform backtesting to my EA linked to an external program ?

 
My EA is exchanging data with Matlab program via csv file. Is there a way to backtest my EA? Any help is appreciated. thanks. Anybody can help me?
Reason: