Questions from Beginners MQL5 MT5 MetaTrader 5 - page 416
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
You write it in the right place. If you are referring to open orders, no way.
If we are talking about pending orders, you cannot do this either. The only way is to make virtual orders which are not really placed and the values of price, SL, TP and order type are stored in the programme memory. I would store them in a structure. Structures are stored in some container, for example in CList.
On each tick, the program runs through all the virtual orders in the container and if the price corresponds, it opens the order. The disadvantage of this approach is higher slippage as compared to pending orders
You write it in the right place. If you are referring to open orders, no way.
If it's about pending orders, you can't do that either. The only way is to make virtual orders which are not actually placed and the values of price, SL, TP and order type are stored in the program's memory, I would store them in a structure. Structures are stored in a container, for example in CList.
On each tick, the program runs through all the virtual orders in the container and if the price corresponds, it opens the order. The disadvantage of this approach is higher slippage as compared to pending orders
There is such a beast in the codebase:https://www.mql5.com/ru/code/11169
Please tell me if I can useFibonacci levels in MQL4, and which option or function should I use? I.e., I need an EAto set Take Profit and Stop Loss on levels, how to makedata onFibonacci levelsavailable for my EA?
There is such a beast in codebase:https://www.mql5.com/ru/code/11169
Virtual SL and TP in this beast is useful, especially for kitchens, so that they don't blow their stops by running a left-hand quote. Although, why trade in kitchens...?
And there's no way to hide the open order itself.
F1 should start with an "i" in the help, not on the PC I would have looked it up myself.