Please where can I get a robot or a script that will open multiple positions based on the position I open myself. Say I open a position with 1lot and fixed stop loss and take profit levels, it just takes these parameters and open the same position on the same pair like 10 or more times.
- Modifying a Position - Trade - MetaTrader 5 for iPhone
- Modifying a Position - Trade - MetaTrader 5 for Android
- Request Execution - Opening and Closing Positions - Trade - MetaTrader 5 for iPhone
Feranmi Omokayode:
Please where can I get a robot or a script that will open multiple positions based on the position I open myself. Say I open a position with 1lot and fixed stop loss and take profit levels, it just takes these parameters and open the same position on the same pair like 10 or more times.
Please where can I get a robot or a script that will open multiple positions based on the position I open myself. Say I open a position with 1lot and fixed stop loss and take profit levels, it just takes these parameters and open the same position on the same pair like 10 or more times.
Have a search in the Market, I believe you will find a utility or expert that can help you with that.
Feranmi Omokayode:
Please where can I get a robot or a script that will open multiple positions based on the position I open myself. Say I open a position with 1lot and fixed stop loss and take profit levels, it just takes these parameters and open the same position on the same pair like 10 or more times.
Please where can I get a robot or a script that will open multiple positions based on the position I open myself. Say I open a position with 1lot and fixed stop loss and take profit levels, it just takes these parameters and open the same position on the same pair like 10 or more times.
// Repeater sinput int AmountPositions = 3; input string OrderComment = ""; void OnTradeTransaction( const MqlTradeTransaction &Trans, const MqlTradeRequest &Request, const MqlTradeResult &Result ) { if ((Trans.type == TRADE_TRANSACTION_REQUEST) && (!Request.position) && (Request.comment == OrderComment)) { MqlTradeResult MyResult; MqlTradeRequest MyRequest = Request; bool Res = true; for (int i = 1; Res && (i <= AmountPositions); i++) { MyRequest.comment = Request.comment + "_" + (string)i;; Res = OrderSendAsync(MyRequest, MyResult); } } }
fxsaber:
Does the above string work independently or needs to be combined with another code
Feranmi Omokayode:
Does the above string work independently or needs to be combined with another code
Does the above string work independently or needs to be combined with another code
Both options can be used.
I'm looking forward to work with you Sir
fxsaber:
Thanks will try it.
Both options can be used.
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