#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_CustomVolumeLite[] cacheBadBuddha_CustomVolumeLite;

		
		public BadBuddhaCustoms.BadBuddha_CustomVolumeLite BadBuddha_CustomVolumeLite(bool enableUpdateCheck, bool showUpdatePopup, int volumePeriod, int volAvgLength, double unusualVolumePercent, double buyBiasThreshold, double sellBiasThreshold, bool showSimpleStatsLabels, int simpleStatsFontSize)
		{
			return BadBuddha_CustomVolumeLite(Input, enableUpdateCheck, showUpdatePopup, volumePeriod, volAvgLength, unusualVolumePercent, buyBiasThreshold, sellBiasThreshold, showSimpleStatsLabels, simpleStatsFontSize);
		}


		
		public BadBuddhaCustoms.BadBuddha_CustomVolumeLite BadBuddha_CustomVolumeLite(ISeries<double> input, bool enableUpdateCheck, bool showUpdatePopup, int volumePeriod, int volAvgLength, double unusualVolumePercent, double buyBiasThreshold, double sellBiasThreshold, bool showSimpleStatsLabels, int simpleStatsFontSize)
		{
			if (cacheBadBuddha_CustomVolumeLite != null)
				for (int idx = 0; idx < cacheBadBuddha_CustomVolumeLite.Length; idx++)
					if (cacheBadBuddha_CustomVolumeLite[idx].EnableUpdateCheck == enableUpdateCheck && cacheBadBuddha_CustomVolumeLite[idx].ShowUpdatePopup == showUpdatePopup && cacheBadBuddha_CustomVolumeLite[idx].VolumePeriod == volumePeriod && cacheBadBuddha_CustomVolumeLite[idx].VolAvgLength == volAvgLength && cacheBadBuddha_CustomVolumeLite[idx].UnusualVolumePercent == unusualVolumePercent && cacheBadBuddha_CustomVolumeLite[idx].BuyBiasThreshold == buyBiasThreshold && cacheBadBuddha_CustomVolumeLite[idx].SellBiasThreshold == sellBiasThreshold && cacheBadBuddha_CustomVolumeLite[idx].ShowSimpleStatsLabels == showSimpleStatsLabels && cacheBadBuddha_CustomVolumeLite[idx].SimpleStatsFontSize == simpleStatsFontSize && cacheBadBuddha_CustomVolumeLite[idx].EqualsInput(input))
						return cacheBadBuddha_CustomVolumeLite[idx];
			return CacheIndicator<BadBuddhaCustoms.BadBuddha_CustomVolumeLite>(new BadBuddhaCustoms.BadBuddha_CustomVolumeLite(){ EnableUpdateCheck = enableUpdateCheck, ShowUpdatePopup = showUpdatePopup, VolumePeriod = volumePeriod, VolAvgLength = volAvgLength, UnusualVolumePercent = unusualVolumePercent, BuyBiasThreshold = buyBiasThreshold, SellBiasThreshold = sellBiasThreshold, ShowSimpleStatsLabels = showSimpleStatsLabels, SimpleStatsFontSize = simpleStatsFontSize }, input, ref cacheBadBuddha_CustomVolumeLite);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_CustomVolumeLite BadBuddha_CustomVolumeLite(bool enableUpdateCheck, bool showUpdatePopup, int volumePeriod, int volAvgLength, double unusualVolumePercent, double buyBiasThreshold, double sellBiasThreshold, bool showSimpleStatsLabels, int simpleStatsFontSize)
		{
			return indicator.BadBuddha_CustomVolumeLite(Input, enableUpdateCheck, showUpdatePopup, volumePeriod, volAvgLength, unusualVolumePercent, buyBiasThreshold, sellBiasThreshold, showSimpleStatsLabels, simpleStatsFontSize);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_CustomVolumeLite BadBuddha_CustomVolumeLite(ISeries<double> input , bool enableUpdateCheck, bool showUpdatePopup, int volumePeriod, int volAvgLength, double unusualVolumePercent, double buyBiasThreshold, double sellBiasThreshold, bool showSimpleStatsLabels, int simpleStatsFontSize)
		{
			return indicator.BadBuddha_CustomVolumeLite(input, enableUpdateCheck, showUpdatePopup, volumePeriod, volAvgLength, unusualVolumePercent, buyBiasThreshold, sellBiasThreshold, showSimpleStatsLabels, simpleStatsFontSize);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_CustomVolumeLite BadBuddha_CustomVolumeLite(bool enableUpdateCheck, bool showUpdatePopup, int volumePeriod, int volAvgLength, double unusualVolumePercent, double buyBiasThreshold, double sellBiasThreshold, bool showSimpleStatsLabels, int simpleStatsFontSize)
		{
			return indicator.BadBuddha_CustomVolumeLite(Input, enableUpdateCheck, showUpdatePopup, volumePeriod, volAvgLength, unusualVolumePercent, buyBiasThreshold, sellBiasThreshold, showSimpleStatsLabels, simpleStatsFontSize);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_CustomVolumeLite BadBuddha_CustomVolumeLite(ISeries<double> input , bool enableUpdateCheck, bool showUpdatePopup, int volumePeriod, int volAvgLength, double unusualVolumePercent, double buyBiasThreshold, double sellBiasThreshold, bool showSimpleStatsLabels, int simpleStatsFontSize)
		{
			return indicator.BadBuddha_CustomVolumeLite(input, enableUpdateCheck, showUpdatePopup, volumePeriod, volAvgLength, unusualVolumePercent, buyBiasThreshold, sellBiasThreshold, showSimpleStatsLabels, simpleStatsFontSize);
		}

	}
}

#endregion
