BarsRequired
Previous Topic  Next Topic 

Definition

The number of historical bars required before the strategy starts processing calls to the OnBarUpdate() method. This property is generally set via the UI when starting a strategy.


The OnBarUpdate() method is not triggered until CurrentBar >=  BarsRequired.


Property Value

An int value representing the number of historical bars.


Syntax

BarsRequired