I have my strategy draw lines at the target and stop prices on the chart.
I have the lines drawn in the on order update method.
My question is how do I remove the lines from the chart, when either one of the bracket orders is filled. Meaning if the orders are filled or cancelled the lines on the chart should be removed too.
Should work like if you are using the charttrader, if there is an existing order, display line at price, if order is filled, canceled or updated, remove or update the lines.
Regards
Comment