Is it possible to call the trade management functionality within an ATM Discretionary Strategy from any regular strategy?
Things in Red color do not exist AFAIK
For e.g
protected override void OnBarUpdate()
{
if (entryOrder == null && longTradeSignal)
entryOrder = EnterLong();
}
protected override void OnExecution(IExecution execution)
{
if (entryOrder != null)
[COLOR="Red"]ManagerOrderByPredefinedATMStrategy[/COLOR] (existingATMStrategyTemplateName, entryOrder, this);
}
protected override void [COLOR="Red"]OnATMStrategyOrderStatus[/COLOR](MarketPosition
atmPosition)
{
if (atmPosition == MarketPosition.Flat)
entryOrder = null;
}

Comment