Fix formatting issues by converting tabs to spaces

This commit is contained in:
moshferatu 2023-11-03 06:01:14 -07:00
parent 0034a25dcb
commit 63fb84c192

View File

@ -158,55 +158,55 @@ namespace NinjaTrader.NinjaScript.Indicators
namespace NinjaTrader.NinjaScript.Indicators
{
public partial class Indicator : NinjaTrader.Gui.NinjaScript.IndicatorRenderBase
{
private LVN[] cacheLVN;
public LVN LVN(int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return LVN(Input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
public partial class Indicator : NinjaTrader.Gui.NinjaScript.IndicatorRenderBase
{
private LVN[] cacheLVN;
public LVN LVN(int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return LVN(Input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
public LVN LVN(ISeries<double> input, int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
if (cacheLVN != null)
for (int idx = 0; idx < cacheLVN.Length; idx++)
if (cacheLVN[idx] != null && cacheLVN[idx].SurroundingLevels == surroundingLevels && cacheLVN[idx].LVNStroke == lVNStroke && cacheLVN[idx].MaxPixelWidth == maxPixelWidth && cacheLVN[idx].Opacity == opacity && cacheLVN[idx].EqualsInput(input))
return cacheLVN[idx];
return CacheIndicator<LVN>(new LVN(){ SurroundingLevels = surroundingLevels, LVNStroke = lVNStroke, MaxPixelWidth = maxPixelWidth, Opacity = opacity }, input, ref cacheLVN);
}
}
public LVN LVN(ISeries<double> input, int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
if (cacheLVN != null)
for (int idx = 0; idx < cacheLVN.Length; idx++)
if (cacheLVN[idx] != null && cacheLVN[idx].SurroundingLevels == surroundingLevels && cacheLVN[idx].LVNStroke == lVNStroke && cacheLVN[idx].MaxPixelWidth == maxPixelWidth && cacheLVN[idx].Opacity == opacity && cacheLVN[idx].EqualsInput(input))
return cacheLVN[idx];
return CacheIndicator<LVN>(new LVN(){ SurroundingLevels = surroundingLevels, LVNStroke = lVNStroke, MaxPixelWidth = maxPixelWidth, Opacity = opacity }, input, ref cacheLVN);
}
}
}
namespace NinjaTrader.NinjaScript.MarketAnalyzerColumns
{
public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
{
public Indicators.LVN LVN(int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(Input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
public partial class MarketAnalyzerColumn : MarketAnalyzerColumnBase
{
public Indicators.LVN LVN(int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(Input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
public Indicators.LVN LVN(ISeries<double> input , int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
}
public Indicators.LVN LVN(ISeries<double> input , int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
}
}
namespace NinjaTrader.NinjaScript.Strategies
{
public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
{
public Indicators.LVN LVN(int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(Input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
public partial class Strategy : NinjaTrader.Gui.NinjaScript.StrategyRenderBase
{
public Indicators.LVN LVN(int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(Input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
public Indicators.LVN LVN(ISeries<double> input , int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
}
public Indicators.LVN LVN(ISeries<double> input , int surroundingLevels, Stroke lVNStroke, int maxPixelWidth, int opacity)
{
return indicator.LVN(input, surroundingLevels, lVNStroke, maxPixelWidth, opacity);
}
}
}
#endregion