Access violation write to 0x3FF1C139

 

Hello All,


I got thos error while backtesting a code on MT4 strategy tester. I will appreciate any help.

The code is attached also.

Thanks.

Below is the error:

1 16:45:05.015 2020.01.03 09:42:01  Access violation write to 0x3FF1C139 in 'C:\Users\user\AppData\Roaming\MetaQuotes\Terminal\46A834A4BD020127C05B0DA2582F8F5C\MQL4\Experts\GridLast.ex4'

3 16:45:05.016 2020.01.03 09:42:01  Testing pass stopped due to a critical error in the EA

Files:
GridLast.mq4  10 kb
Reason: