[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 410

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
Well, where is the indicator?! (guessing by coffee grounds Tel. https://www.mql5.comhttps://www.mql5.com/ru/)
Correction...
The problem is - the indicator doesn't redraw with the appearance of a new bar.
The indicator code is in the attached file. I cannot place it via src (the code is not too big).
Thanks in advance for the help.
Read
first set the size of the array
buf[2]; .
assign
buf[0]=x1; buf[1]=x2;
Read it will take you 2 min.
Could you tell us how to describe the situation in the following way? Suppose we have only a bar formed on a high TF (for example iHigh[NULL,1440,1]). How to describe the first bar in the code on a lower TF while iHigh[NULL,1440,0] is forming?) ? I can only think of cumbersome structures. Thank you!
i.e., do you know if a new daily candle has opened on a lower timeframe?
Or boundaries in bars of 1 day candle on a low (not 0)
Correction...
The problem is that the indicator does not redraw with the appearance of a new bar.
The indicator code is in the attached file. I did not manage to place it via src (the code seems to be small).
I am very thankful for the help.
i.e., do you know if a new daily candle has opened on a lower timeframe?
Or boundaries in bars of a 1-day candle on a low (not 0)
When a new candle opened in the high TF, return the value of a certain candle in a low TF, but within the limits of the candle, which is formed (it is now on the high 0-th), in the high TF. I.e. while there is still a 0 candle on the high TF, to return the value of a certain candle on the low TF.
In my case we need to know that this candle on (M1 for example) closed above the high on D1 (for example).
How do I make:
if Condition1 is true, then don't check it on every tick, and on subsequent ticks check Condition2 also and then Condition3 also until we declare all flags to be false?
ex4 is not viewable, need mq4
ok. sorry...
When a new candle opened on the high TF, return the value of a certain candle on the low TF, but within the candle being formed (it is still 0 on the high), on the high TF. I.e., while there is still a 0 candle on the high TF, to return the value of a certain candle on the low TF.
In my particular case, I need to know that this candle on (M1 for example) closed above the high on D1 (for example).
Still do not understand
The picture is probably easier to explain.
ok. sorry...
it reads the data of the bar that has already established (previous) i+1 remove. But the creator's algorithm will be broken (he knows best, I also work on open and generated data +1)