BarBrushes
<< Click to Display Table of Contents >> BarBrushes |
A collection of historical brushes used for painting the color of a price bar's body.
A brush series type object. Accessing this property via an index value [int barsAgo] returns a Brush object representing the referenced bar's color.
Note: This will only return the color of a bar in which an explicit color overwrite was used. Otherwise it will return null. |
BarBrushes
BarBrushes[int barsAgo]
Warning: You may have up to 65,535 unique BarBrushes instances, therefore, using static predefined brushes should be favored. Alternatively, in order to use fewer brushes, please try to cache your custom brushes until a new brush would actually need to be created. |
protected override void OnBarUpdate() |