Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 365
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 need to find dates to the exact hour (minutes and seconds are not important).
try this
Would CopyTime be a better option?
Such variant.
Translating time into a string and comparing it is not a good option.
Yes, that's what I understood, that's why I raised the question. Thank you.
Try this.
Thank you.
Hello, I've searched a lot on the net, but so far I haven't found anything useful. I am interested in an algorithm for calculating volatility, but not a simple arithmetic mean, but with the exception of sudden jumps (during news releases, etc.), if someone has already written such an algorithm, I would not want to re-invent the wheel.
Hi all! I'm just learning the codes. There is an error, can't figure out how to fix it.
.....for(int i=OrdersTotal()-1;i>=0;i-)
.....It should be like this :
Hi all.
Teach me how to write that after opening an order for a given candlestick, no new orders will open again.
Hi all.
Teach me how to write that after opening an order for a given candlestick, no new orders will open again.
Check by date of opening of order and candlestick...
Check by order and candlestick opening date...
And a code example, if you can...
I do not really understand. If the candlestick is on hourly timeframe, how by date?
And a code example, if you can...
And what's the problem with knowing the date and time of the bar, for example iTime function look it up.
What's the problem with finding out the date and time of a bar, for example the iTime function.
Thanks, I think I've figured it out.
And how to run the debugger on historical data?