MT4 Portable and array out of range error
Posted: Thu May 15, 2025 8:27 pm
Hello,
I am having issues backtesting my EA in portable MT4.
I am trying to keep all of my MT4 files off of my operating system hard drive C.
I installed the MT4 terminal on the D: Drive, in which I then made it a portable MT4 terminal.
For some reason no matter what I do MT4 seems to create the folder structure under users/user/AppData/Roaming/MetaQuotes/Terminal onto my C: Drive.
Before I make the MT4 portable I move all of the files in from the C:Drive User folder over to the similar folder onto the D:Drive.
TickStory data I am saving out to a different folder on my D:Drive.
I have selected the MT4 terminal in the TickStory settings. I used the TickStoryInfo EA to get the data needed for exporting.
When I open the MT4 terminal from TicksStory and I test the Moving Average EA in Strategy Tester I get the 99.9% quality backtest but when I try to test my EA I am getting an array out of range error.
I am able to backtest my EA on a basic MT4 terminal without it being linked to TickStory or being made portable.
I was curious if anyone has had a similar issue to this or if anyone might have a solution it would be helpful.
Thanks in advance.
I am having issues backtesting my EA in portable MT4.
I am trying to keep all of my MT4 files off of my operating system hard drive C.
I installed the MT4 terminal on the D: Drive, in which I then made it a portable MT4 terminal.
For some reason no matter what I do MT4 seems to create the folder structure under users/user/AppData/Roaming/MetaQuotes/Terminal onto my C: Drive.
Before I make the MT4 portable I move all of the files in from the C:Drive User folder over to the similar folder onto the D:Drive.
TickStory data I am saving out to a different folder on my D:Drive.
I have selected the MT4 terminal in the TickStory settings. I used the TickStoryInfo EA to get the data needed for exporting.
When I open the MT4 terminal from TicksStory and I test the Moving Average EA in Strategy Tester I get the 99.9% quality backtest but when I try to test my EA I am getting an array out of range error.
I am able to backtest my EA on a basic MT4 terminal without it being linked to TickStory or being made portable.
I was curious if anyone has had a similar issue to this or if anyone might have a solution it would be helpful.
Thanks in advance.