[ARCHIVE] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 3. - page 479
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
How do you answer without knowing that NumTimeFrames TimeFrames[i] is empty or what?
Write fuller, how, or rather, what to read carefully if there is nothing. Write the full code, otherwise you will most likely "gnaw the granite of science",,,,)) if(true)continue; else return("Sleep("+7*1000*60*60+")");
You got it right.
Basically, as I understood it, we can skip checking for the appearance of new bars.
Actually it can be reduced to a simple question: "on what commands and at what moment MT downloads quotes from brokerage companies?
could you cite the code you used to test your statement?
As I assumed you didn't understand the question.
Try this:
Запустите на периоде М5 и подождите минуту, в логе вы обнаружите, что с каждой минутой отображается одно и то же число! Хотя оно, очевидно, должно увеличиваться с каждой минутой)
As I assumed you didn't understand the question.
Try this:
Запустите на периоде М5 и подождите минуту, в логе вы обнаружите, что с каждой минутой отображается одно и то же число! Хотя оно, очевидно, должно увеличиваться с каждой минутой)
what number are you displaying ?
what is the time of this iBars bar ?
is there a story on the M1?Reshetov ,sergeev ,costy_
thanks
I rechecked, it seems to work after all, and I was wrong in my assumption.
iBars seems to really work correctly, not even on the current graph
This piece selects the highest buy order and adds 20 pips to its price, and moves the take profit to that level. But in fact it's not 20 pips, it is 13 pips. Why 13, not 10, not 30, but 13? Where does this number come from?
20-Spred
Open at Bid, close at Ask
20-Spred
Open at Bid, close at Ask
No, take profit has not triggered yet. This code finds the highest pending buy order and subtracts 20 points from its open price. The profit is simply moved to 20 points more. It seems the spread should not be taken into account here. Besides, the spread is fixed at 2 points and we are missing 7 points.
Tra ta ta