Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1694
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
I don't know why it's done that way, it's essentially a boolean function.
It goes something like this:
In enum, the elements start with zero, so Ok=0 , AllocError=1
i.e. GetRepeat returns either 0 or 1
respectively ! GetRepeat is a negation of the return value
0 is false, 1 is true.
It is easy to break your head
Exactly!)) Thanks, Alexey!
Good day!!!
Here is a function to calculate the average price of a grid of orders and display it on a chart. After the grid is closed, horizontal lines showing the average line are not deleted.
Please help us to write a function that these lines will be deleted after the grid of orders is closed. Thank you!!!
Good day!!!
Here is a function to calculate the average price of a grid of orders and display it on a chart. After the grid is closed, horizontal lines showing the average line are not deleted.
Please help us to write a function that these lines will be deleted after the grid of orders is closed. Thank you!!!
This is not the place to do it.
This is not the place to do it.
Makar, how do you bind this in void OnTick()
This is not the place to do it.
Thank you, Makar, a little file work and it's fine.
Please advise.
The Expert Advisor sets the start and end time of opening orders. I would like to have this time displayed on the chart. I have not been able to do it yet. Here is the code. I would like to ask you for help!
Please advise.
The Expert Advisor sets the start and end time of opening orders. I would like to have this time displayed on the chart. I have not been able to do it yet. Here is the code. I would like to ask you for help!
Show the StartTime and StopTime variables