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
Sorry about that, when I copied it from your earlier post I didn't notice it was in a potentialy infinate while loop. Limit j to run just a few bars and see what happens. I would say your problem is not with EMPTY_VALUE, it is more likely because at no time do all 4 of your conditions run true at the same time in either set, therfore it never reaches break.