
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
Hello, I started to learn MQL4 and started using the MACD Sample Expert Advisor. I have parsed it out. I think I got it all sorted out, but I cannot make it work as a demo Expert Advisor on more than one symbol at the same time. If there is already an open position in the terminal (manually or by Expert Advisor) it won't work. I've tried everything I know. I don't have enough knowledge, please advise me what to add or correct.
MACD Sample is not designed to trade on multiple instruments
In this condition, it is practically forbidden to open trades, if at least one, for any instrument has already been opened.MACD Sample is not designed to trade on multiple instruments
This condition practically prohibits opening trades if at least one, for any instrument, is already open.Is there any way to link OrdersTotal, OrderSymbol and OrderMagicNumber?
Help fix the bug: The idea is that the EA should work once a day, when the new day starts. 1am. should open two pending orders on a high and low
I mean the candlestick that closed at 00:00. I shouldn't do anything else until the next day. What am I doing wrong ?
Help fix the bug: The idea is that the EA should work once a day, when the new day starts. 1am. should open two pending orders on a high and low
I mean the candlestick that closed at 00:00. I shouldn't do anything else until the next day. What am I doing wrong ?
When pasting code, please use the built-in features of the forum:Insert code correctly in the forum
Help fix the bug: The idea is that the EA should work once a day, when the new day starts. at 1 am. should open two pending orders on the high and low
That is, a candlestick that closed at 00:00. Should not do anything else until the next day. What am I doing wrong ?
There is an error:
IsFirstTick - false;
It should be =