SetProfitTarget(CalculationMode.Ticks, ProfitTicks);
Is it possible to create a condition set in OnBarUpdate region to cancel this order when a condition set is met
Example: Position is taken, a StopLoss order and the ProfitTarget order are sent
IF at that time or anytime during this position being Open if the condition set is met to cancel then a Cancel statement of some kind will Cancel the Profit Target order
(I already have other Exit methods in place that will Close the Position (sometimes before the profit target is met) they will be the planned exit method after the ProfitTarget order is cancelled.
Thanks
Comment