If it is not running on m15 you have to be aware of the fact that iHighest(..,15,..) and Time[] (may be on m5?) requires different indexes for the bars with the same open time!
Look at your indexes with Comment() and what time open time they will show.
Instead of Time[], High[], and Low[] just use iTime(), iHigh(), and iLow().
Carl Schreiber:
Wow, that was a quick reply... thanks a lot! it works perfectly fine!
If it is not running on m15 you have to be aware of the fact that iHighest(..,15,..) and Time[] (may be on m5?) requires different indexes for the bars with the same open time!
Look at your indexes with Comment() and what time open time they will show.
Instead of Time[], High[], and Low[] just use iTime(), iHigh(), and iLow().
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
Hey Guys,
I wrote this Indicator showing Support and Resistance Lines in the 15min which works perfectly fine. I also want to see these lines in the 5min TF. But when I switch to the M5 TF other lines appear which are not supposed to be there.. Can someone help me out, please?