#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 PropShieldUniRenkoCloseProjection[] cachePropShieldUniRenkoCloseProjection;

		
		public PropShieldUniRenkoCloseProjection PropShieldUniRenkoCloseProjection(int tickTrend, int openOffset, int tickReversal, bool showAnchorLine, bool showBullLine, bool showMidLine, bool showBearLine, bool showLabels, bool showAnchorLabel, bool showMidLabel, bool showTicksAway, bool showHud, bool showStatusStrip, bool useMinimalHudMode, bool showOnlyCurrentBar, bool showNextTriggerOnLabels, bool showRangeLocationPercent, bool showNearTriggerState, bool showAnchorContext, bool showModeReadout, bool showDirectionalStrength, bool showRegimeReadout, bool enableRegimePlotColoring, bool enableProjectedBoxes, bool showBullProjectedBox, bool showBearProjectedBox, int bullBoxOpacity, int bearBoxOpacity, int strongThreshold, int biasThreshold, int labelOffsetTicks, int nearTriggerThresholdTicks, PSHudCorner hudCorner, bool enableHotAlerts, bool alertOnBullHot, bool alertOnBearHot, int hotAlertRearmTicks, string bullHotSoundFile, string bearHotSoundFile)
		{
			return PropShieldUniRenkoCloseProjection(Input, tickTrend, openOffset, tickReversal, showAnchorLine, showBullLine, showMidLine, showBearLine, showLabels, showAnchorLabel, showMidLabel, showTicksAway, showHud, showStatusStrip, useMinimalHudMode, showOnlyCurrentBar, showNextTriggerOnLabels, showRangeLocationPercent, showNearTriggerState, showAnchorContext, showModeReadout, showDirectionalStrength, showRegimeReadout, enableRegimePlotColoring, enableProjectedBoxes, showBullProjectedBox, showBearProjectedBox, bullBoxOpacity, bearBoxOpacity, strongThreshold, biasThreshold, labelOffsetTicks, nearTriggerThresholdTicks, hudCorner, enableHotAlerts, alertOnBullHot, alertOnBearHot, hotAlertRearmTicks, bullHotSoundFile, bearHotSoundFile);
		}


		
		public PropShieldUniRenkoCloseProjection PropShieldUniRenkoCloseProjection(ISeries<double> input, int tickTrend, int openOffset, int tickReversal, bool showAnchorLine, bool showBullLine, bool showMidLine, bool showBearLine, bool showLabels, bool showAnchorLabel, bool showMidLabel, bool showTicksAway, bool showHud, bool showStatusStrip, bool useMinimalHudMode, bool showOnlyCurrentBar, bool showNextTriggerOnLabels, bool showRangeLocationPercent, bool showNearTriggerState, bool showAnchorContext, bool showModeReadout, bool showDirectionalStrength, bool showRegimeReadout, bool enableRegimePlotColoring, bool enableProjectedBoxes, bool showBullProjectedBox, bool showBearProjectedBox, int bullBoxOpacity, int bearBoxOpacity, int strongThreshold, int biasThreshold, int labelOffsetTicks, int nearTriggerThresholdTicks, PSHudCorner hudCorner, bool enableHotAlerts, bool alertOnBullHot, bool alertOnBearHot, int hotAlertRearmTicks, string bullHotSoundFile, string bearHotSoundFile)
		{
			if (cachePropShieldUniRenkoCloseProjection != null)
				for (int idx = 0; idx < cachePropShieldUniRenkoCloseProjection.Length; idx++)
					if (cachePropShieldUniRenkoCloseProjection[idx].TickTrend == tickTrend && cachePropShieldUniRenkoCloseProjection[idx].OpenOffset == openOffset && cachePropShieldUniRenkoCloseProjection[idx].TickReversal == tickReversal && cachePropShieldUniRenkoCloseProjection[idx].ShowAnchorLine == showAnchorLine && cachePropShieldUniRenkoCloseProjection[idx].ShowBullLine == showBullLine && cachePropShieldUniRenkoCloseProjection[idx].ShowMidLine == showMidLine && cachePropShieldUniRenkoCloseProjection[idx].ShowBearLine == showBearLine && cachePropShieldUniRenkoCloseProjection[idx].ShowLabels == showLabels && cachePropShieldUniRenkoCloseProjection[idx].ShowAnchorLabel == showAnchorLabel && cachePropShieldUniRenkoCloseProjection[idx].ShowMidLabel == showMidLabel && cachePropShieldUniRenkoCloseProjection[idx].ShowTicksAway == showTicksAway && cachePropShieldUniRenkoCloseProjection[idx].ShowHud == showHud && cachePropShieldUniRenkoCloseProjection[idx].ShowStatusStrip == showStatusStrip && cachePropShieldUniRenkoCloseProjection[idx].UseMinimalHudMode == useMinimalHudMode && cachePropShieldUniRenkoCloseProjection[idx].ShowOnlyCurrentBar == showOnlyCurrentBar && cachePropShieldUniRenkoCloseProjection[idx].ShowNextTriggerOnLabels == showNextTriggerOnLabels && cachePropShieldUniRenkoCloseProjection[idx].ShowRangeLocationPercent == showRangeLocationPercent && cachePropShieldUniRenkoCloseProjection[idx].ShowNearTriggerState == showNearTriggerState && cachePropShieldUniRenkoCloseProjection[idx].ShowAnchorContext == showAnchorContext && cachePropShieldUniRenkoCloseProjection[idx].ShowModeReadout == showModeReadout && cachePropShieldUniRenkoCloseProjection[idx].ShowDirectionalStrength == showDirectionalStrength && cachePropShieldUniRenkoCloseProjection[idx].ShowRegimeReadout == showRegimeReadout && cachePropShieldUniRenkoCloseProjection[idx].EnableRegimePlotColoring == enableRegimePlotColoring && cachePropShieldUniRenkoCloseProjection[idx].EnableProjectedBoxes == enableProjectedBoxes && cachePropShieldUniRenkoCloseProjection[idx].ShowBullProjectedBox == showBullProjectedBox && cachePropShieldUniRenkoCloseProjection[idx].ShowBearProjectedBox == showBearProjectedBox && cachePropShieldUniRenkoCloseProjection[idx].BullBoxOpacity == bullBoxOpacity && cachePropShieldUniRenkoCloseProjection[idx].BearBoxOpacity == bearBoxOpacity && cachePropShieldUniRenkoCloseProjection[idx].StrongThreshold == strongThreshold && cachePropShieldUniRenkoCloseProjection[idx].BiasThreshold == biasThreshold && cachePropShieldUniRenkoCloseProjection[idx].LabelOffsetTicks == labelOffsetTicks && cachePropShieldUniRenkoCloseProjection[idx].NearTriggerThresholdTicks == nearTriggerThresholdTicks && cachePropShieldUniRenkoCloseProjection[idx].HudCorner == hudCorner && cachePropShieldUniRenkoCloseProjection[idx].EnableHotAlerts == enableHotAlerts && cachePropShieldUniRenkoCloseProjection[idx].AlertOnBullHot == alertOnBullHot && cachePropShieldUniRenkoCloseProjection[idx].AlertOnBearHot == alertOnBearHot && cachePropShieldUniRenkoCloseProjection[idx].HotAlertRearmTicks == hotAlertRearmTicks && cachePropShieldUniRenkoCloseProjection[idx].BullHotSoundFile == bullHotSoundFile && cachePropShieldUniRenkoCloseProjection[idx].BearHotSoundFile == bearHotSoundFile && cachePropShieldUniRenkoCloseProjection[idx].EqualsInput(input))
						return cachePropShieldUniRenkoCloseProjection[idx];
			return CacheIndicator<PropShieldUniRenkoCloseProjection>(new PropShieldUniRenkoCloseProjection(){ TickTrend = tickTrend, OpenOffset = openOffset, TickReversal = tickReversal, ShowAnchorLine = showAnchorLine, ShowBullLine = showBullLine, ShowMidLine = showMidLine, ShowBearLine = showBearLine, ShowLabels = showLabels, ShowAnchorLabel = showAnchorLabel, ShowMidLabel = showMidLabel, ShowTicksAway = showTicksAway, ShowHud = showHud, ShowStatusStrip = showStatusStrip, UseMinimalHudMode = useMinimalHudMode, ShowOnlyCurrentBar = showOnlyCurrentBar, ShowNextTriggerOnLabels = showNextTriggerOnLabels, ShowRangeLocationPercent = showRangeLocationPercent, ShowNearTriggerState = showNearTriggerState, ShowAnchorContext = showAnchorContext, ShowModeReadout = showModeReadout, ShowDirectionalStrength = showDirectionalStrength, ShowRegimeReadout = showRegimeReadout, EnableRegimePlotColoring = enableRegimePlotColoring, EnableProjectedBoxes = enableProjectedBoxes, ShowBullProjectedBox = showBullProjectedBox, ShowBearProjectedBox = showBearProjectedBox, BullBoxOpacity = bullBoxOpacity, BearBoxOpacity = bearBoxOpacity, StrongThreshold = strongThreshold, BiasThreshold = biasThreshold, LabelOffsetTicks = labelOffsetTicks, NearTriggerThresholdTicks = nearTriggerThresholdTicks, HudCorner = hudCorner, EnableHotAlerts = enableHotAlerts, AlertOnBullHot = alertOnBullHot, AlertOnBearHot = alertOnBearHot, HotAlertRearmTicks = hotAlertRearmTicks, BullHotSoundFile = bullHotSoundFile, BearHotSoundFile = bearHotSoundFile }, input, ref cachePropShieldUniRenkoCloseProjection);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.PropShieldUniRenkoCloseProjection PropShieldUniRenkoCloseProjection(int tickTrend, int openOffset, int tickReversal, bool showAnchorLine, bool showBullLine, bool showMidLine, bool showBearLine, bool showLabels, bool showAnchorLabel, bool showMidLabel, bool showTicksAway, bool showHud, bool showStatusStrip, bool useMinimalHudMode, bool showOnlyCurrentBar, bool showNextTriggerOnLabels, bool showRangeLocationPercent, bool showNearTriggerState, bool showAnchorContext, bool showModeReadout, bool showDirectionalStrength, bool showRegimeReadout, bool enableRegimePlotColoring, bool enableProjectedBoxes, bool showBullProjectedBox, bool showBearProjectedBox, int bullBoxOpacity, int bearBoxOpacity, int strongThreshold, int biasThreshold, int labelOffsetTicks, int nearTriggerThresholdTicks, PSHudCorner hudCorner, bool enableHotAlerts, bool alertOnBullHot, bool alertOnBearHot, int hotAlertRearmTicks, string bullHotSoundFile, string bearHotSoundFile)
		{
			return indicator.PropShieldUniRenkoCloseProjection(Input, tickTrend, openOffset, tickReversal, showAnchorLine, showBullLine, showMidLine, showBearLine, showLabels, showAnchorLabel, showMidLabel, showTicksAway, showHud, showStatusStrip, useMinimalHudMode, showOnlyCurrentBar, showNextTriggerOnLabels, showRangeLocationPercent, showNearTriggerState, showAnchorContext, showModeReadout, showDirectionalStrength, showRegimeReadout, enableRegimePlotColoring, enableProjectedBoxes, showBullProjectedBox, showBearProjectedBox, bullBoxOpacity, bearBoxOpacity, strongThreshold, biasThreshold, labelOffsetTicks, nearTriggerThresholdTicks, hudCorner, enableHotAlerts, alertOnBullHot, alertOnBearHot, hotAlertRearmTicks, bullHotSoundFile, bearHotSoundFile);
		}


		
		public Indicators.PropShieldUniRenkoCloseProjection PropShieldUniRenkoCloseProjection(ISeries<double> input , int tickTrend, int openOffset, int tickReversal, bool showAnchorLine, bool showBullLine, bool showMidLine, bool showBearLine, bool showLabels, bool showAnchorLabel, bool showMidLabel, bool showTicksAway, bool showHud, bool showStatusStrip, bool useMinimalHudMode, bool showOnlyCurrentBar, bool showNextTriggerOnLabels, bool showRangeLocationPercent, bool showNearTriggerState, bool showAnchorContext, bool showModeReadout, bool showDirectionalStrength, bool showRegimeReadout, bool enableRegimePlotColoring, bool enableProjectedBoxes, bool showBullProjectedBox, bool showBearProjectedBox, int bullBoxOpacity, int bearBoxOpacity, int strongThreshold, int biasThreshold, int labelOffsetTicks, int nearTriggerThresholdTicks, PSHudCorner hudCorner, bool enableHotAlerts, bool alertOnBullHot, bool alertOnBearHot, int hotAlertRearmTicks, string bullHotSoundFile, string bearHotSoundFile)
		{
			return indicator.PropShieldUniRenkoCloseProjection(input, tickTrend, openOffset, tickReversal, showAnchorLine, showBullLine, showMidLine, showBearLine, showLabels, showAnchorLabel, showMidLabel, showTicksAway, showHud, showStatusStrip, useMinimalHudMode, showOnlyCurrentBar, showNextTriggerOnLabels, showRangeLocationPercent, showNearTriggerState, showAnchorContext, showModeReadout, showDirectionalStrength, showRegimeReadout, enableRegimePlotColoring, enableProjectedBoxes, showBullProjectedBox, showBearProjectedBox, bullBoxOpacity, bearBoxOpacity, strongThreshold, biasThreshold, labelOffsetTicks, nearTriggerThresholdTicks, hudCorner, enableHotAlerts, alertOnBullHot, alertOnBearHot, hotAlertRearmTicks, bullHotSoundFile, bearHotSoundFile);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.PropShieldUniRenkoCloseProjection PropShieldUniRenkoCloseProjection(int tickTrend, int openOffset, int tickReversal, bool showAnchorLine, bool showBullLine, bool showMidLine, bool showBearLine, bool showLabels, bool showAnchorLabel, bool showMidLabel, bool showTicksAway, bool showHud, bool showStatusStrip, bool useMinimalHudMode, bool showOnlyCurrentBar, bool showNextTriggerOnLabels, bool showRangeLocationPercent, bool showNearTriggerState, bool showAnchorContext, bool showModeReadout, bool showDirectionalStrength, bool showRegimeReadout, bool enableRegimePlotColoring, bool enableProjectedBoxes, bool showBullProjectedBox, bool showBearProjectedBox, int bullBoxOpacity, int bearBoxOpacity, int strongThreshold, int biasThreshold, int labelOffsetTicks, int nearTriggerThresholdTicks, PSHudCorner hudCorner, bool enableHotAlerts, bool alertOnBullHot, bool alertOnBearHot, int hotAlertRearmTicks, string bullHotSoundFile, string bearHotSoundFile)
		{
			return indicator.PropShieldUniRenkoCloseProjection(Input, tickTrend, openOffset, tickReversal, showAnchorLine, showBullLine, showMidLine, showBearLine, showLabels, showAnchorLabel, showMidLabel, showTicksAway, showHud, showStatusStrip, useMinimalHudMode, showOnlyCurrentBar, showNextTriggerOnLabels, showRangeLocationPercent, showNearTriggerState, showAnchorContext, showModeReadout, showDirectionalStrength, showRegimeReadout, enableRegimePlotColoring, enableProjectedBoxes, showBullProjectedBox, showBearProjectedBox, bullBoxOpacity, bearBoxOpacity, strongThreshold, biasThreshold, labelOffsetTicks, nearTriggerThresholdTicks, hudCorner, enableHotAlerts, alertOnBullHot, alertOnBearHot, hotAlertRearmTicks, bullHotSoundFile, bearHotSoundFile);
		}


		
		public Indicators.PropShieldUniRenkoCloseProjection PropShieldUniRenkoCloseProjection(ISeries<double> input , int tickTrend, int openOffset, int tickReversal, bool showAnchorLine, bool showBullLine, bool showMidLine, bool showBearLine, bool showLabels, bool showAnchorLabel, bool showMidLabel, bool showTicksAway, bool showHud, bool showStatusStrip, bool useMinimalHudMode, bool showOnlyCurrentBar, bool showNextTriggerOnLabels, bool showRangeLocationPercent, bool showNearTriggerState, bool showAnchorContext, bool showModeReadout, bool showDirectionalStrength, bool showRegimeReadout, bool enableRegimePlotColoring, bool enableProjectedBoxes, bool showBullProjectedBox, bool showBearProjectedBox, int bullBoxOpacity, int bearBoxOpacity, int strongThreshold, int biasThreshold, int labelOffsetTicks, int nearTriggerThresholdTicks, PSHudCorner hudCorner, bool enableHotAlerts, bool alertOnBullHot, bool alertOnBearHot, int hotAlertRearmTicks, string bullHotSoundFile, string bearHotSoundFile)
		{
			return indicator.PropShieldUniRenkoCloseProjection(input, tickTrend, openOffset, tickReversal, showAnchorLine, showBullLine, showMidLine, showBearLine, showLabels, showAnchorLabel, showMidLabel, showTicksAway, showHud, showStatusStrip, useMinimalHudMode, showOnlyCurrentBar, showNextTriggerOnLabels, showRangeLocationPercent, showNearTriggerState, showAnchorContext, showModeReadout, showDirectionalStrength, showRegimeReadout, enableRegimePlotColoring, enableProjectedBoxes, showBullProjectedBox, showBearProjectedBox, bullBoxOpacity, bearBoxOpacity, strongThreshold, biasThreshold, labelOffsetTicks, nearTriggerThresholdTicks, hudCorner, enableHotAlerts, alertOnBullHot, alertOnBearHot, hotAlertRearmTicks, bullHotSoundFile, bearHotSoundFile);
		}

	}
}

#endregion
