#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 NeoTraderBot_Tools.NTBQuickTraderEN[] cacheNTBQuickTraderEN;

		
		public NeoTraderBot_Tools.NTBQuickTraderEN NTBQuickTraderEN(bool enableTargetStopButtons, bool enableTraillingStopQuickAction, bool enableCustomQuickActionButtons, bool enableFlattenPosition, bool placeTargetStopInChart, trailUnitQuickTraderEN unitofControl, double shortTargetTrade, double medTargetTrade, double longTargetTrade, double shortStopTrade, double medStopTrade, double longStopTrade, bool trailPeakPriceEnable, bool trailStopBarClose, double trailStopOffset, bool pButton11Show, NTB_QuickTrader_CustomActionEN pButton11Action, bool pButton11MarkerEnable, bool pButton12Show, NTB_QuickTrader_CustomActionEN pButton12Action, double pButton12Offset, bool pButton12MarkerEnable, bool pButton13Show, NTB_QuickTrader_CustomActionEN pButton13Action, double pButton13Offset, bool pButton13MarkerEnable, bool pButton21Show, NTB_QuickTrader_CustomActionEN pButton21Action, double pButton21Offset, bool pButton21MarkerEnable, bool pButton22Show, NTB_QuickTrader_CustomActionEN pButton22Action, double pButton22Offset, bool pButton22MarkerEnable, bool pButton23Show, NTB_QuickTrader_CustomActionEN pButton23Action, double pButton23Offset, bool pButton23MarkerEnable, bool pButton31Show, NTB_QuickTrader_CustomActionEN pButton31Action, double pButton31Offset, bool pButton31MarkerEnable, bool pButton32Show, NTB_QuickTrader_CustomActionEN pButton32Action, double pButton32Offset, bool pButton32MarkerEnable, bool pButton33Show, NTB_QuickTrader_CustomActionEN pButton33Action, double pButton33Offset, bool pButton33MarkerEnable)
		{
			return NTBQuickTraderEN(Input, enableTargetStopButtons, enableTraillingStopQuickAction, enableCustomQuickActionButtons, enableFlattenPosition, placeTargetStopInChart, unitofControl, shortTargetTrade, medTargetTrade, longTargetTrade, shortStopTrade, medStopTrade, longStopTrade, trailPeakPriceEnable, trailStopBarClose, trailStopOffset, pButton11Show, pButton11Action, pButton11MarkerEnable, pButton12Show, pButton12Action, pButton12Offset, pButton12MarkerEnable, pButton13Show, pButton13Action, pButton13Offset, pButton13MarkerEnable, pButton21Show, pButton21Action, pButton21Offset, pButton21MarkerEnable, pButton22Show, pButton22Action, pButton22Offset, pButton22MarkerEnable, pButton23Show, pButton23Action, pButton23Offset, pButton23MarkerEnable, pButton31Show, pButton31Action, pButton31Offset, pButton31MarkerEnable, pButton32Show, pButton32Action, pButton32Offset, pButton32MarkerEnable, pButton33Show, pButton33Action, pButton33Offset, pButton33MarkerEnable);
		}


		
		public NeoTraderBot_Tools.NTBQuickTraderEN NTBQuickTraderEN(ISeries<double> input, bool enableTargetStopButtons, bool enableTraillingStopQuickAction, bool enableCustomQuickActionButtons, bool enableFlattenPosition, bool placeTargetStopInChart, trailUnitQuickTraderEN unitofControl, double shortTargetTrade, double medTargetTrade, double longTargetTrade, double shortStopTrade, double medStopTrade, double longStopTrade, bool trailPeakPriceEnable, bool trailStopBarClose, double trailStopOffset, bool pButton11Show, NTB_QuickTrader_CustomActionEN pButton11Action, bool pButton11MarkerEnable, bool pButton12Show, NTB_QuickTrader_CustomActionEN pButton12Action, double pButton12Offset, bool pButton12MarkerEnable, bool pButton13Show, NTB_QuickTrader_CustomActionEN pButton13Action, double pButton13Offset, bool pButton13MarkerEnable, bool pButton21Show, NTB_QuickTrader_CustomActionEN pButton21Action, double pButton21Offset, bool pButton21MarkerEnable, bool pButton22Show, NTB_QuickTrader_CustomActionEN pButton22Action, double pButton22Offset, bool pButton22MarkerEnable, bool pButton23Show, NTB_QuickTrader_CustomActionEN pButton23Action, double pButton23Offset, bool pButton23MarkerEnable, bool pButton31Show, NTB_QuickTrader_CustomActionEN pButton31Action, double pButton31Offset, bool pButton31MarkerEnable, bool pButton32Show, NTB_QuickTrader_CustomActionEN pButton32Action, double pButton32Offset, bool pButton32MarkerEnable, bool pButton33Show, NTB_QuickTrader_CustomActionEN pButton33Action, double pButton33Offset, bool pButton33MarkerEnable)
		{
			if (cacheNTBQuickTraderEN != null)
				for (int idx = 0; idx < cacheNTBQuickTraderEN.Length; idx++)
					if (cacheNTBQuickTraderEN[idx].enableTargetStopButtons == enableTargetStopButtons && cacheNTBQuickTraderEN[idx].enableTraillingStopQuickAction == enableTraillingStopQuickAction && cacheNTBQuickTraderEN[idx].enableCustomQuickActionButtons == enableCustomQuickActionButtons && cacheNTBQuickTraderEN[idx].enableFlattenPosition == enableFlattenPosition && cacheNTBQuickTraderEN[idx].placeTargetStopInChart == placeTargetStopInChart && cacheNTBQuickTraderEN[idx].UnitofControl == unitofControl && cacheNTBQuickTraderEN[idx].shortTargetTrade == shortTargetTrade && cacheNTBQuickTraderEN[idx].medTargetTrade == medTargetTrade && cacheNTBQuickTraderEN[idx].longTargetTrade == longTargetTrade && cacheNTBQuickTraderEN[idx].shortStopTrade == shortStopTrade && cacheNTBQuickTraderEN[idx].medStopTrade == medStopTrade && cacheNTBQuickTraderEN[idx].longStopTrade == longStopTrade && cacheNTBQuickTraderEN[idx].TrailPeakPriceEnable == trailPeakPriceEnable && cacheNTBQuickTraderEN[idx].trailStopBarClose == trailStopBarClose && cacheNTBQuickTraderEN[idx].trailStopOffset == trailStopOffset && cacheNTBQuickTraderEN[idx].pButton11Show == pButton11Show && cacheNTBQuickTraderEN[idx].pButton11Action == pButton11Action && cacheNTBQuickTraderEN[idx].pButton11MarkerEnable == pButton11MarkerEnable && cacheNTBQuickTraderEN[idx].pButton12Show == pButton12Show && cacheNTBQuickTraderEN[idx].pButton12Action == pButton12Action && cacheNTBQuickTraderEN[idx].pButton12Offset == pButton12Offset && cacheNTBQuickTraderEN[idx].pButton12MarkerEnable == pButton12MarkerEnable && cacheNTBQuickTraderEN[idx].pButton13Show == pButton13Show && cacheNTBQuickTraderEN[idx].pButton13Action == pButton13Action && cacheNTBQuickTraderEN[idx].pButton13Offset == pButton13Offset && cacheNTBQuickTraderEN[idx].pButton13MarkerEnable == pButton13MarkerEnable && cacheNTBQuickTraderEN[idx].pButton21Show == pButton21Show && cacheNTBQuickTraderEN[idx].pButton21Action == pButton21Action && cacheNTBQuickTraderEN[idx].pButton21Offset == pButton21Offset && cacheNTBQuickTraderEN[idx].pButton21MarkerEnable == pButton21MarkerEnable && cacheNTBQuickTraderEN[idx].pButton22Show == pButton22Show && cacheNTBQuickTraderEN[idx].pButton22Action == pButton22Action && cacheNTBQuickTraderEN[idx].pButton22Offset == pButton22Offset && cacheNTBQuickTraderEN[idx].pButton22MarkerEnable == pButton22MarkerEnable && cacheNTBQuickTraderEN[idx].pButton23Show == pButton23Show && cacheNTBQuickTraderEN[idx].pButton23Action == pButton23Action && cacheNTBQuickTraderEN[idx].pButton23Offset == pButton23Offset && cacheNTBQuickTraderEN[idx].pButton23MarkerEnable == pButton23MarkerEnable && cacheNTBQuickTraderEN[idx].pButton31Show == pButton31Show && cacheNTBQuickTraderEN[idx].pButton31Action == pButton31Action && cacheNTBQuickTraderEN[idx].pButton31Offset == pButton31Offset && cacheNTBQuickTraderEN[idx].pButton31MarkerEnable == pButton31MarkerEnable && cacheNTBQuickTraderEN[idx].pButton32Show == pButton32Show && cacheNTBQuickTraderEN[idx].pButton32Action == pButton32Action && cacheNTBQuickTraderEN[idx].pButton32Offset == pButton32Offset && cacheNTBQuickTraderEN[idx].pButton32MarkerEnable == pButton32MarkerEnable && cacheNTBQuickTraderEN[idx].pButton33Show == pButton33Show && cacheNTBQuickTraderEN[idx].pButton33Action == pButton33Action && cacheNTBQuickTraderEN[idx].pButton33Offset == pButton33Offset && cacheNTBQuickTraderEN[idx].pButton33MarkerEnable == pButton33MarkerEnable && cacheNTBQuickTraderEN[idx].EqualsInput(input))
						return cacheNTBQuickTraderEN[idx];
			return CacheIndicator<NeoTraderBot_Tools.NTBQuickTraderEN>(new NeoTraderBot_Tools.NTBQuickTraderEN(){ enableTargetStopButtons = enableTargetStopButtons, enableTraillingStopQuickAction = enableTraillingStopQuickAction, enableCustomQuickActionButtons = enableCustomQuickActionButtons, enableFlattenPosition = enableFlattenPosition, placeTargetStopInChart = placeTargetStopInChart, UnitofControl = unitofControl, shortTargetTrade = shortTargetTrade, medTargetTrade = medTargetTrade, longTargetTrade = longTargetTrade, shortStopTrade = shortStopTrade, medStopTrade = medStopTrade, longStopTrade = longStopTrade, TrailPeakPriceEnable = trailPeakPriceEnable, trailStopBarClose = trailStopBarClose, trailStopOffset = trailStopOffset, pButton11Show = pButton11Show, pButton11Action = pButton11Action, pButton11MarkerEnable = pButton11MarkerEnable, pButton12Show = pButton12Show, pButton12Action = pButton12Action, pButton12Offset = pButton12Offset, pButton12MarkerEnable = pButton12MarkerEnable, pButton13Show = pButton13Show, pButton13Action = pButton13Action, pButton13Offset = pButton13Offset, pButton13MarkerEnable = pButton13MarkerEnable, pButton21Show = pButton21Show, pButton21Action = pButton21Action, pButton21Offset = pButton21Offset, pButton21MarkerEnable = pButton21MarkerEnable, pButton22Show = pButton22Show, pButton22Action = pButton22Action, pButton22Offset = pButton22Offset, pButton22MarkerEnable = pButton22MarkerEnable, pButton23Show = pButton23Show, pButton23Action = pButton23Action, pButton23Offset = pButton23Offset, pButton23MarkerEnable = pButton23MarkerEnable, pButton31Show = pButton31Show, pButton31Action = pButton31Action, pButton31Offset = pButton31Offset, pButton31MarkerEnable = pButton31MarkerEnable, pButton32Show = pButton32Show, pButton32Action = pButton32Action, pButton32Offset = pButton32Offset, pButton32MarkerEnable = pButton32MarkerEnable, pButton33Show = pButton33Show, pButton33Action = pButton33Action, pButton33Offset = pButton33Offset, pButton33MarkerEnable = pButton33MarkerEnable }, input, ref cacheNTBQuickTraderEN);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.NeoTraderBot_Tools.NTBQuickTraderEN NTBQuickTraderEN(bool enableTargetStopButtons, bool enableTraillingStopQuickAction, bool enableCustomQuickActionButtons, bool enableFlattenPosition, bool placeTargetStopInChart, trailUnitQuickTraderEN unitofControl, double shortTargetTrade, double medTargetTrade, double longTargetTrade, double shortStopTrade, double medStopTrade, double longStopTrade, bool trailPeakPriceEnable, bool trailStopBarClose, double trailStopOffset, bool pButton11Show, NTB_QuickTrader_CustomActionEN pButton11Action, bool pButton11MarkerEnable, bool pButton12Show, NTB_QuickTrader_CustomActionEN pButton12Action, double pButton12Offset, bool pButton12MarkerEnable, bool pButton13Show, NTB_QuickTrader_CustomActionEN pButton13Action, double pButton13Offset, bool pButton13MarkerEnable, bool pButton21Show, NTB_QuickTrader_CustomActionEN pButton21Action, double pButton21Offset, bool pButton21MarkerEnable, bool pButton22Show, NTB_QuickTrader_CustomActionEN pButton22Action, double pButton22Offset, bool pButton22MarkerEnable, bool pButton23Show, NTB_QuickTrader_CustomActionEN pButton23Action, double pButton23Offset, bool pButton23MarkerEnable, bool pButton31Show, NTB_QuickTrader_CustomActionEN pButton31Action, double pButton31Offset, bool pButton31MarkerEnable, bool pButton32Show, NTB_QuickTrader_CustomActionEN pButton32Action, double pButton32Offset, bool pButton32MarkerEnable, bool pButton33Show, NTB_QuickTrader_CustomActionEN pButton33Action, double pButton33Offset, bool pButton33MarkerEnable)
		{
			return indicator.NTBQuickTraderEN(Input, enableTargetStopButtons, enableTraillingStopQuickAction, enableCustomQuickActionButtons, enableFlattenPosition, placeTargetStopInChart, unitofControl, shortTargetTrade, medTargetTrade, longTargetTrade, shortStopTrade, medStopTrade, longStopTrade, trailPeakPriceEnable, trailStopBarClose, trailStopOffset, pButton11Show, pButton11Action, pButton11MarkerEnable, pButton12Show, pButton12Action, pButton12Offset, pButton12MarkerEnable, pButton13Show, pButton13Action, pButton13Offset, pButton13MarkerEnable, pButton21Show, pButton21Action, pButton21Offset, pButton21MarkerEnable, pButton22Show, pButton22Action, pButton22Offset, pButton22MarkerEnable, pButton23Show, pButton23Action, pButton23Offset, pButton23MarkerEnable, pButton31Show, pButton31Action, pButton31Offset, pButton31MarkerEnable, pButton32Show, pButton32Action, pButton32Offset, pButton32MarkerEnable, pButton33Show, pButton33Action, pButton33Offset, pButton33MarkerEnable);
		}


		
		public Indicators.NeoTraderBot_Tools.NTBQuickTraderEN NTBQuickTraderEN(ISeries<double> input , bool enableTargetStopButtons, bool enableTraillingStopQuickAction, bool enableCustomQuickActionButtons, bool enableFlattenPosition, bool placeTargetStopInChart, trailUnitQuickTraderEN unitofControl, double shortTargetTrade, double medTargetTrade, double longTargetTrade, double shortStopTrade, double medStopTrade, double longStopTrade, bool trailPeakPriceEnable, bool trailStopBarClose, double trailStopOffset, bool pButton11Show, NTB_QuickTrader_CustomActionEN pButton11Action, bool pButton11MarkerEnable, bool pButton12Show, NTB_QuickTrader_CustomActionEN pButton12Action, double pButton12Offset, bool pButton12MarkerEnable, bool pButton13Show, NTB_QuickTrader_CustomActionEN pButton13Action, double pButton13Offset, bool pButton13MarkerEnable, bool pButton21Show, NTB_QuickTrader_CustomActionEN pButton21Action, double pButton21Offset, bool pButton21MarkerEnable, bool pButton22Show, NTB_QuickTrader_CustomActionEN pButton22Action, double pButton22Offset, bool pButton22MarkerEnable, bool pButton23Show, NTB_QuickTrader_CustomActionEN pButton23Action, double pButton23Offset, bool pButton23MarkerEnable, bool pButton31Show, NTB_QuickTrader_CustomActionEN pButton31Action, double pButton31Offset, bool pButton31MarkerEnable, bool pButton32Show, NTB_QuickTrader_CustomActionEN pButton32Action, double pButton32Offset, bool pButton32MarkerEnable, bool pButton33Show, NTB_QuickTrader_CustomActionEN pButton33Action, double pButton33Offset, bool pButton33MarkerEnable)
		{
			return indicator.NTBQuickTraderEN(input, enableTargetStopButtons, enableTraillingStopQuickAction, enableCustomQuickActionButtons, enableFlattenPosition, placeTargetStopInChart, unitofControl, shortTargetTrade, medTargetTrade, longTargetTrade, shortStopTrade, medStopTrade, longStopTrade, trailPeakPriceEnable, trailStopBarClose, trailStopOffset, pButton11Show, pButton11Action, pButton11MarkerEnable, pButton12Show, pButton12Action, pButton12Offset, pButton12MarkerEnable, pButton13Show, pButton13Action, pButton13Offset, pButton13MarkerEnable, pButton21Show, pButton21Action, pButton21Offset, pButton21MarkerEnable, pButton22Show, pButton22Action, pButton22Offset, pButton22MarkerEnable, pButton23Show, pButton23Action, pButton23Offset, pButton23MarkerEnable, pButton31Show, pButton31Action, pButton31Offset, pButton31MarkerEnable, pButton32Show, pButton32Action, pButton32Offset, pButton32MarkerEnable, pButton33Show, pButton33Action, pButton33Offset, pButton33MarkerEnable);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.NeoTraderBot_Tools.NTBQuickTraderEN NTBQuickTraderEN(bool enableTargetStopButtons, bool enableTraillingStopQuickAction, bool enableCustomQuickActionButtons, bool enableFlattenPosition, bool placeTargetStopInChart, trailUnitQuickTraderEN unitofControl, double shortTargetTrade, double medTargetTrade, double longTargetTrade, double shortStopTrade, double medStopTrade, double longStopTrade, bool trailPeakPriceEnable, bool trailStopBarClose, double trailStopOffset, bool pButton11Show, NTB_QuickTrader_CustomActionEN pButton11Action, bool pButton11MarkerEnable, bool pButton12Show, NTB_QuickTrader_CustomActionEN pButton12Action, double pButton12Offset, bool pButton12MarkerEnable, bool pButton13Show, NTB_QuickTrader_CustomActionEN pButton13Action, double pButton13Offset, bool pButton13MarkerEnable, bool pButton21Show, NTB_QuickTrader_CustomActionEN pButton21Action, double pButton21Offset, bool pButton21MarkerEnable, bool pButton22Show, NTB_QuickTrader_CustomActionEN pButton22Action, double pButton22Offset, bool pButton22MarkerEnable, bool pButton23Show, NTB_QuickTrader_CustomActionEN pButton23Action, double pButton23Offset, bool pButton23MarkerEnable, bool pButton31Show, NTB_QuickTrader_CustomActionEN pButton31Action, double pButton31Offset, bool pButton31MarkerEnable, bool pButton32Show, NTB_QuickTrader_CustomActionEN pButton32Action, double pButton32Offset, bool pButton32MarkerEnable, bool pButton33Show, NTB_QuickTrader_CustomActionEN pButton33Action, double pButton33Offset, bool pButton33MarkerEnable)
		{
			return indicator.NTBQuickTraderEN(Input, enableTargetStopButtons, enableTraillingStopQuickAction, enableCustomQuickActionButtons, enableFlattenPosition, placeTargetStopInChart, unitofControl, shortTargetTrade, medTargetTrade, longTargetTrade, shortStopTrade, medStopTrade, longStopTrade, trailPeakPriceEnable, trailStopBarClose, trailStopOffset, pButton11Show, pButton11Action, pButton11MarkerEnable, pButton12Show, pButton12Action, pButton12Offset, pButton12MarkerEnable, pButton13Show, pButton13Action, pButton13Offset, pButton13MarkerEnable, pButton21Show, pButton21Action, pButton21Offset, pButton21MarkerEnable, pButton22Show, pButton22Action, pButton22Offset, pButton22MarkerEnable, pButton23Show, pButton23Action, pButton23Offset, pButton23MarkerEnable, pButton31Show, pButton31Action, pButton31Offset, pButton31MarkerEnable, pButton32Show, pButton32Action, pButton32Offset, pButton32MarkerEnable, pButton33Show, pButton33Action, pButton33Offset, pButton33MarkerEnable);
		}


		
		public Indicators.NeoTraderBot_Tools.NTBQuickTraderEN NTBQuickTraderEN(ISeries<double> input , bool enableTargetStopButtons, bool enableTraillingStopQuickAction, bool enableCustomQuickActionButtons, bool enableFlattenPosition, bool placeTargetStopInChart, trailUnitQuickTraderEN unitofControl, double shortTargetTrade, double medTargetTrade, double longTargetTrade, double shortStopTrade, double medStopTrade, double longStopTrade, bool trailPeakPriceEnable, bool trailStopBarClose, double trailStopOffset, bool pButton11Show, NTB_QuickTrader_CustomActionEN pButton11Action, bool pButton11MarkerEnable, bool pButton12Show, NTB_QuickTrader_CustomActionEN pButton12Action, double pButton12Offset, bool pButton12MarkerEnable, bool pButton13Show, NTB_QuickTrader_CustomActionEN pButton13Action, double pButton13Offset, bool pButton13MarkerEnable, bool pButton21Show, NTB_QuickTrader_CustomActionEN pButton21Action, double pButton21Offset, bool pButton21MarkerEnable, bool pButton22Show, NTB_QuickTrader_CustomActionEN pButton22Action, double pButton22Offset, bool pButton22MarkerEnable, bool pButton23Show, NTB_QuickTrader_CustomActionEN pButton23Action, double pButton23Offset, bool pButton23MarkerEnable, bool pButton31Show, NTB_QuickTrader_CustomActionEN pButton31Action, double pButton31Offset, bool pButton31MarkerEnable, bool pButton32Show, NTB_QuickTrader_CustomActionEN pButton32Action, double pButton32Offset, bool pButton32MarkerEnable, bool pButton33Show, NTB_QuickTrader_CustomActionEN pButton33Action, double pButton33Offset, bool pButton33MarkerEnable)
		{
			return indicator.NTBQuickTraderEN(input, enableTargetStopButtons, enableTraillingStopQuickAction, enableCustomQuickActionButtons, enableFlattenPosition, placeTargetStopInChart, unitofControl, shortTargetTrade, medTargetTrade, longTargetTrade, shortStopTrade, medStopTrade, longStopTrade, trailPeakPriceEnable, trailStopBarClose, trailStopOffset, pButton11Show, pButton11Action, pButton11MarkerEnable, pButton12Show, pButton12Action, pButton12Offset, pButton12MarkerEnable, pButton13Show, pButton13Action, pButton13Offset, pButton13MarkerEnable, pButton21Show, pButton21Action, pButton21Offset, pButton21MarkerEnable, pButton22Show, pButton22Action, pButton22Offset, pButton22MarkerEnable, pButton23Show, pButton23Action, pButton23Offset, pButton23MarkerEnable, pButton31Show, pButton31Action, pButton31Offset, pButton31MarkerEnable, pButton32Show, pButton32Action, pButton32Offset, pButton32MarkerEnable, pButton33Show, pButton33Action, pButton33Offset, pButton33MarkerEnable);
		}

	}
}

#endregion
