public StrategyTest() { position = new PositionCommon(this); drawing = new DrawingCommon(this); indicator = Doubles(); if (trace) { log.Trace(GetType().Name + ".new"); } name = GetType().Name; chain = Factory.Engine.Chain(this); }
public Model() { name = GetType().Name; fullName = name; drawing = new DrawingCommon(this); formula = new Formula(this); if (trace) { log.Trace(GetType().Name + ".new"); } chain = Factory.Engine.Chain(this); RequestEvent(EventType.Open); RequestEvent(EventType.Close); RequestEvent(EventType.OpenInterval); RequestEvent(EventType.CloseInterval); RequestEvent(EventType.LogicalFill); RequestEvent(EventType.EndHistorical); }
public Model() { name = GetType().Name; fullName = name; drawing = new DrawingCommon(this); formula = new Formula(this); if (trace) { instanceLog.Trace(GetType().Name + ".new"); } chain = new ChainImpl(this); RequestEvent(EventType.Open); RequestEvent(EventType.Close); RequestEvent(EventType.OpenInterval); RequestEvent(EventType.CloseInterval); RequestEvent(EventType.LogicalFill); RequestEvent(EventType.EndHistorical); RequestEvent(EventType.SynchronizePortfolio); }