#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_BuyingSellingVolumeLite[] cacheBadBuddha_BuyingSellingVolumeLite;

		
		public BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite BadBuddha_BuyingSellingVolumeLite(int volumePeriod, int unusualVolumePercent, bool showBuyingVolume, bool showSellingVolume, bool showVolumeAverage, bool showUnusualVolumeMarkers, bool showStatsLabels)
		{
			return BadBuddha_BuyingSellingVolumeLite(Input, volumePeriod, unusualVolumePercent, showBuyingVolume, showSellingVolume, showVolumeAverage, showUnusualVolumeMarkers, showStatsLabels);
		}


		
		public BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite BadBuddha_BuyingSellingVolumeLite(ISeries<double> input, int volumePeriod, int unusualVolumePercent, bool showBuyingVolume, bool showSellingVolume, bool showVolumeAverage, bool showUnusualVolumeMarkers, bool showStatsLabels)
		{
			if (cacheBadBuddha_BuyingSellingVolumeLite != null)
				for (int idx = 0; idx < cacheBadBuddha_BuyingSellingVolumeLite.Length; idx++)
					if (cacheBadBuddha_BuyingSellingVolumeLite[idx].VolumePeriod == volumePeriod && cacheBadBuddha_BuyingSellingVolumeLite[idx].UnusualVolumePercent == unusualVolumePercent && cacheBadBuddha_BuyingSellingVolumeLite[idx].ShowBuyingVolume == showBuyingVolume && cacheBadBuddha_BuyingSellingVolumeLite[idx].ShowSellingVolume == showSellingVolume && cacheBadBuddha_BuyingSellingVolumeLite[idx].ShowVolumeAverage == showVolumeAverage && cacheBadBuddha_BuyingSellingVolumeLite[idx].ShowUnusualVolumeMarkers == showUnusualVolumeMarkers && cacheBadBuddha_BuyingSellingVolumeLite[idx].ShowStatsLabels == showStatsLabels && cacheBadBuddha_BuyingSellingVolumeLite[idx].EqualsInput(input))
						return cacheBadBuddha_BuyingSellingVolumeLite[idx];
			return CacheIndicator<BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite>(new BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite(){ VolumePeriod = volumePeriod, UnusualVolumePercent = unusualVolumePercent, ShowBuyingVolume = showBuyingVolume, ShowSellingVolume = showSellingVolume, ShowVolumeAverage = showVolumeAverage, ShowUnusualVolumeMarkers = showUnusualVolumeMarkers, ShowStatsLabels = showStatsLabels }, input, ref cacheBadBuddha_BuyingSellingVolumeLite);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite BadBuddha_BuyingSellingVolumeLite(int volumePeriod, int unusualVolumePercent, bool showBuyingVolume, bool showSellingVolume, bool showVolumeAverage, bool showUnusualVolumeMarkers, bool showStatsLabels)
		{
			return indicator.BadBuddha_BuyingSellingVolumeLite(Input, volumePeriod, unusualVolumePercent, showBuyingVolume, showSellingVolume, showVolumeAverage, showUnusualVolumeMarkers, showStatsLabels);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite BadBuddha_BuyingSellingVolumeLite(ISeries<double> input , int volumePeriod, int unusualVolumePercent, bool showBuyingVolume, bool showSellingVolume, bool showVolumeAverage, bool showUnusualVolumeMarkers, bool showStatsLabels)
		{
			return indicator.BadBuddha_BuyingSellingVolumeLite(input, volumePeriod, unusualVolumePercent, showBuyingVolume, showSellingVolume, showVolumeAverage, showUnusualVolumeMarkers, showStatsLabels);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite BadBuddha_BuyingSellingVolumeLite(int volumePeriod, int unusualVolumePercent, bool showBuyingVolume, bool showSellingVolume, bool showVolumeAverage, bool showUnusualVolumeMarkers, bool showStatsLabels)
		{
			return indicator.BadBuddha_BuyingSellingVolumeLite(Input, volumePeriod, unusualVolumePercent, showBuyingVolume, showSellingVolume, showVolumeAverage, showUnusualVolumeMarkers, showStatsLabels);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_BuyingSellingVolumeLite BadBuddha_BuyingSellingVolumeLite(ISeries<double> input , int volumePeriod, int unusualVolumePercent, bool showBuyingVolume, bool showSellingVolume, bool showVolumeAverage, bool showUnusualVolumeMarkers, bool showStatsLabels)
		{
			return indicator.BadBuddha_BuyingSellingVolumeLite(input, volumePeriod, unusualVolumePercent, showBuyingVolume, showSellingVolume, showVolumeAverage, showUnusualVolumeMarkers, showStatsLabels);
		}

	}
}

#endregion
