Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 316
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
Zto, where to see it, better to download it, retarded though.
here's a thread - on page 9 how to download, if I'm not mistaken.
I found it by scientific method:
Replace limit=Bars-counted_bars-5; by limit=Bars-counted_bars-2;
And put ChartRedraw() in front of all returns.
Yes, the moral is this: the limit should be set exactly so that there are no execution errors, you can't take too much ))))
here's the thread - on page 9 how to download, if I'm not mistaken.
Thanks a lot. Let's have a look.
Yes, article 8 has been found.
Can you please tell me how to call the indicator from the EA? (fully call, I need a drawing, not buffers)
And how to allocate space for EA on a chart, similar to the way an indicator is allocated in a separate window?
I would be glad to implement it on both mt4 and mt5 - even if I have to move anywhere.
Can you please tell me how to call the indicator from the EA? (fully call, I need a drawing, not buffers)
And how to allocate space on a chart to an EA, similar to the way an indicator is allocated in a separate window?
I would be glad to implement it both on mt4 and on mt5 - at least where to go.
From the EA only the buffers are visible, if I need more, then just move the logic of the indicator in the EA, or use global variables to transfer them.
How about this? An EA graphic in a sub-window? Or like here?
Can you please tell me how to call the indicator from the EA? (fully call, I need a drawing, not buffers)
And how to allocate space for EA on a chart, similar to the way an indicator is allocated in a separate window?
I would be glad to implement it both on mt4 and on mt5 - at least where to go.
Library.
Good evening.
I have this problem...
The EA opens one order at a time during testing and closes it at the right time.
When I run it on a real account, the open orders are not closed, and then I open them the opposite way, as well as in the same direction, and the orders are piled up.
I do not know why it happens.
The Expert Advisor works in this way:
Good evening.
I have this problem...
The EA opens one order at a time during testing and closes it at the right time.
When I run it on a real account, the open orders are not closed, and then I open them the opposite way, as well as in the same direction, and the orders are piled up.
I do not know why it happens.
The Expert Advisor works in this way:
Isn't the code fragment where these orders are executed secret?
i just wrote how they are done)
The order can be conditional upon anything, be it an indicator or price reaching a certain level.
On the tester, this is what happens. But on the real one, the orders are not closed and are additionally opened from above.
Good evening.
I have this problem...
The EA opens one order at a time during testing and closes it at the right time.
When I run it on a real account, the open orders are not closed, and then I open them the opposite way, as well as in the same direction, and the orders are piled up.
I do not know why it happens.
This is the way the EA operates:
In real trading, there are many reasons for not closing your order.
Please check why an order is not closed.
Although the reason can be seen in the logbook even without that.In general, the real trade has special functions for opening/closing (the typical OrderClose function can be used, but no guarantee) which keep an order open until it closes/opens.