Open main menu

Returns a numerical value indicating the size, in bars, of the right margin on the chart.

Right margin is used by the studies that visualize the predicted price movement.

Usage

MaxBarsForward

Example

Assign a value, indicating the size of the right margin of the chart, to Value1 variable:

Value1 = MaxBarsForward;