#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.ChartInfo[] cacheChartInfo;

		
		public BadBuddhaCustoms.ChartInfo ChartInfo(Brush textColor, int textOpacity, int fontSize, int position, int horizontalOffset, int verticalOffset, bool enableUpdateCheck, bool showUpdatePopup)
		{
			return ChartInfo(Input, textColor, textOpacity, fontSize, position, horizontalOffset, verticalOffset, enableUpdateCheck, showUpdatePopup);
		}


		
		public BadBuddhaCustoms.ChartInfo ChartInfo(ISeries<double> input, Brush textColor, int textOpacity, int fontSize, int position, int horizontalOffset, int verticalOffset, bool enableUpdateCheck, bool showUpdatePopup)
		{
			if (cacheChartInfo != null)
				for (int idx = 0; idx < cacheChartInfo.Length; idx++)
					if (cacheChartInfo[idx].TextColor == textColor && cacheChartInfo[idx].TextOpacity == textOpacity && cacheChartInfo[idx].FontSize == fontSize && cacheChartInfo[idx].Position == position && cacheChartInfo[idx].HorizontalOffset == horizontalOffset && cacheChartInfo[idx].VerticalOffset == verticalOffset && cacheChartInfo[idx].EnableUpdateCheck == enableUpdateCheck && cacheChartInfo[idx].ShowUpdatePopup == showUpdatePopup && cacheChartInfo[idx].EqualsInput(input))
						return cacheChartInfo[idx];
			return CacheIndicator<BadBuddhaCustoms.ChartInfo>(new BadBuddhaCustoms.ChartInfo(){ TextColor = textColor, TextOpacity = textOpacity, FontSize = fontSize, Position = position, HorizontalOffset = horizontalOffset, VerticalOffset = verticalOffset, EnableUpdateCheck = enableUpdateCheck, ShowUpdatePopup = showUpdatePopup }, input, ref cacheChartInfo);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.BadBuddhaCustoms.ChartInfo ChartInfo(Brush textColor, int textOpacity, int fontSize, int position, int horizontalOffset, int verticalOffset, bool enableUpdateCheck, bool showUpdatePopup)
		{
			return indicator.ChartInfo(Input, textColor, textOpacity, fontSize, position, horizontalOffset, verticalOffset, enableUpdateCheck, showUpdatePopup);
		}


		
		public Indicators.BadBuddhaCustoms.ChartInfo ChartInfo(ISeries<double> input , Brush textColor, int textOpacity, int fontSize, int position, int horizontalOffset, int verticalOffset, bool enableUpdateCheck, bool showUpdatePopup)
		{
			return indicator.ChartInfo(input, textColor, textOpacity, fontSize, position, horizontalOffset, verticalOffset, enableUpdateCheck, showUpdatePopup);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.BadBuddhaCustoms.ChartInfo ChartInfo(Brush textColor, int textOpacity, int fontSize, int position, int horizontalOffset, int verticalOffset, bool enableUpdateCheck, bool showUpdatePopup)
		{
			return indicator.ChartInfo(Input, textColor, textOpacity, fontSize, position, horizontalOffset, verticalOffset, enableUpdateCheck, showUpdatePopup);
		}


		
		public Indicators.BadBuddhaCustoms.ChartInfo ChartInfo(ISeries<double> input , Brush textColor, int textOpacity, int fontSize, int position, int horizontalOffset, int verticalOffset, bool enableUpdateCheck, bool showUpdatePopup)
		{
			return indicator.ChartInfo(input, textColor, textOpacity, fontSize, position, horizontalOffset, verticalOffset, enableUpdateCheck, showUpdatePopup);
		}

	}
}

#endregion
