Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1555
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
It does not give out any errors.
Errors can also be algorithmic, not just run-time errors!
You need the code if you want to find the cause.
With these coordinates the button comes out upside down, because the length of the button is counted +/- from the X point
Why do you need such a weird button...?
I can suggest the option of ExpertRemove() when a profit or loss is reached
thanks
I have read it, but I do not fully understand the logic of actions
When a specified event is reached, the Expert Advisor is disabled and removed from the chart, right?
Errors can also be algorithmic, not just run-time errors!
You need a code if you want to find the cause.
Why do you need such a weird button...?
I wrote that I accidentally stumbled upon such a bug
here's the code... if you're interested
thanks
I have read it, but I do not quite understand the logic of action
when a specified event is reached, the EA is deactivated and removed completely from the chart, right?
I wrote that I accidentally stumbled upon such a bug
here's the code... if you're interested.
So here none of the buttons will respond. TheOnChartEvent handler is empty...
So here none of the buttons will respond. TheOnChartEvent handler is empty...
try it) one button presses and the other doesn't
Who does that anyway, sets negative dimensions and why, I'm embarrassed to ask...?
Yes
got it. that won't work for me.
you could go back to creating a global variable so that when the owl is turned off, the lot is reset to the start
at least like this
you createa global variable
and then if there are no open/closed orders later "Start"
got it. that won't work for me.
you could go back to creating a global variable so that when the owl is switched off, the lot is reset to the start
at least like this
you createa global variable
and then if there are no open/closed orders later "Start".
I will make you a button)
Who does that anyway, sets negative dimensions and why, I'm embarrassed to ask...?