#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_CBCFLip[] cacheBadBuddha_CBCFLip;

		
		public BadBuddhaCustoms.BadBuddha_CBCFLip BadBuddha_CBCFLip(int lowerTimeframeMinutes, int flipTimeframeMinutes, bool drawArrows, bool drawLabels, bool drawVerticalLines, bool showEMAs, int arrowOffsetTicks, int labelOffsetTicks)
		{
			return BadBuddha_CBCFLip(Input, lowerTimeframeMinutes, flipTimeframeMinutes, drawArrows, drawLabels, drawVerticalLines, showEMAs, arrowOffsetTicks, labelOffsetTicks);
		}


		
		public BadBuddhaCustoms.BadBuddha_CBCFLip BadBuddha_CBCFLip(ISeries<double> input, int lowerTimeframeMinutes, int flipTimeframeMinutes, bool drawArrows, bool drawLabels, bool drawVerticalLines, bool showEMAs, int arrowOffsetTicks, int labelOffsetTicks)
		{
			if (cacheBadBuddha_CBCFLip != null)
				for (int idx = 0; idx < cacheBadBuddha_CBCFLip.Length; idx++)
					if (cacheBadBuddha_CBCFLip[idx].LowerTimeframeMinutes == lowerTimeframeMinutes && cacheBadBuddha_CBCFLip[idx].FlipTimeframeMinutes == flipTimeframeMinutes && cacheBadBuddha_CBCFLip[idx].DrawArrows == drawArrows && cacheBadBuddha_CBCFLip[idx].DrawLabels == drawLabels && cacheBadBuddha_CBCFLip[idx].DrawVerticalLines == drawVerticalLines && cacheBadBuddha_CBCFLip[idx].ShowEMAs == showEMAs && cacheBadBuddha_CBCFLip[idx].ArrowOffsetTicks == arrowOffsetTicks && cacheBadBuddha_CBCFLip[idx].LabelOffsetTicks == labelOffsetTicks && cacheBadBuddha_CBCFLip[idx].EqualsInput(input))
						return cacheBadBuddha_CBCFLip[idx];
			return CacheIndicator<BadBuddhaCustoms.BadBuddha_CBCFLip>(new BadBuddhaCustoms.BadBuddha_CBCFLip(){ LowerTimeframeMinutes = lowerTimeframeMinutes, FlipTimeframeMinutes = flipTimeframeMinutes, DrawArrows = drawArrows, DrawLabels = drawLabels, DrawVerticalLines = drawVerticalLines, ShowEMAs = showEMAs, ArrowOffsetTicks = arrowOffsetTicks, LabelOffsetTicks = labelOffsetTicks }, input, ref cacheBadBuddha_CBCFLip);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_CBCFLip BadBuddha_CBCFLip(int lowerTimeframeMinutes, int flipTimeframeMinutes, bool drawArrows, bool drawLabels, bool drawVerticalLines, bool showEMAs, int arrowOffsetTicks, int labelOffsetTicks)
		{
			return indicator.BadBuddha_CBCFLip(Input, lowerTimeframeMinutes, flipTimeframeMinutes, drawArrows, drawLabels, drawVerticalLines, showEMAs, arrowOffsetTicks, labelOffsetTicks);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_CBCFLip BadBuddha_CBCFLip(ISeries<double> input , int lowerTimeframeMinutes, int flipTimeframeMinutes, bool drawArrows, bool drawLabels, bool drawVerticalLines, bool showEMAs, int arrowOffsetTicks, int labelOffsetTicks)
		{
			return indicator.BadBuddha_CBCFLip(input, lowerTimeframeMinutes, flipTimeframeMinutes, drawArrows, drawLabels, drawVerticalLines, showEMAs, arrowOffsetTicks, labelOffsetTicks);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_CBCFLip BadBuddha_CBCFLip(int lowerTimeframeMinutes, int flipTimeframeMinutes, bool drawArrows, bool drawLabels, bool drawVerticalLines, bool showEMAs, int arrowOffsetTicks, int labelOffsetTicks)
		{
			return indicator.BadBuddha_CBCFLip(Input, lowerTimeframeMinutes, flipTimeframeMinutes, drawArrows, drawLabels, drawVerticalLines, showEMAs, arrowOffsetTicks, labelOffsetTicks);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_CBCFLip BadBuddha_CBCFLip(ISeries<double> input , int lowerTimeframeMinutes, int flipTimeframeMinutes, bool drawArrows, bool drawLabels, bool drawVerticalLines, bool showEMAs, int arrowOffsetTicks, int labelOffsetTicks)
		{
			return indicator.BadBuddha_CBCFLip(input, lowerTimeframeMinutes, flipTimeframeMinutes, drawArrows, drawLabels, drawVerticalLines, showEMAs, arrowOffsetTicks, labelOffsetTicks);
		}

	}
}

#endregion
