9.3Chart script context

Scripts which are assigned to the Chart context are displayed under a chart's settings menu.

The script receives the following information in its Framework.privateSettings about the current chart:

Member

Description

scriptContext

Set to "chart"

instrumentId

ID of the market being displayed on the chart

timeframe

Timeframe being displayed on the chart

timezone

Selected time zone for the chart