OutputAttribute.IsLastValueVisibleInTitle
property · OutputAttribute · cAlgo.API Since 5.1
DesktopCLICloud
Gets or sets if output last value should be visible or not in instance title (default: true).
Definition
public bool IsLastValueVisibleInTitle {get; set;}
outputAttribute.IsLastValueVisibleInTitle: bool
Returns bool
Examples
public partial class OutputSample : Indicator
{
public override void Calculate(int index)
{
Result[index] = Bars.ClosePrices[index];
}
}
def calculate(self, index):
api.Result[index] = api.Bars.ClosePrices[index]
{
"AccessRights": "None",
"IsOverlay": true,
"LineOutputs": [
{
"Name": "Result",
"DisplayName": "Main",
"IsLastValueVisibleInTitle": false
}
]
}