Just curious if anyone has added this feature to IBController open source?
The feature is called adjustable or attached stop order.
You place a bracket order, once filled the price moved towards profit and hits a trigger price that moves your stoploss to the new defined stop price. It can be a trailing stop or static ptop price once triggered.
I use it when I place trades on TWS. I have a TWS Buy button with the setting, typically I use the percent gain above the parent order to trigger to adjustable stop.
I realise this stop adjustment can be done within Amibroker code. I prefer to let TWS manage the order, less to go wrong (plus I don;t want to write more code to monitor live trades - my code places orders only).
Here are some reference links
Thank you for any comments