#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 PropShieldBarTimer[] cachePropShieldBarTimer;

		
		public PropShieldBarTimer PropShieldBarTimer(int fontSize, int barsRightOffset, int verticalOffsetTicks, bool shortFormatUnderOneHour, Brush upTextColor, Brush downTextColor, Brush neutralTextColor)
		{
			return PropShieldBarTimer(Input, fontSize, barsRightOffset, verticalOffsetTicks, shortFormatUnderOneHour, upTextColor, downTextColor, neutralTextColor);
		}


		
		public PropShieldBarTimer PropShieldBarTimer(ISeries<double> input, int fontSize, int barsRightOffset, int verticalOffsetTicks, bool shortFormatUnderOneHour, Brush upTextColor, Brush downTextColor, Brush neutralTextColor)
		{
			if (cachePropShieldBarTimer != null)
				for (int idx = 0; idx < cachePropShieldBarTimer.Length; idx++)
					if (cachePropShieldBarTimer[idx].FontSize == fontSize && cachePropShieldBarTimer[idx].BarsRightOffset == barsRightOffset && cachePropShieldBarTimer[idx].VerticalOffsetTicks == verticalOffsetTicks && cachePropShieldBarTimer[idx].ShortFormatUnderOneHour == shortFormatUnderOneHour && cachePropShieldBarTimer[idx].UpTextColor == upTextColor && cachePropShieldBarTimer[idx].DownTextColor == downTextColor && cachePropShieldBarTimer[idx].NeutralTextColor == neutralTextColor && cachePropShieldBarTimer[idx].EqualsInput(input))
						return cachePropShieldBarTimer[idx];
			return CacheIndicator<PropShieldBarTimer>(new PropShieldBarTimer(){ FontSize = fontSize, BarsRightOffset = barsRightOffset, VerticalOffsetTicks = verticalOffsetTicks, ShortFormatUnderOneHour = shortFormatUnderOneHour, UpTextColor = upTextColor, DownTextColor = downTextColor, NeutralTextColor = neutralTextColor }, input, ref cachePropShieldBarTimer);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.PropShieldBarTimer PropShieldBarTimer(int fontSize, int barsRightOffset, int verticalOffsetTicks, bool shortFormatUnderOneHour, Brush upTextColor, Brush downTextColor, Brush neutralTextColor)
		{
			return indicator.PropShieldBarTimer(Input, fontSize, barsRightOffset, verticalOffsetTicks, shortFormatUnderOneHour, upTextColor, downTextColor, neutralTextColor);
		}


		
		public Indicators.PropShieldBarTimer PropShieldBarTimer(ISeries<double> input , int fontSize, int barsRightOffset, int verticalOffsetTicks, bool shortFormatUnderOneHour, Brush upTextColor, Brush downTextColor, Brush neutralTextColor)
		{
			return indicator.PropShieldBarTimer(input, fontSize, barsRightOffset, verticalOffsetTicks, shortFormatUnderOneHour, upTextColor, downTextColor, neutralTextColor);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.PropShieldBarTimer PropShieldBarTimer(int fontSize, int barsRightOffset, int verticalOffsetTicks, bool shortFormatUnderOneHour, Brush upTextColor, Brush downTextColor, Brush neutralTextColor)
		{
			return indicator.PropShieldBarTimer(Input, fontSize, barsRightOffset, verticalOffsetTicks, shortFormatUnderOneHour, upTextColor, downTextColor, neutralTextColor);
		}


		
		public Indicators.PropShieldBarTimer PropShieldBarTimer(ISeries<double> input , int fontSize, int barsRightOffset, int verticalOffsetTicks, bool shortFormatUnderOneHour, Brush upTextColor, Brush downTextColor, Brush neutralTextColor)
		{
			return indicator.PropShieldBarTimer(input, fontSize, barsRightOffset, verticalOffsetTicks, shortFormatUnderOneHour, upTextColor, downTextColor, neutralTextColor);
		}

	}
}

#endregion
