Is there a variable of any kind that I can access from an expert which persists across strategy tester optimization runs?
I have tried GlobalVariable functions however they don't appear to persist across optimization tests.
I don't want to resort to using files as that seems like a hack and potentially problematic with multithreaded access. (Again with no global variable available for the expert in the strategy tester, I can't lock across expert instances)
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Is there a variable of any kind that I can access from an expert which persists across strategy tester optimization runs?
I have tried GlobalVariable functions however they don't appear to persist across optimization tests.
I don't want to resort to using files as that seems like a hack and potentially problematic with multithreaded access. (Again with no global variable available for the expert in the strategy tester, I can't lock across expert instances)