PercentComplete
Previous Topic  Next Topic 

Definition
Gets a value indicating the completion percent of a bar.


Property Value

A double value representing a percent. e.g. 50% complete would return 0.5.


Syntax
Bars.PercentComplete

Property Of

Custom Indicator, Custom Strategy

Additional Access Information
This property can be accessed without a null reference check in the OnBarUpdate() event handler. When the OnBarUpdate() event is triggered, there will always be a Bar object which holds the PercentComplete property. Should you wish to access this property elsewhere, check for null reference first. e.g. if (Bars != null)