Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 506
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 use the Flive signal, but sometimes I want to close an order myself. But as soon as I close it, it opens again. Is there any way to solve this?
Uncheck "Synchronise positions..."
I assumed that there are only two monthly extrema - min and max... Well, never mind, at first I had a long code, that's why I asked for help... But it dawned on me, I managed to fit it into four lines.
This is if on a monthly candlestick. Of course there will be iHigh(Symbol(), PERIOD_MN1, BarOfMonth); and iLow(Symbol(), PERIOD_MN1, BarOfMonth);
And if we need to find extrema of the price on a daily chart within a month, there will definitely be more than one on at least 28 bars ;)
another question about the function
how to make the rectangle draw forward instead of backward, for example five bars forward at a specified price ...... and not to redraw it
The name "object_name" should contain the time when it was drawn. For example, "Object_name "+TimeToString(Time[0]); Then each rectangle will have its own name.
To specify the shift to the right of the zero bar, add the required number of bars to Time[0], for example Time[0]+Period()*5*60 (add five bars)
Is there any way in mql4 to hide some code from view, collapse code area so that it is placed under plus (+)?
like in sharp #region #endregion, code placed between these directives will be possible to collapse.
I can't figure out what's wrong? In the tester everything works, but on the real and demo, when I try to open an order, I get "Error 0". GetLastError() returns "0" which means no error. What does it mean?
It means this is how it is written in the code, if it bothers you, please correct it.
It's written in the code, so if it bothers you, fix it.
What should I fix if the order doesn't open?
What to fix if the order does not open?