
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
Check out my version:
On a laptop - everything flies!
How do I know that TRADE_RETCODE_MARKET_CLOSED (market is closed) for a specified symbol without sending a trade order to the server?
https://www.mql5.com/ru/docs/marketinformation/symbolinfointeger?
I ordered an Expert Advisor that works on the basis of the positioning of three MAs: if Fast> Medium> Slow, then I buy with double volume to reverse the position. If the ratio is reversed, we sell with a reversal. The Executor has made a model. When testing it, I see that each position reversal is implemented by three reversal deals. Can anyone suggest what the issue is here?
Screenshots from MetaTrader platform
EURUSD, M5, 2013.07.14
Nord Group Investments Inc., MetaTrader 5, Demo
temp_file_screenshot_34063.png
I ordered an Expert Advisor that works on the basis of the positioning of three MAs: if Fast> Medium> Slow, then I buy with double volume to reverse the position. If the ratio is reversed, we sell with a reversal. The Executor has made a model. When testing it, I see that each position reversal is implemented by three reversal deals. Can someone tell me what the reason is?
sell - price moved in another direction - flip - price returned - flip again
The chart shows the final result, while the real time mode shows a completely different picture
sell - price went the other way - flip - price returned - flip again
you can see the end result on the chart, but in real time it's a completely different picture
The EA used to work without errors, decided to run MT5 again today, but now when compiling it writes:
Cannot be used for static allocated array
How can I get rid of it? How can I get rid of it?
The EA used to work without errors, decided to run MT5 again today, but now when compiling it writes:
Cannot be used for static allocated array
How can I get rid of it? Thank you.
Use dynamic arrays or change the size of static arrays: