Learn to read the code - line 54 of the posted test indicator goes like this :
Your change has nothing in common with any division
You didnt get me. Anyway I added what was missing in your code now its at par with the mt4 version except for the current open bar where my mt4 code is real time while yours is frozen in place. Thanks all. I believe its fine now.
For reference this works fine for the most part. Might help someone in future. Though Im still wondering why the earlier issue only happened with separate_window.
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.
Nothing wrong with MT5 in your case - but your code
Ive found the issue. Your code is correct only that you didnt divide by
(Slope_LookBack+1)After division it will match the mt4 version. Thanks for this.
Ive found the issue. Your code is correct only that you didnt divide by
After division it will match the mt4 version. Thanks for this.
Learn to read the code - line 54 of the posted test indicator goes like this :
Your change has nothing in common with any division
Learn to read the code - line 54 of the posted test indicator goes like this :
Your change has nothing in common with any division
For reference this works fine for the most part. Might help someone in future. Though Im still wondering why the earlier issue only happened with separate_window.