Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 761
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
OK.
So you can't catch it on the fly, i.e. when it's logged?
Who prevents you from reading the log every 100ms, it's almost "on the fly"? The only difference is that I haven't checked access rights, I haven't checked if the script can open the file not in a sandbox (\MQL4\Files\) but from other directories, using MQL.
That's fine. I guess there's no other way to do it.
i already have everything on my screen except for these messages, and i want a news feed. that's it, we look at the screen, watch the bidding and don't even touch it )))) it's beautiful !!!
Just wipe the screen...
Who prevents from reading the log every 100ms, it's almost "on the fly"? Except for access rights, I haven't checked if the script can open file not in sandbox (\MQL4\Files\), but from other directories, using MQL.
Hello! If anyone knows, can you please explain what this line is equal to? The period of the current timeframe? If so, how to increase it correctly?(TimeCurrent()+600)*2?
TimeCurrent()+PeriodSeconds()*х;
there's the current time + 600 seconds :
Why is this correct??? Is PeriodSecond() equal to 600???
The question was how to correctly increase the value of the variable by the period, did I state somewhere that "PeriodSecond() is 600???"
I think you misunderstood the question.
Hello! If anyone knows, can you please explain what this line is equal to? The period of the present timeframe? If so, how to increase it correctly?(TimeCurrent()+600)*2?
And I don't understand how to answer it. The TimeCurrent() is in no way connected with TF and any manipulations with it will cause only unpredictable number. It will change almost at every tick.
I think you misunderstood the question.
And I do not understand how to answer it. TimeCurrent() is in no way related to the TF and if you do anything with it, you will only get an unpredictable number. It will change almost at every tick.
Question:
Hello! If anyone knows, can you please explain what this line equals?
Answer:
evillive:
there current time + 600 seconds.
What exactly is unclear?
Next is the second question:
...The current timeframe period? If so, how do I increase it correctly?(TimeCurrent()+600)*2?
Clearly, a person wants to add the current time to the timeframe period, and this is exactly what it is
TimeCurrent()+PeriodSeconds()*х;
and again - what is not clear?