Remove bar and outline coloring from ATR Trailing Stop indicator

This commit is contained in:
moshferatu 2024-07-26 14:57:06 -07:00
parent e7778324b5
commit c6880cbcc4

View File

@ -56,17 +56,9 @@ namespace NinjaTrader.NinjaScript.Indicators
Value[0] = MAX(atrHighs, HighestHighPeriod)[0]; Value[0] = MAX(atrHighs, HighestHighPeriod)[0];
if (Close[0] > Value[0]) if (Close[0] > Value[0])
{
PlotBrushes[0][0] = Brushes.LimeGreen; PlotBrushes[0][0] = Brushes.LimeGreen;
BarBrushes[0] = Brushes.LimeGreen;
CandleOutlineBrushes[0] = Brushes.LimeGreen;
}
else if (Close[0] < Value[0]) else if (Close[0] < Value[0])
{
PlotBrushes[0][0] = Brushes.Red; PlotBrushes[0][0] = Brushes.Red;
BarBrushes[0] = Brushes.Red;
CandleOutlineBrushes[0] = Brushes.Red;
}
} }
public override string DisplayName public override string DisplayName