Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1655

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
There are fingers to the fact that it is inappropriate to only put OrderSend, and then not to worry about something wrong. You always have to look for errors.
Volodya, the question was about something else.
Volodya, the question was different.
What is it?
In what?
Dobranich)
You too.
Can you tell me how to make it not open an order with each new candle if all conditions are met? I just inserted this code, it really started waiting for 4 candles confirmation, but after opening an order 1 time (when all conditions are met) it started to open an order on all subsequent candles, if the conditions persisted, this is how it looks in the tester.
+ just in case, I will paste all the original code, just in case I missed something important:
Can you tell me how to make it not open an order with each new candle if all conditions are met? I just inserted this code, it really started waiting for 4 candles confirmation, but after opening an order 1 time (when all conditions are met) it started to open an order on all subsequent candles, if the conditions persisted, this is how it looks in the tester.
+ Just in case I missed something important:
I need control (counter) of open orders
Tried to make changes to the code from MakarFX and this is what I have at the moment:
Highlighted is what I tried to add from me. As a result, everything works as it should, but deals open only on buy. How do I make it open for sell too, who knows?
Tried to make changes to the code from MakarFX and this is what I have at the moment:
Highlighted is what I tried to add from me. As a result, everything works as it should, but deals open only on buy. How do I make it open for sell too, who knows?