[WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you. - page 1027

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
The point is - it's looking for the minimum on the current timeframe, which is indicated on another TF - and there is either no such data, or they don't match... because MT4 does not build bars on higher timeframes out of minutes... as in MT5 for example...
How can it find anything here?
If you have not found it, you should double-check it and see if the data has been updated three times, then forget about this bar and let the user understand the inconsistency through the print and sleep, probably.
Why are you bothering with the switch :) - He went through the minutes - did not find it - 5 minutes, there is no 15 and so on and so on ...
Why does he need to find the PERIOD (TF)? - please describe in more detail what he wants....
why bother with the switch :) - went through the minutes - couldn't find it - felt the 5minutes, no 15 and so on and so on...
Yes where is the interruption in the switch, it will always switch until it gets to the end or finds a default.
Dawo probably didn't practice ;)
i1tf is the timeframe of the 1st end of the line bar) was 1tf, but you can't start names with numbers:)
costy, you should have just said so)
Hey, Eddie - since you're here - in your own words, tell me what you want...
What TF are you throwing at and what do you expect to get as a result?
i1tf is the timeframe of the 1st end of the line bar) was 1tf, but you can't start names with numbers:)
costy, you should have said so straight away)
Write the problem, it will be faster to solve it than to explain the methods, but in an easier way, without mcool, in manly terms.
"i1tf is a timeframe " what does i1tf do in
Time[i1st-1]