IndicatorAttribute¶
Summary¶
Indicator Attribute. Applies metadata to enable the indicator plot.
Remarks¶
To make it effective apply enclosed in square brackets, e.g. [Indicator] before the indicator class declaration. Cannot be omitted.
Signature
1 |
|
Namespace¶
cAlgo.API
Examples¶
1 2 3 4 5 6 7 8 |
|
1 2 |
|
Properties¶
Name¶
Summary
The name of the Indicator.
Remarks
The name is displayed to the left of the indicator panel.
Signature
1 |
|
Return Value
string
Examples
1 2 3 4 5 6 7 8 |
|
ScalePrecision¶
Summary
The price scale precision.
Remarks
The number of decimals displayed on the price scale of the indicator panel
Signature
1 |
|
Return Value
int
Examples
1 2 3 4 5 6 7 8 |
|
IsOverlay¶
Summary
Indicates whether this instance is overlayed on the chart or plotted on a separate indicator panel
Signature
1 |
|
Return Value
bool
Examples
1 2 |
|
1 2 |
|
AutoRescale¶
Summary
Indicates whether this instance automatically rescales the chart or not. Default value is true.
Signature
1 |
|
Return Value
bool
Examples
1 2 |
|
TimeZone¶
Summary
Gets or sets the chart timezone of the displayed indicator.
Signature
1 |
|
Return Value
string
Examples
1 2 |
|
AccessRights¶
Summary
Gets or sets the access rights required for Indicator.
Signature
1 |
|
Return Value
AccessRights
Related Tutorials
IsPercentage¶
Summary
Gets or sets whether the indicator is a percentage indicator. If one or more percentage indicators are added to the same panel, they will share the same scale.The default value is false.
Signature
1 |
|
Return Value
bool
Examples
1 2 |
|
Fields¶
UnspecifiedScalePrecision¶
Signature
1 |
|
Return Value
int