Download MetaTrader 5

Need help modifying limit orders

To add comments, please log in or register
Forex Trader
114282
Forex Trader  

Hi,

Does anyone have a code sample that modifies Buy Limit orders?

(In backtest, trading once per bar) I want to place a buy limit order with stoploss and profit target attached. If this is not filled, I want to modify limit price, stoploss and profit target.

Or does anyone have a simple range trading system, with similar logic.

Many thanks, Chris.

Forex Trader
114282
Forex Trader  
Please try to look at examples here: http://codebase.mql4.com/search/modify%20Buy%20Limit
To add comments, please log in or register