IndicatorLineOutput.Thickness
property · IndicatorLineOutput · cAlgo.API Since 5.4
DesktopCLICloud
Gets or sets the thickness of a line.
Definition
float Thickness {get; set;}
indicatorLineOutput.Thickness: float
Returns float
Examples
var sma = ChartIndicators.Add("Simple Moving Average", Bars.ClosePrices, 20);
var line = sma.LineOutputs[0];
line.Thickness = 2;
Print("{0} line thickness: {1}", line.Name, line.Thickness);
sma = api.ChartIndicators.Add("Simple Moving Average", api.Bars.ClosePrices, 20)
line = sma.LineOutputs[0]
line.Thickness = 2
api.Print(f"{line.Name} line thickness: {line.Thickness}")