예제 #1
0
        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
        }
예제 #2
0
		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
		}