#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 GlowBarCloseTrader[] cacheGlowBarCloseTrader;

		
		public GlowBarCloseTrader GlowBarCloseTrader(Brush orderButtonTextColor, Brush slColor, Brush ptColor, Brush longButtonColor, Brush shortButtonColor, Brush panelTextColor, Brush modeButtonMultiBackground, Brush modeButtonMaxBackground, Brush modeButtonForeground, int buttonSaturation, int modeButtonSaturation, int fieldTintOpacity, Brush directionWithBarColor, Brush directionOppositeBarColor, Brush setBarButtonColor, Brush slFieldTintColor, Brush ptFieldTintColor, Brush barGlowColor, Brush selectedBarArrowColor, NinjaTrader.NinjaScript.Indicators.BarCloseTraderCalculationMode persistMode, double persistMaxRiskUsd, int persistMaxQty, int persistSlPct, int persistPtPct, bool persistPlaceAtBarClose, NinjaTrader.NinjaScript.Indicators.BarCloseTraderTradeDirection persistTradeDirection, bool persistIncludeWickInSlPt, bool persistShowPoints, NinjaTrader.NinjaScript.Indicators.SelectedBarEffect persistSelectedBarEffect, bool persistGlowEnabled, int persistGlowStrength, int persistGlowQuality, int persistBarGlowStrength, int persistBarGlowQuality, string persistMultiSizesCsv, int persistLiveUpdateMs, int persistSlippageBufferTicks)
		{
			return GlowBarCloseTrader(Input, orderButtonTextColor, slColor, ptColor, longButtonColor, shortButtonColor, panelTextColor, modeButtonMultiBackground, modeButtonMaxBackground, modeButtonForeground, buttonSaturation, modeButtonSaturation, fieldTintOpacity, directionWithBarColor, directionOppositeBarColor, setBarButtonColor, slFieldTintColor, ptFieldTintColor, barGlowColor, selectedBarArrowColor, persistMode, persistMaxRiskUsd, persistMaxQty, persistSlPct, persistPtPct, persistPlaceAtBarClose, persistTradeDirection, persistIncludeWickInSlPt, persistShowPoints, persistSelectedBarEffect, persistGlowEnabled, persistGlowStrength, persistGlowQuality, persistBarGlowStrength, persistBarGlowQuality, persistMultiSizesCsv, persistLiveUpdateMs, persistSlippageBufferTicks);
		}


		
		public GlowBarCloseTrader GlowBarCloseTrader(ISeries<double> input, Brush orderButtonTextColor, Brush slColor, Brush ptColor, Brush longButtonColor, Brush shortButtonColor, Brush panelTextColor, Brush modeButtonMultiBackground, Brush modeButtonMaxBackground, Brush modeButtonForeground, int buttonSaturation, int modeButtonSaturation, int fieldTintOpacity, Brush directionWithBarColor, Brush directionOppositeBarColor, Brush setBarButtonColor, Brush slFieldTintColor, Brush ptFieldTintColor, Brush barGlowColor, Brush selectedBarArrowColor, NinjaTrader.NinjaScript.Indicators.BarCloseTraderCalculationMode persistMode, double persistMaxRiskUsd, int persistMaxQty, int persistSlPct, int persistPtPct, bool persistPlaceAtBarClose, NinjaTrader.NinjaScript.Indicators.BarCloseTraderTradeDirection persistTradeDirection, bool persistIncludeWickInSlPt, bool persistShowPoints, NinjaTrader.NinjaScript.Indicators.SelectedBarEffect persistSelectedBarEffect, bool persistGlowEnabled, int persistGlowStrength, int persistGlowQuality, int persistBarGlowStrength, int persistBarGlowQuality, string persistMultiSizesCsv, int persistLiveUpdateMs, int persistSlippageBufferTicks)
		{
			if (cacheGlowBarCloseTrader != null)
				for (int idx = 0; idx < cacheGlowBarCloseTrader.Length; idx++)
					if (cacheGlowBarCloseTrader[idx].OrderButtonTextColor == orderButtonTextColor && cacheGlowBarCloseTrader[idx].SlColor == slColor && cacheGlowBarCloseTrader[idx].PtColor == ptColor && cacheGlowBarCloseTrader[idx].LongButtonColor == longButtonColor && cacheGlowBarCloseTrader[idx].ShortButtonColor == shortButtonColor && cacheGlowBarCloseTrader[idx].PanelTextColor == panelTextColor && cacheGlowBarCloseTrader[idx].ModeButtonMultiBackground == modeButtonMultiBackground && cacheGlowBarCloseTrader[idx].ModeButtonMaxBackground == modeButtonMaxBackground && cacheGlowBarCloseTrader[idx].ModeButtonForeground == modeButtonForeground && cacheGlowBarCloseTrader[idx].ButtonSaturation == buttonSaturation && cacheGlowBarCloseTrader[idx].ModeButtonSaturation == modeButtonSaturation && cacheGlowBarCloseTrader[idx].FieldTintOpacity == fieldTintOpacity && cacheGlowBarCloseTrader[idx].DirectionWithBarColor == directionWithBarColor && cacheGlowBarCloseTrader[idx].DirectionOppositeBarColor == directionOppositeBarColor && cacheGlowBarCloseTrader[idx].SetBarButtonColor == setBarButtonColor && cacheGlowBarCloseTrader[idx].SlFieldTintColor == slFieldTintColor && cacheGlowBarCloseTrader[idx].PtFieldTintColor == ptFieldTintColor && cacheGlowBarCloseTrader[idx].BarGlowColor == barGlowColor && cacheGlowBarCloseTrader[idx].SelectedBarArrowColor == selectedBarArrowColor && cacheGlowBarCloseTrader[idx].PersistMode == persistMode && cacheGlowBarCloseTrader[idx].PersistMaxRiskUsd == persistMaxRiskUsd && cacheGlowBarCloseTrader[idx].PersistMaxQty == persistMaxQty && cacheGlowBarCloseTrader[idx].PersistSlPct == persistSlPct && cacheGlowBarCloseTrader[idx].PersistPtPct == persistPtPct && cacheGlowBarCloseTrader[idx].PersistPlaceAtBarClose == persistPlaceAtBarClose && cacheGlowBarCloseTrader[idx].PersistTradeDirection == persistTradeDirection && cacheGlowBarCloseTrader[idx].PersistIncludeWickInSlPt == persistIncludeWickInSlPt && cacheGlowBarCloseTrader[idx].PersistShowPoints == persistShowPoints && cacheGlowBarCloseTrader[idx].PersistSelectedBarEffect == persistSelectedBarEffect && cacheGlowBarCloseTrader[idx].PersistGlowEnabled == persistGlowEnabled && cacheGlowBarCloseTrader[idx].PersistGlowStrength == persistGlowStrength && cacheGlowBarCloseTrader[idx].PersistGlowQuality == persistGlowQuality && cacheGlowBarCloseTrader[idx].PersistBarGlowStrength == persistBarGlowStrength && cacheGlowBarCloseTrader[idx].PersistBarGlowQuality == persistBarGlowQuality && cacheGlowBarCloseTrader[idx].PersistMultiSizesCsv == persistMultiSizesCsv && cacheGlowBarCloseTrader[idx].PersistLiveUpdateMs == persistLiveUpdateMs && cacheGlowBarCloseTrader[idx].PersistSlippageBufferTicks == persistSlippageBufferTicks && cacheGlowBarCloseTrader[idx].EqualsInput(input))
						return cacheGlowBarCloseTrader[idx];
			return CacheIndicator<GlowBarCloseTrader>(new GlowBarCloseTrader(){ OrderButtonTextColor = orderButtonTextColor, SlColor = slColor, PtColor = ptColor, LongButtonColor = longButtonColor, ShortButtonColor = shortButtonColor, PanelTextColor = panelTextColor, ModeButtonMultiBackground = modeButtonMultiBackground, ModeButtonMaxBackground = modeButtonMaxBackground, ModeButtonForeground = modeButtonForeground, ButtonSaturation = buttonSaturation, ModeButtonSaturation = modeButtonSaturation, FieldTintOpacity = fieldTintOpacity, DirectionWithBarColor = directionWithBarColor, DirectionOppositeBarColor = directionOppositeBarColor, SetBarButtonColor = setBarButtonColor, SlFieldTintColor = slFieldTintColor, PtFieldTintColor = ptFieldTintColor, BarGlowColor = barGlowColor, SelectedBarArrowColor = selectedBarArrowColor, PersistMode = persistMode, PersistMaxRiskUsd = persistMaxRiskUsd, PersistMaxQty = persistMaxQty, PersistSlPct = persistSlPct, PersistPtPct = persistPtPct, PersistPlaceAtBarClose = persistPlaceAtBarClose, PersistTradeDirection = persistTradeDirection, PersistIncludeWickInSlPt = persistIncludeWickInSlPt, PersistShowPoints = persistShowPoints, PersistSelectedBarEffect = persistSelectedBarEffect, PersistGlowEnabled = persistGlowEnabled, PersistGlowStrength = persistGlowStrength, PersistGlowQuality = persistGlowQuality, PersistBarGlowStrength = persistBarGlowStrength, PersistBarGlowQuality = persistBarGlowQuality, PersistMultiSizesCsv = persistMultiSizesCsv, PersistLiveUpdateMs = persistLiveUpdateMs, PersistSlippageBufferTicks = persistSlippageBufferTicks }, input, ref cacheGlowBarCloseTrader);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.GlowBarCloseTrader GlowBarCloseTrader(Brush orderButtonTextColor, Brush slColor, Brush ptColor, Brush longButtonColor, Brush shortButtonColor, Brush panelTextColor, Brush modeButtonMultiBackground, Brush modeButtonMaxBackground, Brush modeButtonForeground, int buttonSaturation, int modeButtonSaturation, int fieldTintOpacity, Brush directionWithBarColor, Brush directionOppositeBarColor, Brush setBarButtonColor, Brush slFieldTintColor, Brush ptFieldTintColor, Brush barGlowColor, Brush selectedBarArrowColor, NinjaTrader.NinjaScript.Indicators.BarCloseTraderCalculationMode persistMode, double persistMaxRiskUsd, int persistMaxQty, int persistSlPct, int persistPtPct, bool persistPlaceAtBarClose, NinjaTrader.NinjaScript.Indicators.BarCloseTraderTradeDirection persistTradeDirection, bool persistIncludeWickInSlPt, bool persistShowPoints, NinjaTrader.NinjaScript.Indicators.SelectedBarEffect persistSelectedBarEffect, bool persistGlowEnabled, int persistGlowStrength, int persistGlowQuality, int persistBarGlowStrength, int persistBarGlowQuality, string persistMultiSizesCsv, int persistLiveUpdateMs, int persistSlippageBufferTicks)
		{
			return indicator.GlowBarCloseTrader(Input, orderButtonTextColor, slColor, ptColor, longButtonColor, shortButtonColor, panelTextColor, modeButtonMultiBackground, modeButtonMaxBackground, modeButtonForeground, buttonSaturation, modeButtonSaturation, fieldTintOpacity, directionWithBarColor, directionOppositeBarColor, setBarButtonColor, slFieldTintColor, ptFieldTintColor, barGlowColor, selectedBarArrowColor, persistMode, persistMaxRiskUsd, persistMaxQty, persistSlPct, persistPtPct, persistPlaceAtBarClose, persistTradeDirection, persistIncludeWickInSlPt, persistShowPoints, persistSelectedBarEffect, persistGlowEnabled, persistGlowStrength, persistGlowQuality, persistBarGlowStrength, persistBarGlowQuality, persistMultiSizesCsv, persistLiveUpdateMs, persistSlippageBufferTicks);
		}


		
		public Indicators.GlowBarCloseTrader GlowBarCloseTrader(ISeries<double> input , Brush orderButtonTextColor, Brush slColor, Brush ptColor, Brush longButtonColor, Brush shortButtonColor, Brush panelTextColor, Brush modeButtonMultiBackground, Brush modeButtonMaxBackground, Brush modeButtonForeground, int buttonSaturation, int modeButtonSaturation, int fieldTintOpacity, Brush directionWithBarColor, Brush directionOppositeBarColor, Brush setBarButtonColor, Brush slFieldTintColor, Brush ptFieldTintColor, Brush barGlowColor, Brush selectedBarArrowColor, NinjaTrader.NinjaScript.Indicators.BarCloseTraderCalculationMode persistMode, double persistMaxRiskUsd, int persistMaxQty, int persistSlPct, int persistPtPct, bool persistPlaceAtBarClose, NinjaTrader.NinjaScript.Indicators.BarCloseTraderTradeDirection persistTradeDirection, bool persistIncludeWickInSlPt, bool persistShowPoints, NinjaTrader.NinjaScript.Indicators.SelectedBarEffect persistSelectedBarEffect, bool persistGlowEnabled, int persistGlowStrength, int persistGlowQuality, int persistBarGlowStrength, int persistBarGlowQuality, string persistMultiSizesCsv, int persistLiveUpdateMs, int persistSlippageBufferTicks)
		{
			return indicator.GlowBarCloseTrader(input, orderButtonTextColor, slColor, ptColor, longButtonColor, shortButtonColor, panelTextColor, modeButtonMultiBackground, modeButtonMaxBackground, modeButtonForeground, buttonSaturation, modeButtonSaturation, fieldTintOpacity, directionWithBarColor, directionOppositeBarColor, setBarButtonColor, slFieldTintColor, ptFieldTintColor, barGlowColor, selectedBarArrowColor, persistMode, persistMaxRiskUsd, persistMaxQty, persistSlPct, persistPtPct, persistPlaceAtBarClose, persistTradeDirection, persistIncludeWickInSlPt, persistShowPoints, persistSelectedBarEffect, persistGlowEnabled, persistGlowStrength, persistGlowQuality, persistBarGlowStrength, persistBarGlowQuality, persistMultiSizesCsv, persistLiveUpdateMs, persistSlippageBufferTicks);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.GlowBarCloseTrader GlowBarCloseTrader(Brush orderButtonTextColor, Brush slColor, Brush ptColor, Brush longButtonColor, Brush shortButtonColor, Brush panelTextColor, Brush modeButtonMultiBackground, Brush modeButtonMaxBackground, Brush modeButtonForeground, int buttonSaturation, int modeButtonSaturation, int fieldTintOpacity, Brush directionWithBarColor, Brush directionOppositeBarColor, Brush setBarButtonColor, Brush slFieldTintColor, Brush ptFieldTintColor, Brush barGlowColor, Brush selectedBarArrowColor, NinjaTrader.NinjaScript.Indicators.BarCloseTraderCalculationMode persistMode, double persistMaxRiskUsd, int persistMaxQty, int persistSlPct, int persistPtPct, bool persistPlaceAtBarClose, NinjaTrader.NinjaScript.Indicators.BarCloseTraderTradeDirection persistTradeDirection, bool persistIncludeWickInSlPt, bool persistShowPoints, NinjaTrader.NinjaScript.Indicators.SelectedBarEffect persistSelectedBarEffect, bool persistGlowEnabled, int persistGlowStrength, int persistGlowQuality, int persistBarGlowStrength, int persistBarGlowQuality, string persistMultiSizesCsv, int persistLiveUpdateMs, int persistSlippageBufferTicks)
		{
			return indicator.GlowBarCloseTrader(Input, orderButtonTextColor, slColor, ptColor, longButtonColor, shortButtonColor, panelTextColor, modeButtonMultiBackground, modeButtonMaxBackground, modeButtonForeground, buttonSaturation, modeButtonSaturation, fieldTintOpacity, directionWithBarColor, directionOppositeBarColor, setBarButtonColor, slFieldTintColor, ptFieldTintColor, barGlowColor, selectedBarArrowColor, persistMode, persistMaxRiskUsd, persistMaxQty, persistSlPct, persistPtPct, persistPlaceAtBarClose, persistTradeDirection, persistIncludeWickInSlPt, persistShowPoints, persistSelectedBarEffect, persistGlowEnabled, persistGlowStrength, persistGlowQuality, persistBarGlowStrength, persistBarGlowQuality, persistMultiSizesCsv, persistLiveUpdateMs, persistSlippageBufferTicks);
		}


		
		public Indicators.GlowBarCloseTrader GlowBarCloseTrader(ISeries<double> input , Brush orderButtonTextColor, Brush slColor, Brush ptColor, Brush longButtonColor, Brush shortButtonColor, Brush panelTextColor, Brush modeButtonMultiBackground, Brush modeButtonMaxBackground, Brush modeButtonForeground, int buttonSaturation, int modeButtonSaturation, int fieldTintOpacity, Brush directionWithBarColor, Brush directionOppositeBarColor, Brush setBarButtonColor, Brush slFieldTintColor, Brush ptFieldTintColor, Brush barGlowColor, Brush selectedBarArrowColor, NinjaTrader.NinjaScript.Indicators.BarCloseTraderCalculationMode persistMode, double persistMaxRiskUsd, int persistMaxQty, int persistSlPct, int persistPtPct, bool persistPlaceAtBarClose, NinjaTrader.NinjaScript.Indicators.BarCloseTraderTradeDirection persistTradeDirection, bool persistIncludeWickInSlPt, bool persistShowPoints, NinjaTrader.NinjaScript.Indicators.SelectedBarEffect persistSelectedBarEffect, bool persistGlowEnabled, int persistGlowStrength, int persistGlowQuality, int persistBarGlowStrength, int persistBarGlowQuality, string persistMultiSizesCsv, int persistLiveUpdateMs, int persistSlippageBufferTicks)
		{
			return indicator.GlowBarCloseTrader(input, orderButtonTextColor, slColor, ptColor, longButtonColor, shortButtonColor, panelTextColor, modeButtonMultiBackground, modeButtonMaxBackground, modeButtonForeground, buttonSaturation, modeButtonSaturation, fieldTintOpacity, directionWithBarColor, directionOppositeBarColor, setBarButtonColor, slFieldTintColor, ptFieldTintColor, barGlowColor, selectedBarArrowColor, persistMode, persistMaxRiskUsd, persistMaxQty, persistSlPct, persistPtPct, persistPlaceAtBarClose, persistTradeDirection, persistIncludeWickInSlPt, persistShowPoints, persistSelectedBarEffect, persistGlowEnabled, persistGlowStrength, persistGlowQuality, persistBarGlowStrength, persistBarGlowQuality, persistMultiSizesCsv, persistLiveUpdateMs, persistSlippageBufferTicks);
		}

	}
}

#endregion
