Color indicator with error
Color indicator with error
08 May 2020, 16:39
Hi,
The new version request to update in this color expression, please can you check why the error continue?
using System;
using cAlgo.API;
using cAlgo.API.Internals;
using cAlgo.API.Indicators;
using cAlgo.Indicators;
namespace cAlgo
{
[Indicator(TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class AAteste : Indicator
{
[Parameter("Source")]
public DataSeries Source { get; set; }
[Parameter(DefaultValue = 13, MinValue = 2)]
public int Periods { get; set; }
[Output("Result", Color = Colors.Orange, PlotType = PlotType.Line)]
public IndicatorDataSeries Result { get; set; }
protected override void Initialize()
{
}
public override void Calculate(int index)
{
/////
}
}
}
firemyst
28 May 2020, 15:07
RE:
eliezer_barros said:
You need to say, LineColor = "Orange" instead of "Color = Colors.Orange".
@firemyst