Overlay
Previous Topic  Next Topic 

Definition

If true, the indicator plot(s) are drawn on the chart panel over top of price.


Property Value

This property returns true if the indicator plot(s) are drawn on the chart panel; otherwise, false. Default set to false.


Syntax

Overlay


Examples

// Initialize method of a custom indicator
protected override void Initialize()
{
    Add(new Plot(Color.Orange, "SMA"));
    Overlay = true; // Indicator plots are drawn on the chart panel on top of price
}