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
You look at for example M15 bars.
Then you want the first one ?
That will be the one that trips over along with the first H1 bar.
So you filter for that.
Your solution is very basic.
I don't want to check for every possible case seperately.
I want a universal solution for all cases possible.
But, I guess I will need to do some checkinig for some cases.
Because you have to check them both to see if they both tripped over.
Good hint, I did some checking, thanks.
Hello everybody!
I need help with the code snippet to find the first candle (or any next candle) of a lower timeframe for any other higher timeframe candle. Problems arrise from H4 and higher. I want to write myself an indicator to extract the OHLC data from that specific lower Tf candle and plot something according to that data.
All help appreciated.
Please use the CODE button (Alt-S) when inserting code — https://www.mql5.com/en/articles/24#insert-code or attach the file. This time I fixed it for you.
Hello everybody!
I need help with the code snippet to find the first candle (or any next candle) of a lower timeframe for any other higher timeframe candle. Problems arrise from H4 and higher. I want to write myself an indicator to extract the OHLC data from that specific lower Tf candle and plot something according to that data.
All help appreciated.
Hi @Dadas
Try this article https://www.mql5.com/en/articles/599#access_bar_time