Of course it does, you are using High[] which will return the high for the shift on the current timeframe
If you want the high from the M5 timeframe, then you should be using iHigh
Thanks GumRai,
i got my error.
cheers
blueball:
Thanks GumRai,
i got my error.
cheers
Well done :)
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 guys,
this code returns different results every time you change the timeframe.
The period is static. Therefore it should give the same result on every timeframe!
Any idea how to solve this problem?
thanks in advance,
Daniel