And what is you problem your question.
if it works or not just use debugging with hist. data which would be quite useful as you can select moments in the history when it should work and when it should not.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I recently had this idea of taking profit based on money or cents assuming i want to use this method away from pips or points ,the code should no be affected by pips or points but should use this method below to take profit in cents or dollars minimum dollar amount 1 minim tp in cents is 1 cent ,attached is a version for my code