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.