#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 OFAIndicatorSTCORE[] cacheOFAIndicatorSTCORE;

		
		public OFAIndicatorSTCORE OFAIndicatorSTCORE(int clusterPercent_VCA, int valueAreaPercent_VCA, NinjaTrader.OFA.OFAColorLogic _colorLogic)
		{
			return OFAIndicatorSTCORE(Input, clusterPercent_VCA, valueAreaPercent_VCA, _colorLogic);
		}


		
		public OFAIndicatorSTCORE OFAIndicatorSTCORE(ISeries<double> input, int clusterPercent_VCA, int valueAreaPercent_VCA, NinjaTrader.OFA.OFAColorLogic _colorLogic)
		{
			if (cacheOFAIndicatorSTCORE != null)
				for (int idx = 0; idx < cacheOFAIndicatorSTCORE.Length; idx++)
					if (cacheOFAIndicatorSTCORE[idx].ClusterPercent_VCA == clusterPercent_VCA && cacheOFAIndicatorSTCORE[idx].ValueAreaPercent_VCA == valueAreaPercent_VCA && cacheOFAIndicatorSTCORE[idx]._ColorLogic == _colorLogic && cacheOFAIndicatorSTCORE[idx].EqualsInput(input))
						return cacheOFAIndicatorSTCORE[idx];
			return CacheIndicator<OFAIndicatorSTCORE>(new OFAIndicatorSTCORE(){ ClusterPercent_VCA = clusterPercent_VCA, ValueAreaPercent_VCA = valueAreaPercent_VCA, _ColorLogic = _colorLogic }, input, ref cacheOFAIndicatorSTCORE);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.OFAIndicatorSTCORE OFAIndicatorSTCORE(int clusterPercent_VCA, int valueAreaPercent_VCA, NinjaTrader.OFA.OFAColorLogic _colorLogic)
		{
			return indicator.OFAIndicatorSTCORE(Input, clusterPercent_VCA, valueAreaPercent_VCA, _colorLogic);
		}


		
		public Indicators.OFAIndicatorSTCORE OFAIndicatorSTCORE(ISeries<double> input , int clusterPercent_VCA, int valueAreaPercent_VCA, NinjaTrader.OFA.OFAColorLogic _colorLogic)
		{
			return indicator.OFAIndicatorSTCORE(input, clusterPercent_VCA, valueAreaPercent_VCA, _colorLogic);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.OFAIndicatorSTCORE OFAIndicatorSTCORE(int clusterPercent_VCA, int valueAreaPercent_VCA, NinjaTrader.OFA.OFAColorLogic _colorLogic)
		{
			return indicator.OFAIndicatorSTCORE(Input, clusterPercent_VCA, valueAreaPercent_VCA, _colorLogic);
		}


		
		public Indicators.OFAIndicatorSTCORE OFAIndicatorSTCORE(ISeries<double> input , int clusterPercent_VCA, int valueAreaPercent_VCA, NinjaTrader.OFA.OFAColorLogic _colorLogic)
		{
			return indicator.OFAIndicatorSTCORE(input, clusterPercent_VCA, valueAreaPercent_VCA, _colorLogic);
		}

	}
}

#endregion
