protected override void Initialize() { Add(new Plot(Color.Green, PlotStyle.Hash, "UpTrend")); Add(new Plot(Color.Red, PlotStyle.Hash, "DownTrend")); Overlay = true; _trend = new BoolSeries(this); }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.Gray, PlotStyle.Dot, "StopDot")); Add(new Plot(Color.Gray, PlotStyle.Line, "StopLine")); Overlay = true; PlotsConfigurable = false; reverseDot = new DataSeries(this); upTrend = new BoolSeries(this); }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.Gray, PlotStyle.Line, "StopLine")); CalculateOnBarClose = true; Overlay = true; PriceTypeSupported = false; PlotsConfigurable = false; upTrend = new BoolSeries(this); }
// private DataSeries TrendDown; #endregion /// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.Green, PlotStyle.Line, "UpTrend")); Add(new Plot(Color.Red, PlotStyle.Line, "DownTrend")); CalculateOnBarClose = true; Overlay = true; PriceTypeSupported = false; Trend = new BoolSeries(this); }
protected override void Initialize() { Add(new Plot(Color.Green, PlotStyle.Hash, "UpTrend")); Add(new Plot(Color.Red, PlotStyle.Hash, "DownTrend")); Overlay = true; trend = new BoolSeries(this, MaximumBarsLookBack.Infinite); PriceType = PriceType.Median; PriceTypeSupported = true; }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Line, "ProxLine")); //CalculateOnBarClose = true; Overlay = true; PriceTypeSupported = false; dirup = new BoolSeries(this); Plots[0].Pen.Width = 3; med = null; }
protected override void Initialize() { Add(new Plot(Color.Gray, PlotStyle.Dot, "StopDot")); Add(new Plot(Color.Gray, PlotStyle.Line, "StopLine")); CalculateOnBarClose = false; Overlay = true; PriceTypeSupported = false; PlotsConfigurable = false; upTrend = new BoolSeries(this); }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { /* "this" syncs the BoolSeries to the historical bar object of the indicator. It will generate * one bool value for every price bar. */ bearIndication = new BoolSeries(this); bullIndication = new BoolSeries(this); CalculateOnBarClose = true; Overlay = true; PriceTypeSupported = false; }
//#endregion protected override void Initialize() { Overlay = true; smis = new DataSeries(this); sms = new DataSeries(this); hls = new DataSeries(this); SMIEMA = new DataSeries(this); PriceLine = new DataSeries(this); SignalLine = new DataSeries(this); upDeviceSeries = new BoolSeries(this); downDeviceSeries = new BoolSeries(this); }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { //CalculateOnBarClose = false; Overlay = true; PriceTypeSupported = false; barCount = new IntSeries(this); newBar = new BoolSeries(this); newSession = new BoolSeries(this); nullDate = new DateTime(0, DateTimeKind.Unspecified); tgtTime = nullDate; sessionTime = nullDate; volumeCount = 0; }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Line, "UpLine")); Add(new Plot(Color.FromKnownColor(KnownColor.Red), PlotStyle.Line, "DnLine")); Add(new Plot(Color.FromKnownColor(KnownColor.Yellow), PlotStyle.Line, "NeutLine")); //CalculateOnBarClose = true; Overlay = true; PriceTypeSupported = false; maval = new DataSeries(this); dirup = new BoolSeries(this); Plots[0].Pen.Width = 3; Plots[1].Pen.Width = 3; Plots[2].Pen.Width = 3; colorizer = null; med = null; }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.FromKnownColor(KnownColor.Blue), PlotStyle.Bar, "Histogram")); Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Dot, "VolComp")); Add(new Plot(Color.FromKnownColor(KnownColor.Gray), PlotStyle.Line, "SqueezeAlert")); Add(new Line(Color.FromKnownColor(KnownColor.DarkOliveGreen), 0, "VC")); Add(new Line(Color.FromKnownColor(KnownColor.LightCoral), 0, "SA")); Add(new Line(Color.FromKnownColor(KnownColor.Black), 0, "Zero")); diff = new DataSeries(this); mo = new DataSeries(this); inSqueeze = new BoolSeries(this); Plots[0].Pen.Width = 3; Plots[1].Pen.Width = 2; Overlay = false; }
protected override void Initialize() { Add(new Plot(new Pen(Color.Brown, 3), PlotStyle.Dot, "Condition4")); Add(new Plot(new Pen(Color.DarkGreen, 3), PlotStyle.Dot, "Condition5")); Add(new Plot(new Pen(Color.DarkRed, 3), PlotStyle.Dot, "Condition2")); Add(new Plot(new Pen(Color.Cyan, 3), PlotStyle.Dot, "Condition67")); hao = new DataSeries(this, MaximumBarsLookBack.Infinite); hah = new DataSeries(this, MaximumBarsLookBack.Infinite); hal = new DataSeries(this, MaximumBarsLookBack.Infinite); hac = new DataSeries(this, MaximumBarsLookBack.Infinite); c4 = new BoolSeries(this, MaximumBarsLookBack.Infinite); c5 = new BoolSeries(this, MaximumBarsLookBack.Infinite); c2 = new BoolSeries(this, MaximumBarsLookBack.Infinite); c67 = new BoolSeries(this, MaximumBarsLookBack.Infinite); PaintPriceMarkers = false; CalculateOnBarClose = false; Overlay = true; }
//========================================================================================= #endregion //######################################################################################### #endregion #region Initialize() //######################################################################################### /// <summary> /// This method is used to configure the strategy and is called once before any strategy /// method is called. /// </summary> protected override void Initialize() { Add(new Plot(new Pen(Color.Gold, 3), PlotStyle.Dot, "DoubleBottom")); Add(new Plot(new Pen(Color.Red, 3), PlotStyle.Dot, "LowerLow")); Add(new Plot(new Pen(Color.Green, 3), PlotStyle.Dot, "HigherLow")); Add(new Plot(new Pen(Color.Gold, 3), PlotStyle.Dot, "DoubleTop")); Add(new Plot(new Pen(Color.Red, 3), PlotStyle.Dot, "LowerHigh")); Add(new Plot(new Pen(Color.Green, 3), PlotStyle.Dot, "HigherHigh")); Add(new Plot(new Pen(Color.Blue, 2), PlotStyle.Square, "GannSwing")); AutoScale = true; useAutoScale = AutoScale; BarsRequired = 1; CalculateOnBarClose = false; Overlay = true; PriceTypeSupported = false; dnFlip = new BoolSeries(this); upFlip = new BoolSeries(this); }
//=================================================================== #endregion //##################################################################### #endregion #region Initialize() //################################################################### /// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(new Pen(Color.Gold, 3), PlotStyle.Dot, "DoubleBottom")); Add(new Plot(new Pen(Color.Red, 3), PlotStyle.Dot, "LowerLow")); Add(new Plot(new Pen(Color.Green, 3), PlotStyle.Dot, "HigherLow")); Add(new Plot(new Pen(Color.Gold, 3), PlotStyle.Dot, "DoubleTop")); Add(new Plot(new Pen(Color.Red, 3), PlotStyle.Dot, "LowerHigh")); Add(new Plot(new Pen(Color.Green, 3), PlotStyle.Dot, "HigherHigh")); Add(new Plot(new Pen(Color.Blue, 1), PlotStyle.Square, "GannSwing")); AutoScale = true; BarsRequired = 2; CalculateOnBarClose = true; Overlay = true; PriceTypeSupported = false; dnFlip = new BoolSeries(this); upFlip = new BoolSeries(this); abcSignals = new DataSeries(this); entryLong = new DataSeries(this); entryShort = new DataSeries(this); entryLevelLine = new DataSeries(this); #region GomCD //gomCdAllDeltaClose = new DataSeries(this); #endregion divergenceDataHigh = new DataSeries(this); divergenceDataLow = new DataSeries(this); divSignal = new DataSeries(this); }
/// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-Open ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-High ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-Low ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-Mid ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-78,6 ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-61,8 ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-38,2 ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"M-23,6 ")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"AMN-High")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"AMN-Low")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"AMR-High")); Add(new Plot(new Pen(Color.Gray,1), PlotStyle.Line,"AMR-Low")); AutoScale = false; Overlay = true; PriceTypeSupported = false; PlotsConfigurable = false; MaximumBarsLookBack = MaximumBarsLookBack.Infinite; BarsRequired = 0; ZOrder = 1; stringFormatNear.Alignment = StringAlignment.Near; stringFormatCenter.Alignment = StringAlignment.Center; stringFormatFar.Alignment = StringAlignment.Far; AMN0 = new DataSeries(this); AMN1 = new DataSeries(this); AMN2 = new DataSeries(this); AMR0 = new DataSeries(this); AMR1 = new DataSeries(this); AMR2 = new DataSeries(this); displayedWidth = new DataSeries(this); lowIsLast = new BoolSeries(this); }