Skip to content

ChartIQ

Screenshot

Screenshot Sample ChartIQ user menus

Price layers

With price layers, it's possible to plot data from different data sources on a single chart.

Layer (n)

Chart style:

  • OHLC: Open, High, Low and Close Candlestick
  • Line: Single price (open, high, low, close)
  • Bar: Single price (open, high, low, close)
  • Mountain: Single price (open, high, low, close), but space between price line and X axis is filled

OHLC price layer

Screenshot

Name
Name of layer
Data Source
A data source
Axis
Toggle which y-axis is to be used for the layer

Line, Bar, or Mountain price layer

Screenshot
Screenshot
Name
Name of layer
Data Source
Data sources
X-Axis Data
Data series from Data Source to use as X axis.
Y-Axis Data
Data series from Data Source to use as Y axis
Y-Axis
Define Y axis: can be a View State Parameter
Color
Color of price line
Opacity
Opacity (transparency) of price line
Width
Defines width of price line

Selected Row Viewstate Routing

Viewstate routing

X axis

Screenshot

Data Start
Define View State Parameter for start date
Data End
Define View State Parameter for end date
Display Grid Lines
When checked, displays X-axis gridlines

Y axis

Screenshot

Display Grid Lines
When checked, displays Y-axis gridlines
Display Places
Decimal places to display in Y-axis tick labels
Label Style

Screenshot

  • roundRectArrow: round rectangle with arrow point
  • semiRoundRect: round rectangle to the right
  • roundRect: round rectangle left and right
  • tickedRect: square rectangle
  • rect: square rectangle
  • noop no label highlight
Min
Minimum value for axis
Max
Maximum value for axis
Name
Name of price axis
Position
Left or right

Options

Display Menu

Screenshot

When checked, displays user menu

