#region Using declarations
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Xml.Serialization;
using NinjaTrader.Cbi;
using NinjaTrader.Gui;
using NinjaTrader.Gui.Chart;
using NinjaTrader.Gui.SuperDom;
using NinjaTrader.Gui.Tools;
using NinjaTrader.Data;
using NinjaTrader.NinjaScript;
using NinjaTrader.Core.FloatingPoint;

#endregion



#region NinjaScript generated code. Neither change nor remove.

namespace NinjaTrader.NinjaScript.Indicators
{
	public partial class Indicator : NinjaTrader.Gui.NinjaScript.IndicatorRenderBase
	{
		
		private BadBuddhaCustoms.BadBuddha_RBRPivot_Lite[] cacheBadBuddha_RBRPivot_Lite;

		
		public BadBuddhaCustoms.BadBuddha_RBRPivot_Lite BadBuddha_RBRPivot_Lite(bool enableUpdateCheck, bool showUpdatePopup, int length, int historicalLookback, RbrPivotTimeframe pivotTimeframe)
		{
			return BadBuddha_RBRPivot_Lite(Input, enableUpdateCheck, showUpdatePopup, length, historicalLookback, pivotTimeframe);
		}


		
		public BadBuddhaCustoms.BadBuddha_RBRPivot_Lite BadBuddha_RBRPivot_Lite(ISeries<double> input, bool enableUpdateCheck, bool showUpdatePopup, int length, int historicalLookback, RbrPivotTimeframe pivotTimeframe)
		{
			if (cacheBadBuddha_RBRPivot_Lite != null)
				for (int idx = 0; idx < cacheBadBuddha_RBRPivot_Lite.Length; idx++)
					if (cacheBadBuddha_RBRPivot_Lite[idx].EnableUpdateCheck == enableUpdateCheck && cacheBadBuddha_RBRPivot_Lite[idx].ShowUpdatePopup == showUpdatePopup && cacheBadBuddha_RBRPivot_Lite[idx].Length == length && cacheBadBuddha_RBRPivot_Lite[idx].HistoricalLookback == historicalLookback && cacheBadBuddha_RBRPivot_Lite[idx].PivotTimeframe == pivotTimeframe && cacheBadBuddha_RBRPivot_Lite[idx].EqualsInput(input))
						return cacheBadBuddha_RBRPivot_Lite[idx];
			return CacheIndicator<BadBuddhaCustoms.BadBuddha_RBRPivot_Lite>(new BadBuddhaCustoms.BadBuddha_RBRPivot_Lite(){ EnableUpdateCheck = enableUpdateCheck, ShowUpdatePopup = showUpdatePopup, Length = length, HistoricalLookback = historicalLookback, PivotTimeframe = pivotTimeframe }, input, ref cacheBadBuddha_RBRPivot_Lite);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_RBRPivot_Lite BadBuddha_RBRPivot_Lite(bool enableUpdateCheck, bool showUpdatePopup, int length, int historicalLookback, RbrPivotTimeframe pivotTimeframe)
		{
			return indicator.BadBuddha_RBRPivot_Lite(Input, enableUpdateCheck, showUpdatePopup, length, historicalLookback, pivotTimeframe);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_RBRPivot_Lite BadBuddha_RBRPivot_Lite(ISeries<double> input , bool enableUpdateCheck, bool showUpdatePopup, int length, int historicalLookback, RbrPivotTimeframe pivotTimeframe)
		{
			return indicator.BadBuddha_RBRPivot_Lite(input, enableUpdateCheck, showUpdatePopup, length, historicalLookback, pivotTimeframe);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_RBRPivot_Lite BadBuddha_RBRPivot_Lite(bool enableUpdateCheck, bool showUpdatePopup, int length, int historicalLookback, RbrPivotTimeframe pivotTimeframe)
		{
			return indicator.BadBuddha_RBRPivot_Lite(Input, enableUpdateCheck, showUpdatePopup, length, historicalLookback, pivotTimeframe);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_RBRPivot_Lite BadBuddha_RBRPivot_Lite(ISeries<double> input , bool enableUpdateCheck, bool showUpdatePopup, int length, int historicalLookback, RbrPivotTimeframe pivotTimeframe)
		{
			return indicator.BadBuddha_RBRPivot_Lite(input, enableUpdateCheck, showUpdatePopup, length, historicalLookback, pivotTimeframe);
		}

	}
}

#endregion
