/v1/ohlc/indicators
The indicators /ohlc/{id}?ind= computes: TradingView's built-in studies with their inputs and defaults, plots, bands, fills, palettes and the objects some draw. A `symbol` input takes another token's md5 (its price candles at the same bars; up to 4 other tokens a request); a `time` input is unix ms
Request
https://api.xrpl.to/v1/ohlc/indicatorscurl 'https://api.xrpl.to/v1/ohlc/indicators'
Response
https://api.xrpl.to/v1/ohlc/indicators{ "success": true, "indicators": [ { "id": "accumulation-distribution", "name": "Accumulation/Distribution", "short": "Accum/Dist", "overlay": false, "format": { "type": "volume" }, "inputs": [], "plots": [ { "id": "plot_0", "title": "Plot", "kind": "line", "color": "#2196F3", "width": 1 } ] }, { "id": "accumulative-swing-index", "name": "Accumulative Swing Index", "short": "ASI", "overlay": false, "format": { "type": "volume" }, "inputs": [ { "id": "in_0", "name": "Limit Move Value", "type": "float", "def": 10, "min": 0.1, "max": 100000 } ], "plots": [ { "id": "plot_0", "title": "ASI", "kind": "line", "color": "#2196F3", "width": 1 } ] }, { "id": "advance-decline", "name": "Advance/Decline", "short": "AD", "overlay": false, "inputs": [ { "id": "in_0", "name": "length", "type": "integer", "def": 10, "min": 1, "max": 2000 } ], "plots": [ { "id": "plot_0", "title": "Plot", "kind": "line", "color": "#2196F3", "width": 1 } ] }, { "id": "arnaud-legoux-moving-average", "name": "Arnaud Legoux Moving Average", "short": "ALMA", "overlay": true, "format": { "type": "inherit" }, "inputs": [ { "id": "in_0", "name": "Window Size", "type": "integer", "def": 9, "min": 0, "max": 5000 }, { "id": "in_1", "name": "Offset", "type": "float", "def": 0.85, "min": -1000000000000, "max": 1000000000000 }, { "id": "in_2", "name": "Sigma", "type": "float", "def": 6, "min": -1000000000000, "max": 1000000000000 } ], "plots": [ { "id": "plot_0", "title": "Plot", "kind": "line", "color": "#2196F3", "width": 1 } ] }, { "id": "aroon", "name": "Aroon", "short": "Aroon", "overlay": false, "inputs": [ { "id": "in_0", "name": "length", "type": "integer", "def": 14, "min": 1, "max": 2000 } ], "plots": [ { "id": "plot_0", "title": "Upper", "kind": "line", "color": "#FB8C00", "width": 1 }, { "id": "plot_1", "title": "Lower", "kind": "line", "color": "#2196F3", "width": 1 } ] } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
{ success, indicators: [ { id, name, short, overlay, format?, inputs: [ { id, name, type, def, min?, max?, options?, hidden? } ], plots: [ { id, title?, kind, color?, width?, ... } ], bands?, fills?, palettes?, paletteNames?, graphics?, tool? (placed from the chart's left toolbar, not its Indicators list) } ] }
What it does
The indicators /ohlc/{id}?ind= computes: TradingView's built-in studies with their inputs and defaults, plots, bands, fills, palettes and the objects some draw. A `symbol` input takes another token's md5 (its price candles at the same bars; up to 4 other tokens a request); a `time` input is unix ms