Layout
Defines default chart view, including indicators and their settings to use on chart load.
{
    "interval":        "day",
    "periodicity":     1,
    "timeUnit":        null,
    "candleWidth":     6.727642276422764,
    "volumeUnderlay":  false,
    "adj":             true,
    "crosshair":       true,
    "chartType":       "candle",
    "extended":        false,
    "marketSessions":  {},
    "aggregationType": null,
    "chartScale":      "linear",
    "panels":
    {
        "chart":
        {
            "percent":   0.512,
            "display":   "layer_10915",
            "chartName": "chart",
            "top":       0
        },
        "On Bal Vol":
        {
            "percent":   0.128,
            "display":   "On Bal Vol",
            "chartName": "chart",
            "top":       430.08
        },
        "Boll %b (20,2,ma)":
        {
            "percent":   0.15999999999999998,
            "display":   "Boll %b (20,2,ma)",
            "chartName": "chart",
            "top":       537.6
        },
        "Awesome":
        {
            "percent":   0.2,
            "display":   "Awesome",
            "chartName": "chart",
            "top":       672
        }
    },
    "pandf": {},
    "symbols":
    [
        {
            "symbol": "layer_10915",
            "symbolObject":
            {
                "source":    "EURUSD",
                "symbol":    "layer_10915",
                "type":      "OHLC",
                "xAxisData": "",
                "yAxisData": ""
            },
            "periodicity": 1,
            "interval":    "day",
            "timeUnit":    null
        },
        {
            "symbol": "layer_4616",
            "symbolObject":
            {
                "source":     "OHLC",
                "symbol":     "layer_4616",
                "type":       "Line",
                "xAxisData":  "Date",
                "yAxisData":  "Close"
            },
            "periodicity": 1,
            "interval":    "day",
            "timeUnit":    null,
            "parameters":
            {
                "display":    "",
                "shareYAxis": true,
                "symbolObject":
                {
                    "source":    "OHLC",
                    "symbol":    "layer_4616",
                    "type":      "Line",
                    "xAxisData": "Date",
                    "yAxisData": "Close"
                },
                "chartName": "chart",
                "chartType": "line",
                "panel":     "chart"
            }
        },
        {
            "symbol": "layer_4950",
            "symbolObject":
            {
                "source":    "OHLC",
                "symbol":    "layer_4950",
                "type":      "Line",
                "xAxisData": "Date",
                "yAxisData": "Date"
            },
            "periodicity": 1,
            "interval":    "day",
            "timeUnit":    null,
            "parameters":
            {
                "display":    "",
                "shareYAxis": true,
                "symbolObject":
                {
                    "source":    "OHLC",
                    "symbol":    "layer_4950",
                    "type":      "Line",
                    "xAxisData": "Date",
                    "yAxisData": "Date"
                },
                "chartName":  "chart",
                "chartType":  "line",
                "panel":      "chart"
            }
        }
    ],
    "span": null,
    "studies":
    {
        "Bollinger Bands (20,2,ma,y)":
        {
            "type": "Bollinger Bands",
            "inputs":
            {
                "Field":               "field",
                "Period":              20,
                "Standard Deviations": 2,
                "Moving Average Type": "ma",
                "Channel Fill":        true,
                "id":                  "Bollinger Bands (20,2,ma,y)",
                "display":             "Bollinger Bands (20,2,ma,y)"
            },
            "outputs":
            {
                "Bollinger Bands Top":    "#0073ba",
                "Bollinger Bands Median": "auto",
                "Bollinger Bands Bottom": "#0073ba"
            },
            "panel": "chart",
            "parameters":
            {
                "chartName": "chart",
                "editMode":  true
            }
        },
        "ma (50,ma,0,n)":
        {
            "type": "ma",
            "inputs":
            {
                "Period":   50,
                "Field":    "field",
                "Type":     "ma",
                "Offset":   0,
                "Underlay": false,
                "id":       "ma (50,ma,0,n)",
                "display":  "ma (50,ma,0,n)"
            },
            "outputs":
            {
                "MA": "#66308f"
            },
            "panel": "chart",
            "parameters":
            {
                "chartName": "chart",
                "editMode":  true
            }
        },
        "ma (200,ma,0,n)":
        {
            "type": "ma",
            "inputs":
            {
                "Period":   "200",
                "Field":    "field",
                "Type":     "ma",
                "Offset":   0,
                "Underlay": false,
                "id":       "ma (200,ma,0,n)",
                "display":  "ma (200,ma,0,n)"
            },
            "outputs": {"MA":"#a187bd"},
            "panel": "chart",
            "parameters": {"chartName":"chart","editMode":true}
        },
        "On Bal Vol":
        {
            "type": "On Bal Vol",
            "inputs":
            {
                "id":      "On Bal Vol",
                "display": "On Bal Vol"
            },
            "outputs": {"Result":"auto"},
            "panel":   "On Bal Vol",
            "parameters":
            {
                "chartName": "chart",
                "editMode":  true
            }
        },
        "ma (20,Result On Bal Vol,ma,0,n)":
        {
            "type": "ma",
            "inputs":
            {
                "Period":   "20",
                "Field":    "Result On Bal Vol",
                "Type":     "ma",
                "Offset":   0,
                "Underlay": false,
                "id":       "ma (20,Result On Bal Vol,ma,0,n)",
                "display":  "ma (20,Result On Bal Vol,ma,0,n)"
            },
            "outputs": {"MA":"#FF0000"},
            "panel":   "On Bal Vol",
            "parameters":
            {
                "chartName": "chart",
                "editMode":  true
            }
        },
        "Boll %b (20,2,ma)":
        {
            "type": "Boll %b",
            "inputs":
            {
                "Field":                "field",
                "Period":               20,
                "Standard Deviations":  2,
                "Moving Average Type":  "ma",
                "id":                   "Boll %b (20,2,ma)",
                "display":              "Boll %b (20,2,ma)"
            },
            "outputs": {"%b":"auto"},
            "panel":   "Boll %b (20,2,ma)",
            "parameters":
            {
                "studyOverZonesEnabled": true,
                "studyOverBoughtValue":  100,
                "studyOverBoughtColor":  "#ea1d2c",
                "studyOverSoldValue":    0,
                "studyOverSoldColor":    "#8ec648",
                "chartName":             "chart",
                "editMode":              true
            }
        },
        "Awesome":
        {
            "type": "Awesome",
            "inputs":
            {
                "id":      "Awesome",
                "display": "Awesome"
            },
            "outputs":
            {
                "Increasing Bar": "#8ec648",
                "Decreasing Bar": "#ea1d2c"
            },
            "panel": "Awesome",
            "parameters":
            {
                "chartName": "chart",
                "editMode":  true
            }
        }
    }
}

Style, Format, Margins

Style for common settings