Did notice in the indicators window there is an entry for color, which probably always overrides what my code says.. any suggestion would be appreciated..
protected override void OnBarUpdate()
StrategyPlot(0).Value.Set(profit + Position.GetProfitLoss(Close[0], PerformanceUnit.Currency));
if (StrategyPlot(0).Value[0] >= 0)
StrategyPlot(0).Plots[0].Pen.Color = Color.Blue;
else
StrategyPlot(0).Plots[0].Pen.Color = Color.Red;

Comment