hhcfx:
It's not a good idea to search in the future. You have to start from an Upbar and then seek in the past if there is a down bar encountering your requirements.
Hi Everyone,
My idea is that: If there is a Down-bar, I will track the first Up-bar that has Close higher than the Open of the Down-bar.
Also, the first Up-bar must be within 5 bars from the Down-bar.
Could you please help me debug my code below?
Thank you for your help.
HHC
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
Hi Everyone,
My idea is that: If there is a Down-bar, I will track the first Up-bar that has Close higher than the Open of the Down-bar.
Also, the first Up-bar must be within 5 bars from the Down-bar.
Could you please help me debug my code below?
Thank you for your help.
HHC