and delete your second, redundant post.
Play videoPlease edit your post.
For large amounts of code, attach it.if ( isHigherThan((iClose(NULL, tf, s)/iClose(NULL, tf, s+400-1))/400, 0.0025) )
Are you sure you have History + 400 bars? The tester only guarantees 100 bars. If you don't, iClose returns zero.
WHRoeder:
and delete your second, redundant post.
Play videoPlease edit your post.
For large amounts of code, attach it.-
Are you sure you have History + 400 bars? The tester only guarantees 100 bars. If you don't, iClose returns zero.
Yes I'm sure.
Lol i-- was missing...

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 have no idea why... There is no problem with the functions isLongTermTrend() and isHigherThan(), because I use them in an EA and they work fine there.