Remove bar and outline coloring from ATR Trailing Stop indicator
This commit is contained in:
parent
e7778324b5
commit
c6880cbcc4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user