OutputAttribute.Name
property · OutputAttribute · cAlgo.API
DesktopCLICloud
The plot name
Definition
public string Name {get;}
outputAttribute.Name: str
Returns string
Examples
public partial class OutputSample : Indicator
{
public override void Calculate(int index)
{
TypicalPrice[index] = (Bars.HighPrices[index] + Bars.LowPrices[index] + Bars.ClosePrices[index]) / 3;
}
}
def calculate(self, index):
api.TypicalPrice[index] = (api.Bars.HighPrices[index] + api.Bars.LowPrices[index] + api.Bars.ClosePrices[index]) / 3
{
"AccessRights": "None",
"IsOverlay": true,
"LineOutputs": [
{
"Name": "TypicalPrice",
"DisplayName": "Typical Price"
}
]
}