#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 BadBuddha_ZenZonesLite[] cacheBadBuddha_ZenZonesLite;

		
		public BadBuddha_ZenZonesLite BadBuddha_ZenZonesLite(bool enableUpdateChecks, int updateCadenceDays, int bodyAverageRange, int volumeAverageRange, double bodyStdDevs, double hotThreshold, bool showZones, TimeframeOptionLite timeframe, int maxZones, bool enableZoneStrength, int minimumZoneStrength, bool showStrengthStars, bool enableAlerts, bool alertOnHotBar, int minStrengthForAlert, bool enableZoneInvalidation, ZoneInvalidationModeLite invalidationMode, int consecutiveClosesToInvalidate, bool enableVolumeWeighting, int minZoneOpacity, int maxZoneOpacity, bool showZoneLabels, bool showTimeframeOnLabel, bool showVolumeOnLabel, bool showStrengthOnLabel, int labelFontSize)
		{
			return BadBuddha_ZenZonesLite(Input, enableUpdateChecks, updateCadenceDays, bodyAverageRange, volumeAverageRange, bodyStdDevs, hotThreshold, showZones, timeframe, maxZones, enableZoneStrength, minimumZoneStrength, showStrengthStars, enableAlerts, alertOnHotBar, minStrengthForAlert, enableZoneInvalidation, invalidationMode, consecutiveClosesToInvalidate, enableVolumeWeighting, minZoneOpacity, maxZoneOpacity, showZoneLabels, showTimeframeOnLabel, showVolumeOnLabel, showStrengthOnLabel, labelFontSize);
		}


		
		public BadBuddha_ZenZonesLite BadBuddha_ZenZonesLite(ISeries<double> input, bool enableUpdateChecks, int updateCadenceDays, int bodyAverageRange, int volumeAverageRange, double bodyStdDevs, double hotThreshold, bool showZones, TimeframeOptionLite timeframe, int maxZones, bool enableZoneStrength, int minimumZoneStrength, bool showStrengthStars, bool enableAlerts, bool alertOnHotBar, int minStrengthForAlert, bool enableZoneInvalidation, ZoneInvalidationModeLite invalidationMode, int consecutiveClosesToInvalidate, bool enableVolumeWeighting, int minZoneOpacity, int maxZoneOpacity, bool showZoneLabels, bool showTimeframeOnLabel, bool showVolumeOnLabel, bool showStrengthOnLabel, int labelFontSize)
		{
			if (cacheBadBuddha_ZenZonesLite != null)
				for (int idx = 0; idx < cacheBadBuddha_ZenZonesLite.Length; idx++)
					if (cacheBadBuddha_ZenZonesLite[idx].EnableUpdateChecks == enableUpdateChecks && cacheBadBuddha_ZenZonesLite[idx].UpdateCadenceDays == updateCadenceDays && cacheBadBuddha_ZenZonesLite[idx].BodyAverageRange == bodyAverageRange && cacheBadBuddha_ZenZonesLite[idx].VolumeAverageRange == volumeAverageRange && cacheBadBuddha_ZenZonesLite[idx].BodyStdDevs == bodyStdDevs && cacheBadBuddha_ZenZonesLite[idx].HotThreshold == hotThreshold && cacheBadBuddha_ZenZonesLite[idx].ShowZones == showZones && cacheBadBuddha_ZenZonesLite[idx].Timeframe == timeframe && cacheBadBuddha_ZenZonesLite[idx].MaxZones == maxZones && cacheBadBuddha_ZenZonesLite[idx].EnableZoneStrength == enableZoneStrength && cacheBadBuddha_ZenZonesLite[idx].MinimumZoneStrength == minimumZoneStrength && cacheBadBuddha_ZenZonesLite[idx].ShowStrengthStars == showStrengthStars && cacheBadBuddha_ZenZonesLite[idx].EnableAlerts == enableAlerts && cacheBadBuddha_ZenZonesLite[idx].AlertOnHotBar == alertOnHotBar && cacheBadBuddha_ZenZonesLite[idx].MinStrengthForAlert == minStrengthForAlert && cacheBadBuddha_ZenZonesLite[idx].EnableZoneInvalidation == enableZoneInvalidation && cacheBadBuddha_ZenZonesLite[idx].InvalidationMode == invalidationMode && cacheBadBuddha_ZenZonesLite[idx].ConsecutiveClosesToInvalidate == consecutiveClosesToInvalidate && cacheBadBuddha_ZenZonesLite[idx].EnableVolumeWeighting == enableVolumeWeighting && cacheBadBuddha_ZenZonesLite[idx].MinZoneOpacity == minZoneOpacity && cacheBadBuddha_ZenZonesLite[idx].MaxZoneOpacity == maxZoneOpacity && cacheBadBuddha_ZenZonesLite[idx].ShowZoneLabels == showZoneLabels && cacheBadBuddha_ZenZonesLite[idx].ShowTimeframeOnLabel == showTimeframeOnLabel && cacheBadBuddha_ZenZonesLite[idx].ShowVolumeOnLabel == showVolumeOnLabel && cacheBadBuddha_ZenZonesLite[idx].ShowStrengthOnLabel == showStrengthOnLabel && cacheBadBuddha_ZenZonesLite[idx].LabelFontSize == labelFontSize && cacheBadBuddha_ZenZonesLite[idx].EqualsInput(input))
						return cacheBadBuddha_ZenZonesLite[idx];
			return CacheIndicator<BadBuddha_ZenZonesLite>(new BadBuddha_ZenZonesLite(){ EnableUpdateChecks = enableUpdateChecks, UpdateCadenceDays = updateCadenceDays, BodyAverageRange = bodyAverageRange, VolumeAverageRange = volumeAverageRange, BodyStdDevs = bodyStdDevs, HotThreshold = hotThreshold, ShowZones = showZones, Timeframe = timeframe, MaxZones = maxZones, EnableZoneStrength = enableZoneStrength, MinimumZoneStrength = minimumZoneStrength, ShowStrengthStars = showStrengthStars, EnableAlerts = enableAlerts, AlertOnHotBar = alertOnHotBar, MinStrengthForAlert = minStrengthForAlert, EnableZoneInvalidation = enableZoneInvalidation, InvalidationMode = invalidationMode, ConsecutiveClosesToInvalidate = consecutiveClosesToInvalidate, EnableVolumeWeighting = enableVolumeWeighting, MinZoneOpacity = minZoneOpacity, MaxZoneOpacity = maxZoneOpacity, ShowZoneLabels = showZoneLabels, ShowTimeframeOnLabel = showTimeframeOnLabel, ShowVolumeOnLabel = showVolumeOnLabel, ShowStrengthOnLabel = showStrengthOnLabel, LabelFontSize = labelFontSize }, input, ref cacheBadBuddha_ZenZonesLite);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddha_ZenZonesLite BadBuddha_ZenZonesLite(bool enableUpdateChecks, int updateCadenceDays, int bodyAverageRange, int volumeAverageRange, double bodyStdDevs, double hotThreshold, bool showZones, TimeframeOptionLite timeframe, int maxZones, bool enableZoneStrength, int minimumZoneStrength, bool showStrengthStars, bool enableAlerts, bool alertOnHotBar, int minStrengthForAlert, bool enableZoneInvalidation, ZoneInvalidationModeLite invalidationMode, int consecutiveClosesToInvalidate, bool enableVolumeWeighting, int minZoneOpacity, int maxZoneOpacity, bool showZoneLabels, bool showTimeframeOnLabel, bool showVolumeOnLabel, bool showStrengthOnLabel, int labelFontSize)
		{
			return indicator.BadBuddha_ZenZonesLite(Input, enableUpdateChecks, updateCadenceDays, bodyAverageRange, volumeAverageRange, bodyStdDevs, hotThreshold, showZones, timeframe, maxZones, enableZoneStrength, minimumZoneStrength, showStrengthStars, enableAlerts, alertOnHotBar, minStrengthForAlert, enableZoneInvalidation, invalidationMode, consecutiveClosesToInvalidate, enableVolumeWeighting, minZoneOpacity, maxZoneOpacity, showZoneLabels, showTimeframeOnLabel, showVolumeOnLabel, showStrengthOnLabel, labelFontSize);
		}


		
		public Indicators.BadBuddha_ZenZonesLite BadBuddha_ZenZonesLite(ISeries<double> input , bool enableUpdateChecks, int updateCadenceDays, int bodyAverageRange, int volumeAverageRange, double bodyStdDevs, double hotThreshold, bool showZones, TimeframeOptionLite timeframe, int maxZones, bool enableZoneStrength, int minimumZoneStrength, bool showStrengthStars, bool enableAlerts, bool alertOnHotBar, int minStrengthForAlert, bool enableZoneInvalidation, ZoneInvalidationModeLite invalidationMode, int consecutiveClosesToInvalidate, bool enableVolumeWeighting, int minZoneOpacity, int maxZoneOpacity, bool showZoneLabels, bool showTimeframeOnLabel, bool showVolumeOnLabel, bool showStrengthOnLabel, int labelFontSize)
		{
			return indicator.BadBuddha_ZenZonesLite(input, enableUpdateChecks, updateCadenceDays, bodyAverageRange, volumeAverageRange, bodyStdDevs, hotThreshold, showZones, timeframe, maxZones, enableZoneStrength, minimumZoneStrength, showStrengthStars, enableAlerts, alertOnHotBar, minStrengthForAlert, enableZoneInvalidation, invalidationMode, consecutiveClosesToInvalidate, enableVolumeWeighting, minZoneOpacity, maxZoneOpacity, showZoneLabels, showTimeframeOnLabel, showVolumeOnLabel, showStrengthOnLabel, labelFontSize);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddha_ZenZonesLite BadBuddha_ZenZonesLite(bool enableUpdateChecks, int updateCadenceDays, int bodyAverageRange, int volumeAverageRange, double bodyStdDevs, double hotThreshold, bool showZones, TimeframeOptionLite timeframe, int maxZones, bool enableZoneStrength, int minimumZoneStrength, bool showStrengthStars, bool enableAlerts, bool alertOnHotBar, int minStrengthForAlert, bool enableZoneInvalidation, ZoneInvalidationModeLite invalidationMode, int consecutiveClosesToInvalidate, bool enableVolumeWeighting, int minZoneOpacity, int maxZoneOpacity, bool showZoneLabels, bool showTimeframeOnLabel, bool showVolumeOnLabel, bool showStrengthOnLabel, int labelFontSize)
		{
			return indicator.BadBuddha_ZenZonesLite(Input, enableUpdateChecks, updateCadenceDays, bodyAverageRange, volumeAverageRange, bodyStdDevs, hotThreshold, showZones, timeframe, maxZones, enableZoneStrength, minimumZoneStrength, showStrengthStars, enableAlerts, alertOnHotBar, minStrengthForAlert, enableZoneInvalidation, invalidationMode, consecutiveClosesToInvalidate, enableVolumeWeighting, minZoneOpacity, maxZoneOpacity, showZoneLabels, showTimeframeOnLabel, showVolumeOnLabel, showStrengthOnLabel, labelFontSize);
		}


		
		public Indicators.BadBuddha_ZenZonesLite BadBuddha_ZenZonesLite(ISeries<double> input , bool enableUpdateChecks, int updateCadenceDays, int bodyAverageRange, int volumeAverageRange, double bodyStdDevs, double hotThreshold, bool showZones, TimeframeOptionLite timeframe, int maxZones, bool enableZoneStrength, int minimumZoneStrength, bool showStrengthStars, bool enableAlerts, bool alertOnHotBar, int minStrengthForAlert, bool enableZoneInvalidation, ZoneInvalidationModeLite invalidationMode, int consecutiveClosesToInvalidate, bool enableVolumeWeighting, int minZoneOpacity, int maxZoneOpacity, bool showZoneLabels, bool showTimeframeOnLabel, bool showVolumeOnLabel, bool showStrengthOnLabel, int labelFontSize)
		{
			return indicator.BadBuddha_ZenZonesLite(input, enableUpdateChecks, updateCadenceDays, bodyAverageRange, volumeAverageRange, bodyStdDevs, hotThreshold, showZones, timeframe, maxZones, enableZoneStrength, minimumZoneStrength, showStrengthStars, enableAlerts, alertOnHotBar, minStrengthForAlert, enableZoneInvalidation, invalidationMode, consecutiveClosesToInvalidate, enableVolumeWeighting, minZoneOpacity, maxZoneOpacity, showZoneLabels, showTimeframeOnLabel, showVolumeOnLabel, showStrengthOnLabel, labelFontSize);
		}

	}
}

#endregion
