Skip to main content
Version: 5.2

Enumeration: CrosshairMode

Represents the crosshair mode.

Enumeration Members​

Normal​

Normal: 0

This mode allows crosshair to move freely on the chart.


Magnet​

Magnet: 1

This mode sticks crosshair's horizontal line to the price value of a single-value series or to the close price of OHLC-based series.


Hidden​

Hidden: 2

This mode disables rendering of the crosshair.


MagnetOHLC​

MagnetOHLC: 3

This mode sticks crosshair's horizontal line to the price value of a single-value series or to the open/high/low/close price of OHLC-based series.