Vladimir, thank you, you have been very helpful. Now the question remains how to make the Take Profit and Stop Loss orders which the EA places. How to make them limit?
The parameters of an EA generated by MQL5 Wizard are described here:MQL5 Wizard MA RSI
Vladimir, it says here "price level" but how does this relate to the order type?
Change this parameter:
Price level to execute a deal
0.0
Indent from the current price. At 0 we open at the current price, at -x pending Stop orders will be placed, at +xx pending Limit orders will be placed.
Indent from the current price. At 0 we open at the current price, at -x pending Stop orders will be placed, at +xx pending Limit orders will be placed.
Vladimir, does this parameter also open take profit and stop loss orders?
Step back from the current price. At 0 we open at the current price, at -хх pending Stop orders will be placed, at +хх pending Limit orders will be placed.
This parameter controls how the trading operation will be carried out: by opening at the current price or by using pending Stop or Limit orders.
Stop Loss level (in points)
50.0
Price level for Stop Loss
Take Profit level (in points)
50.0
Price level for Take Profit
These two parameters are used to set the price levels for Stop Loss and Take Profit. If we specify "0", this means that theStop Loss and/or Take Profit levels of the open positions will be equal to 0.0, i.e. if theStop Loss and/or Take Profit parameter is "0", the position will never be closed by theStop Loss and/or Take Profit.
This parameter controls how the trade will be executed: by opening at current prices or by using pending Stop or Limit orders.
Stop Loss level (in points)
50.0
Price level for Stop Loss
Take Profit level (in points)
50.0
Price level for Take Profit
These two parameters are used to set Stop Loss and Take Profit price levels. If you specify "0" then theStop Loss and/or Take Profit levels of the open positions will be equal to 0.0 - i.e. if theStop Loss and/or Take Profit values are "0", the position will never be closed byStop Loss and/or Take Profit.
Vladimir, I have understood it that way. Is there any possibility to set take profit and stop loss as pending?
Meaning. Is it possible to change the order type from the usual market"take profit" orders to the limited "take profit" ones? That is, the orders which the Expert Advisor sets itself while working
Meaning. Is it possible to change the type of orders from normal market"take profit" orders to limited "take profit" orders? That is, those orders which are placed by the Expert Advisor itself during its operation.
This type of execution is by its very nature a market order. You cannot change this and there is no such thing as a limit order.
Vladimir, thank you, you have been very helpful. Now the question remains how to make the Take Profit and Stop Loss orders which the EA places. How to make them limit?
The parameters of an EA generated by MQL5 Wizard are described here:MQL5 Wizard MA RSI
The parameters of an EA generated by MQL5 Wizard are described here:MQL5 Wizard MA RSI
Vladimir, it says here "price level" but how does this relate to the order type?
Vladimir, it says here "price level" but how does this relate to the order type?
Change this parameter:
Change this parameter:
Vladimir, does this parameter also open take profit and stop loss orders?
Vladimir, does this parameter also open take profit and stop loss orders?
No.
Forum on trading, automated trading systems and trading strategy testing
I am Wondering, I am Trying to Fool iMA
Vladimir Karputov, 2017.03.03 15:54
Change this parameter:
This parameter controls how the trading operation will be carried out: by opening at the current price or by using pending Stop or Limit orders.
No.
This parameter controls how the trade will be executed: by opening at current prices or by using pending Stop or Limit orders.
Vladimir, I have understood it that way. Is there any possibility to set take profit and stop loss as pending?
Vladimir, so I understand. Is there any way to set take profit and stop loss pending?
?
?
Meaning. Is it possible to change the order type from the usual market"take profit" orders to the limited "take profit" ones? That is, the orders which the Expert Advisor sets itself while working
Meaning. Is it possible to change the type of orders from normal market"take profit" orders to limited "take profit" orders? That is, those orders which are placed by the Expert Advisor itself during its operation.
This type of execution is by its very nature a market order. You cannot change this and there is no such thing as a limit order.