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

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
code needs to be inserted Alt+S
and where is the function ?
how did you compile it ? no errors ?
His code has work with pending orders and the function works with positions - needs a little tweaking
His code works with pending orders, while the function works with positions - we need to make some adjustments
Exactly right, only limit orders sellstop and buystop are handled. What do you need to correct?
Absolutely correct, only sellstop and buystop limit orders are being worked on. What needs to be fixed?
Is this function for buy side or for both buy and sell?
Should I keep the 6 order types highlighted in yellow?
It compiled without errors, but it does not open orders
Is this function for buy side or for both buy and sell?
Should I keep the 6 order types highlighted in yellow?
It compiles correctly but does not open orders
This is for all types. It should work if you use it correctly
P.S. Try to logically analyse why it might not work and what is preventing it from doing so.
And it's probably better to insert the function once, it doesn't matter what type is or has been in the market anyway
Happy New Year Bulls to everybody! Bullish growth to all!)
( High[1] - Low[1] ) / Point()
Can you tell me what this code means or more precisely how it works in principle? In this case the macro substitution is used, and it is the main condition to open orders. PS. The global variable is not modified anywhere.
Hello all!
Can you tell me what this code means or more precisely how it works in principle? In this case the macro substitution is used, and it is the main condition to open orders. PS. The global variable is not modified anywhere.
maybe it's
MARKET_WATCH, // окна "Обзор рынка"