#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 ninZaHelperRSI[] cacheninZaHelperRSI;

		
		public ninZaHelperRSI ninZaHelperRSI(int period, int smooth)
		{
			return ninZaHelperRSI(Input, period, smooth);
		}


		
		public ninZaHelperRSI ninZaHelperRSI(ISeries<double> input, int period, int smooth)
		{
			if (cacheninZaHelperRSI != null)
				for (int idx = 0; idx < cacheninZaHelperRSI.Length; idx++)
					if (cacheninZaHelperRSI[idx].Period == period && cacheninZaHelperRSI[idx].Smooth == smooth && cacheninZaHelperRSI[idx].EqualsInput(input))
						return cacheninZaHelperRSI[idx];
			return CacheIndicator<ninZaHelperRSI>(new ninZaHelperRSI(){ Period = period, Smooth = smooth }, input, ref cacheninZaHelperRSI);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.ninZaHelperRSI ninZaHelperRSI(int period, int smooth)
		{
			return indicator.ninZaHelperRSI(Input, period, smooth);
		}


		
		public Indicators.ninZaHelperRSI ninZaHelperRSI(ISeries<double> input , int period, int smooth)
		{
			return indicator.ninZaHelperRSI(input, period, smooth);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.ninZaHelperRSI ninZaHelperRSI(int period, int smooth)
		{
			return indicator.ninZaHelperRSI(Input, period, smooth);
		}


		
		public Indicators.ninZaHelperRSI ninZaHelperRSI(ISeries<double> input , int period, int smooth)
		{
			return indicator.ninZaHelperRSI(input, period, smooth);
		}

	}
}

#endregion
