Questions from Beginners MQL5 MT5 MetaTrader 5 - page 523
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
Envelopes indicator in EA, EA wrote itself, in settings I put shift (-7). Why does EA not open orders with negative shift inEnvelopes indicator?
Dear programmers. Can you help? I would like to attach the number of open orders to Expert Advisors. I do not know if it will help. I put these owls on several pairs and only one order is opened. If I open an order on one of the pairs the signals on the other pair are not ignored. I do not know what to do with it.
the problem is this condition
This is how it should work.
What parameter or function will help to shift the indicator up or down by n points?
the problem is this condition
This is how it should work
I don't know the programming language at all... I don't understand it. Maybe you can change these values?
added the Shift parameter, positive number offset upwards, negative number offset downwards.
Sergey Gritsay:
добавил параметр Shift, положительное число смещение вверх, отрицательное вниз.
Thank you very much!
he means something like this
Does executing this function delete orders? If it is called at the beginning of the code:" if(TimeCurrent()>=D'23:50')close_all();return;" then the program does not work further, i.e. orders are not opened and the log says "stop button pressed". If I delete this one line, everything works and opens. Could you please explain what is wrong? I am not good at details, so I just copied the body of the function.