#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_Enhanced_Orderline[] cacheBadBuddha_Enhanced_Orderline;

		
		public BadBuddhaCustoms.BadBuddha_Enhanced_Orderline BadBuddha_Enhanced_Orderline(int lineThickness, int pTShadeOpacity, int sLShadeOpacity)
		{
			return BadBuddha_Enhanced_Orderline(Input, lineThickness, pTShadeOpacity, sLShadeOpacity);
		}


		
		public BadBuddhaCustoms.BadBuddha_Enhanced_Orderline BadBuddha_Enhanced_Orderline(ISeries<double> input, int lineThickness, int pTShadeOpacity, int sLShadeOpacity)
		{
			if (cacheBadBuddha_Enhanced_Orderline != null)
				for (int idx = 0; idx < cacheBadBuddha_Enhanced_Orderline.Length; idx++)
					if (cacheBadBuddha_Enhanced_Orderline[idx].LineThickness == lineThickness && cacheBadBuddha_Enhanced_Orderline[idx].PTShadeOpacity == pTShadeOpacity && cacheBadBuddha_Enhanced_Orderline[idx].SLShadeOpacity == sLShadeOpacity && cacheBadBuddha_Enhanced_Orderline[idx].EqualsInput(input))
						return cacheBadBuddha_Enhanced_Orderline[idx];
			return CacheIndicator<BadBuddhaCustoms.BadBuddha_Enhanced_Orderline>(new BadBuddhaCustoms.BadBuddha_Enhanced_Orderline(){ LineThickness = lineThickness, PTShadeOpacity = pTShadeOpacity, SLShadeOpacity = sLShadeOpacity }, input, ref cacheBadBuddha_Enhanced_Orderline);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_Enhanced_Orderline BadBuddha_Enhanced_Orderline(int lineThickness, int pTShadeOpacity, int sLShadeOpacity)
		{
			return indicator.BadBuddha_Enhanced_Orderline(Input, lineThickness, pTShadeOpacity, sLShadeOpacity);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_Enhanced_Orderline BadBuddha_Enhanced_Orderline(ISeries<double> input , int lineThickness, int pTShadeOpacity, int sLShadeOpacity)
		{
			return indicator.BadBuddha_Enhanced_Orderline(input, lineThickness, pTShadeOpacity, sLShadeOpacity);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddhaCustoms.BadBuddha_Enhanced_Orderline BadBuddha_Enhanced_Orderline(int lineThickness, int pTShadeOpacity, int sLShadeOpacity)
		{
			return indicator.BadBuddha_Enhanced_Orderline(Input, lineThickness, pTShadeOpacity, sLShadeOpacity);
		}


		
		public Indicators.BadBuddhaCustoms.BadBuddha_Enhanced_Orderline BadBuddha_Enhanced_Orderline(ISeries<double> input , int lineThickness, int pTShadeOpacity, int sLShadeOpacity)
		{
			return indicator.BadBuddha_Enhanced_Orderline(input, lineThickness, pTShadeOpacity, sLShadeOpacity);
		}

	}
}

#endregion
