TOutputWindow

An enumeration that defines where an indicator should be displayed on the chart.

Values

Value
Description

CHART_WINDOW

Display the indicator in the main chart window overlaid on price

SEPARATE_WINDOW

Display the indicator in a separate window below the main chart

Example Usage

// Display indicator in the main chart window (like Moving Averages)
this.api.SetOutputWindow(TOutputWindow.CHART_WINDOW);

// Display indicator in a separate window (like RSI)
this.api.SetOutputWindow(TOutputWindow.SEPARATE_WINDOW);

Last updated