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.
Hi there,
I have this indicator which draws SR lines from fractal levels.
I appears as below and looks like it is working.
Then, I go in to Strategy Tester and start testing a system using the indicator.
It starts off as expected as below.
The lines are being drawn at the same levels in Strategy Test as in the regular view.
Then I press F12 for the next bar to appear and the red line has changed its position as below.
The code for the indicator is below:
Can someone please advise how to deal with this?
Thanks.