Is there any function or syntax in your code that causes this
@David Aw: If auto trading is disabled by the server, kindly speak to your broker if it allows auto trading. It is not a problem of the code but the server.
Hello Daniel, when I use any of your order scripts I get the error code #4756. Is that a server problem or a MT5 setting? I set stops correctly and can`t figure it out. Thank You.
Hello Daniel, when I use any of your order scripts I get the error code #4756. Is that a server problem or a MT5 setting? I set stops correctly and can`t figure it out. Thank You.
Hello Daniel, thank you so much for making this scripts. Is it possible to alter this scripts so we don't have to put the SL and TP? I just wanted to open multiple positions with desired lot size.
If you don't want to use SL and TP, set both to zero and save your settings so you load that setting.
Another way is not change the SL and TP in the code to zero. By default SL=200 and TP=400.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Multi SellOrders:
To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading
Author: Daniel Opoku