#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 LivewireTradingSuite.LivewireReversal[] cacheLivewireReversal;

		
		public LivewireTradingSuite.LivewireReversal LivewireReversal(bool showLogo, bool showUrl, int logoWidth, bool requireTwoBarSetup, bool enableAudioAlerts, string bullishReversalSymbol, string bearishReversalSymbol, Brush bullishColor, Brush bearishColor, int symbolVerticalOffset, int symbolFontSize)
		{
			return LivewireReversal(Input, showLogo, showUrl, logoWidth, requireTwoBarSetup, enableAudioAlerts, bullishReversalSymbol, bearishReversalSymbol, bullishColor, bearishColor, symbolVerticalOffset, symbolFontSize);
		}


		
		public LivewireTradingSuite.LivewireReversal LivewireReversal(ISeries<double> input, bool showLogo, bool showUrl, int logoWidth, bool requireTwoBarSetup, bool enableAudioAlerts, string bullishReversalSymbol, string bearishReversalSymbol, Brush bullishColor, Brush bearishColor, int symbolVerticalOffset, int symbolFontSize)
		{
			if (cacheLivewireReversal != null)
				for (int idx = 0; idx < cacheLivewireReversal.Length; idx++)
					if (cacheLivewireReversal[idx].ShowLogo == showLogo && cacheLivewireReversal[idx].ShowUrl == showUrl && cacheLivewireReversal[idx].LogoWidth == logoWidth && cacheLivewireReversal[idx].RequireTwoBarSetup == requireTwoBarSetup && cacheLivewireReversal[idx].EnableAudioAlerts == enableAudioAlerts && cacheLivewireReversal[idx].BullishReversalSymbol == bullishReversalSymbol && cacheLivewireReversal[idx].BearishReversalSymbol == bearishReversalSymbol && cacheLivewireReversal[idx].BullishColor == bullishColor && cacheLivewireReversal[idx].BearishColor == bearishColor && cacheLivewireReversal[idx].SymbolVerticalOffset == symbolVerticalOffset && cacheLivewireReversal[idx].SymbolFontSize == symbolFontSize && cacheLivewireReversal[idx].EqualsInput(input))
						return cacheLivewireReversal[idx];
			return CacheIndicator<LivewireTradingSuite.LivewireReversal>(new LivewireTradingSuite.LivewireReversal(){ ShowLogo = showLogo, ShowUrl = showUrl, LogoWidth = logoWidth, RequireTwoBarSetup = requireTwoBarSetup, EnableAudioAlerts = enableAudioAlerts, BullishReversalSymbol = bullishReversalSymbol, BearishReversalSymbol = bearishReversalSymbol, BullishColor = bullishColor, BearishColor = bearishColor, SymbolVerticalOffset = symbolVerticalOffset, SymbolFontSize = symbolFontSize }, input, ref cacheLivewireReversal);
		}

	}
}

namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
	public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
	{
		
		public Indicators.LivewireTradingSuite.LivewireReversal LivewireReversal(bool showLogo, bool showUrl, int logoWidth, bool requireTwoBarSetup, bool enableAudioAlerts, string bullishReversalSymbol, string bearishReversalSymbol, Brush bullishColor, Brush bearishColor, int symbolVerticalOffset, int symbolFontSize)
		{
			return indicator.LivewireReversal(Input, showLogo, showUrl, logoWidth, requireTwoBarSetup, enableAudioAlerts, bullishReversalSymbol, bearishReversalSymbol, bullishColor, bearishColor, symbolVerticalOffset, symbolFontSize);
		}


		
		public Indicators.LivewireTradingSuite.LivewireReversal LivewireReversal(ISeries<double> input , bool showLogo, bool showUrl, int logoWidth, bool requireTwoBarSetup, bool enableAudioAlerts, string bullishReversalSymbol, string bearishReversalSymbol, Brush bullishColor, Brush bearishColor, int symbolVerticalOffset, int symbolFontSize)
		{
			return indicator.LivewireReversal(input, showLogo, showUrl, logoWidth, requireTwoBarSetup, enableAudioAlerts, bullishReversalSymbol, bearishReversalSymbol, bullishColor, bearishColor, symbolVerticalOffset, symbolFontSize);
		}
	
	}
}

namespace NinjaTrader.NinjaScript.Strategies
{
	public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
	{
		
		public Indicators.LivewireTradingSuite.LivewireReversal LivewireReversal(bool showLogo, bool showUrl, int logoWidth, bool requireTwoBarSetup, bool enableAudioAlerts, string bullishReversalSymbol, string bearishReversalSymbol, Brush bullishColor, Brush bearishColor, int symbolVerticalOffset, int symbolFontSize)
		{
			return indicator.LivewireReversal(Input, showLogo, showUrl, logoWidth, requireTwoBarSetup, enableAudioAlerts, bullishReversalSymbol, bearishReversalSymbol, bullishColor, bearishColor, symbolVerticalOffset, symbolFontSize);
		}


		
		public Indicators.LivewireTradingSuite.LivewireReversal LivewireReversal(ISeries<double> input , bool showLogo, bool showUrl, int logoWidth, bool requireTwoBarSetup, bool enableAudioAlerts, string bullishReversalSymbol, string bearishReversalSymbol, Brush bullishColor, Brush bearishColor, int symbolVerticalOffset, int symbolFontSize)
		{
			return indicator.LivewireReversal(input, showLogo, showUrl, logoWidth, requireTwoBarSetup, enableAudioAlerts, bullishReversalSymbol, bearishReversalSymbol, bullishColor, bearishColor, symbolVerticalOffset, symbolFontSize);
		}

	}
}

#endregion
