public override void OnInitialize() { base.OnInitialize(); retrace = new Retrace(); retrace.Drawing.Color = Color.Red; AddIndicator(retrace); velocity = new IndicatorCommon(); velocity.Drawing.PaneType = PaneType.Secondary; velocity.Drawing.GraphType = GraphType.Histogram; velocity.Drawing.GroupName = "Velocity"; AddIndicator(velocity); lrGraph = new LRGraph(); AddIndicator(lrGraph); stretch = new IndicatorCommon(); stretch.Drawing.Color = Color.Red; stretch.Drawing.GroupName = "Stretch"; AddIndicator(stretch); domRatio = new DOMRatio(); domRatio.Drawing.Color = Color.Green; AddIndicator(domRatio); Reset(); // Initialize }
public override void OnInitialize() { base.OnInitialize(); retrace = new Retrace(); retrace.Drawing.Color = Color.Red; retrace.IntervalDefault = Intervals.Hour1; AddIndicator(retrace); stretch = new IndicatorCommon(); stretch.Drawing.Color = Color.Red; stretch.Drawing.PaneType = PaneType.Secondary; stretch.IntervalDefault = Intervals.Hour1; AddIndicator(stretch); domRatio = new DOMRatio(); domRatio.Drawing.Color = Color.Green; domRatio.Drawing.PaneType = PaneType.Secondary; domRatio.IntervalDefault = Intervals.Minute1; AddIndicator(domRatio); Reset(); // Initialize }
public override void OnInitialize() { velocity = new IndicatorCommon(); velocity.Drawing.PaneType = PaneType.Secondary; velocity.Drawing.GraphType = GraphType.Histogram; velocity.Drawing.GroupName = "Velocity"; AddIndicator(velocity); longRetrace = new IndicatorCommon(); longRetrace.Drawing.Color = Color.Blue; longRetrace.Drawing.GroupName = "retrace"; AddIndicator(longRetrace); lrGraph = new LRGraph(); AddIndicator(lrGraph); shortRetrace = new IndicatorCommon(); shortRetrace.Drawing.Color = Color.Blue; shortRetrace.Drawing.GroupName = "retrace"; AddIndicator(shortRetrace); stretch = new IndicatorCommon(); stretch.Drawing.Color = Color.Red; stretch.Drawing.PaneType = PaneType.Secondary; stretch.Drawing.GroupName = "Stretch"; AddIndicator(stretch); trend = new IndicatorCommon(); trend.Drawing.Color = Color.Red; trend.Drawing.GroupName = "Trend"; AddIndicator(trend); domRatio = new DOMRatio(); domRatio.Drawing.Color = Color.Green; AddIndicator(domRatio); }