#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 Enhanced_VolumeProfile[] cacheEnhanced_VolumeProfile;

		
		public Enhanced_VolumeProfile Enhanced_VolumeProfile(EVPProfileSource profileSource, EVPDeltaMethod deltaMethod, EVPPublishMode publishMode, int intrabarPublishMilliseconds, int binSizeTicks, VaWidthDisplayMode vaWidthDisplay, double pocDeviationMultiplier, double pocDeviationExtremesMultiplier)
		{
			return Enhanced_VolumeProfile(Input, profileSource, deltaMethod, publishMode, intrabarPublishMilliseconds, binSizeTicks, vaWidthDisplay, pocDeviationMultiplier, pocDeviationExtremesMultiplier);
		}


		
		public Enhanced_VolumeProfile Enhanced_VolumeProfile(ISeries<double> input, EVPProfileSource profileSource, EVPDeltaMethod deltaMethod, EVPPublishMode publishMode, int intrabarPublishMilliseconds, int binSizeTicks, VaWidthDisplayMode vaWidthDisplay, double pocDeviationMultiplier, double pocDeviationExtremesMultiplier)
		{
			if (cacheEnhanced_VolumeProfile != null)
				for (int idx = 0; idx < cacheEnhanced_VolumeProfile.Length; idx++)
					if (cacheEnhanced_VolumeProfile[idx].ProfileSource == profileSource && cacheEnhanced_VolumeProfile[idx].DeltaMethod == deltaMethod && cacheEnhanced_VolumeProfile[idx].PublishMode == publishMode && cacheEnhanced_VolumeProfile[idx].IntrabarPublishMilliseconds == intrabarPublishMilliseconds && cacheEnhanced_VolumeProfile[idx].BinSizeTicks == binSizeTicks && cacheEnhanced_VolumeProfile[idx].VaWidthDisplay == vaWidthDisplay && cacheEnhanced_VolumeProfile[idx].PocDeviationMultiplier == pocDeviationMultiplier && cacheEnhanced_VolumeProfile[idx].PocDeviationExtremesMultiplier == pocDeviationExtremesMultiplier && cacheEnhanced_VolumeProfile[idx].EqualsInput(input))
						return cacheEnhanced_VolumeProfile[idx];
			return CacheIndicator<Enhanced_VolumeProfile>(new Enhanced_VolumeProfile(){ ProfileSource = profileSource, DeltaMethod = deltaMethod, PublishMode = publishMode, IntrabarPublishMilliseconds = intrabarPublishMilliseconds, BinSizeTicks = binSizeTicks, VaWidthDisplay = vaWidthDisplay, PocDeviationMultiplier = pocDeviationMultiplier, PocDeviationExtremesMultiplier = pocDeviationExtremesMultiplier }, input, ref cacheEnhanced_VolumeProfile);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.Enhanced_VolumeProfile Enhanced_VolumeProfile(EVPProfileSource profileSource, EVPDeltaMethod deltaMethod, EVPPublishMode publishMode, int intrabarPublishMilliseconds, int binSizeTicks, VaWidthDisplayMode vaWidthDisplay, double pocDeviationMultiplier, double pocDeviationExtremesMultiplier)
		{
			return indicator.Enhanced_VolumeProfile(Input, profileSource, deltaMethod, publishMode, intrabarPublishMilliseconds, binSizeTicks, vaWidthDisplay, pocDeviationMultiplier, pocDeviationExtremesMultiplier);
		}


		
		public Indicators.Enhanced_VolumeProfile Enhanced_VolumeProfile(ISeries<double> input , EVPProfileSource profileSource, EVPDeltaMethod deltaMethod, EVPPublishMode publishMode, int intrabarPublishMilliseconds, int binSizeTicks, VaWidthDisplayMode vaWidthDisplay, double pocDeviationMultiplier, double pocDeviationExtremesMultiplier)
		{
			return indicator.Enhanced_VolumeProfile(input, profileSource, deltaMethod, publishMode, intrabarPublishMilliseconds, binSizeTicks, vaWidthDisplay, pocDeviationMultiplier, pocDeviationExtremesMultiplier);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.Enhanced_VolumeProfile Enhanced_VolumeProfile(EVPProfileSource profileSource, EVPDeltaMethod deltaMethod, EVPPublishMode publishMode, int intrabarPublishMilliseconds, int binSizeTicks, VaWidthDisplayMode vaWidthDisplay, double pocDeviationMultiplier, double pocDeviationExtremesMultiplier)
		{
			return indicator.Enhanced_VolumeProfile(Input, profileSource, deltaMethod, publishMode, intrabarPublishMilliseconds, binSizeTicks, vaWidthDisplay, pocDeviationMultiplier, pocDeviationExtremesMultiplier);
		}


		
		public Indicators.Enhanced_VolumeProfile Enhanced_VolumeProfile(ISeries<double> input , EVPProfileSource profileSource, EVPDeltaMethod deltaMethod, EVPPublishMode publishMode, int intrabarPublishMilliseconds, int binSizeTicks, VaWidthDisplayMode vaWidthDisplay, double pocDeviationMultiplier, double pocDeviationExtremesMultiplier)
		{
			return indicator.Enhanced_VolumeProfile(input, profileSource, deltaMethod, publishMode, intrabarPublishMilliseconds, binSizeTicks, vaWidthDisplay, pocDeviationMultiplier, pocDeviationExtremesMultiplier);
		}

	}
}

#endregion
