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 donno what log you are talking about, so I decided to upload the screenshots. As you see, Here1 or Here2 message never gets printed (I waited for long dont worry) but the values of slope_up and slope_dn are as I reported above.
Play video
For large amounts of code, attach it.
You don't need to normalize EMPTY_VALUE.
output:
2013.08.16 22:41:42 EmptyValue test EURUSD,M1: EMPTY_VALUE is 2147483647
2013.08.16 22:41:42 EmptyValue test EURUSD,M1: val was equal to EMPTY_VALUE 1000000 times.
2013.08.16 22:41:42 EmptyValue test EURUSD,M1: val was not equal to EMPTY_VALUE 0 times.
Actually I had done such but the result was still the same (it didn't enter the if block). That's why I blamed it on EMPTY_VALUE equality and decided to normalize that value. If the script was like this:
the result is identical, the if block is skipped. I believe Im getting you confused but I have no idea why it behaves such. What may I be missing?!
I dont know maybe you should try it like this to see where it fails.