LevelsAttribute
Summary
Levels Attribute. Applies metadata to enable the plot of level lines.
Remarks
Represents level lines. It is commonly used in Oscillators, for instance to add a zero line. Must be added before the indicator class declaration. Usage is same for both Python and C# indicators, you must define it as an attribute of base C# class of your indicator.
Signature
1 | |
Namespace
cAlgo.API
Examples
1 2 3 4 5 6 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
Properties
Levels
Summary
The array of price values that are ploted as level lines
Signature
1 | |
Return Value
double[]
Examples
1 2 3 4 5 6 7 | |