Introduction 👋
Welcome to CHART-IMG developer REST API documentation. Before using the service, please review our terms and conditions. To obtain a free API key, login to chart-img.com.
Roadmap 🎯
The upcoming plans for next few months:
- Improve documentation and include basic tutorials for novice developers.
- Integrate Telegram/Discord Bot service for easy TradingView webhook alerts.
- API to list daily updated Tradingview supported exchange symbols.
- API v3, designed for quick and low latency access by keeping the chart running on the server.
Recent Changes 🕑
Follow our official Twitter @chart-img for the latest updates.
Sept 12, 2024
- Added Snapshot v2 Advanced Chart with
shiftLeft
andshiftRight
support. - Added Snapshot v2 Shared Layout with
zoomIn
,zoomOut
,shiftLeft
andshiftRight
support.
July 20, 2024
- Added Snapshot v2 Advanced Chart intervals
6h
and12h
.
July 8, 2024
- Added a new endpoint for Tradingview Exchange List and Exchange Symbols.
Jun 25, 2024
- Fixed Snapshot v2 Advanced Chart incorrect type validation error.
- Added custom watermark opacity for
ULTRA
andENTERPRISE
plans.
Jun 17, 2024
- Added custom watermark support for
ULTRA
andENTERPRISE
plans. - Updated Snapshot v2 Shared Layout with an increased timeout to better handle slow indicators and ensure completion when access to TradingView is slow.
Jun 3, 2024
- Fixed Snapshot v2 Shared Layout to prevent floating toolbar from appearing when requested with a session ID.
May 24, 2024
- Fixed Snapshot v2 Shared Layout to prevent fired alert dialog from appearing when requested with a session ID.
- Updated Snapshot v2 Shared Layout with improved speed and stability.
May 23, 2024
- Fixed Snapshot v2 Advanced Chart large payload error.
- Added Snapshot v2 Shared Layout intervals
6h
and12h
. - Updated Snapshot v2 Shared Layout with full font character set and should no longer see
□
.
May 9, 2024
- Added TradingView Exchange Symbol for CRYPTOCAP.
May 7, 2024
- Added Snapshot v2 Advanced Chart drawings with support for Rectangle.
- Updated Snapshot v2 Shared Layout with improved speed and complete loading of the chart.
May 3, 2024
- Fixed Snapshot v2 Shared Layout to prevent triggered alert window from appearing when requested with a session ID.
Mar 15, 2024
- Added Snapshot v1 Advanced Chart symbol logo remove support.
- Added Snapshot v2 Shared Layout reset zoom in/out support.
Mar 4, 2024
- Updated with CME, CBOT, COMEX, NYMEX Futures real-time data support.
Feb 16, 2024
- Updated TradingView Exchange & Symbols.
- Updated with NASDAQ Index real-time data (GIDS) support.
- Changed Snapshot v2 Shared Layout optional session ID requirement.
Feb 01, 2024
- Updated Snapshot v2 Advanced Chart with optional session ID support to access user's Tradingview subscription data.
Tutorials
Base API Endpoint 🔗
https://api.chart-img.com
Authentication 🔒
API v1
For authenticated requests, a personal API key must be included using one of two methods:
- Header
Authorization
:Bearer {YOUR_API_KEY}
- Query Parameter:
?key={YOUR_API_KEY}
API v2
For authenticated requests, a personal API key must be included in the header.
- Header
x-api-key
:{YOUR_API_KEY}
API v3
For authenticated requests, a personal API key must be included in the POST
request header x-api-key
. For GET
requests, the API key can be included in either the request header or as a query parameter named key
.
POST
/GET
Headerx-api-key
:{YOUR_API_KEY}
GET
Query Parameter:?key={YOUR_API_KEY}
Request Limit ⚠️
All requests follow typical HTTP response status codes for success
, failure
, and error
.
Rate Limit
The API rate limit is dependent on your plan. If you need a higher request limit and customizations, please contact us for an Enterprise
plan.
Plan | req/sec | Daily max |
---|---|---|
BASIC | 1 | 50 |
PRO | 10 | 500 |
MEGA | 15 | 1,000 |
ULTRA | 35 | 3,000 |
ENTERPRISE | 35+ | 5,000+ |
Resolution Limit
The maximum chart image size is dependent on your plan.
Plan | Max width | Max height | Watermark | Custom Watermark |
---|---|---|---|---|
BASIC | 800 | 600 | Yes | No |
PRO | 1920 | 1080 | No | No |
MEGA | 1920 | 1600 | No | No |
ULTRA | 2048 | 1920 | No | Yes |
ENTERPRISE | 2048 | 1920 | No | Yes |
Storage Limit
The chart image saved in public storage will expire based on your plan.
Plan | Expire days |
---|---|
BASIC | 14 |
PRO | 30 |
MEGA | 60 |
ULTRA | 90 |
ENTERPRISE | 120 |
Parameter Limit
Starting API v2, the maximum number of parameter objects per request for studies and drawings will depend on your plan.
Plan | Max studies[] + drawings[] |
---|---|
BASIC | 3 |
PRO | 5 |
MEGA | 10 |
ULTRA | 25 |
ENTERPRISE | 50 |
TradingView Symbols
List of supported TradingView exchange symbols. EXCHANGE:SYMBOL
- ❌ Chart is not available.
- ✔️ Full & real-time chart is available.
Delayed
Full chart is available but may be delayed by a few minutes.Limited
Chart interval availability is limited.
Crypto Currency
Name | API v1/v2 | Example | Symbols |
---|---|---|---|
Binance | ✔️ | BINANCE:BTCUSDT |
binance.json |
Binance US | ✔️ | BINANCEUS:BTCUSD |
binanceus.json |
BingX | ✔️ | BINGX:BTCUSDT |
bingx.json |
Biswap (BNB chain) | ✔️ | BISWAP:BFGUSDT_E06259 |
biswap.json |
Bitfinex | ✔️ | BITFINEX:BTCUSD |
bitfinex.json |
bitFlyer | ✔️ | BITFLYER:BTCJPY |
bitflyer.json |
Bitget | ✔️ | BITGET:BTCUSDT.P |
bitget.json |
Bithumb | ✔️ | BITHUMB:BTCKRW |
bithumb.json |
BITKUB | ✔️ | BITKUB:KUBTHB |
bitkub.json |
Bitmart | ✔️ | BITMART:BTCUSDT |
bitmart.json |
BitMEX | ✔️ | BITMEX:XBTUSD |
bitmex.json |
Bitrue | ✔️ | BITRUE:FLRUSDT |
bitrue.json |
Bitstamp | ✔️ | BITSTAMP:BTCUSD |
bitstamp.json |
Bittrex | ✔️ | BITTREX:DOGEUSD |
bittrex.json |
Blofin | ✔️ | BLOFIN:BTCUSDT.P |
blofin.json |
Brave New Coin | ✔️ | BNC:BLX |
bnc.json |
BTSE | ✔️ | BTSE:BTCUSD.P |
btse.json |
Bybit | ✔️ | BYBIT:BTCUSDT.P |
bybit.json |
Coinbase | ✔️ | COINBASE:BTCUSD |
coinbase.json |
CoinEx | ✔️ | COINEX:BTCUSDT |
coinex.json |
Delta | ✔️ | DELTA:BTCUSDT.P |
delta.json |
Derbit | ✔️ | DERIBIT:BTCUSD.P |
deribit.json |
dYdX | ✔️ | DYDX:ETHUSD |
dydx.json |
EXMO | ✔️ | EXMO:BTCUSD |
exmo.json |
Gate.io | ✔️ | GATEIO:APTUSDT |
gateio.json |
Gemini | ✔️ | GEMINI:BTCUSD |
gemini.json |
Honeyswap (Polygon) | ✔️ | HONEYSWAPPOLYGON:DAIUSDC |
honeyswappolygon.json |
Honeyswap (xDai) | ✔️ | HONEYSWAP:WXDAIMLN |
honeyswap.json |
HTX | ✔️ | HTX:BTCUSDT |
htx.json |
Kraken | ✔️ | KRAKEN:BTCUSD |
kraken.json |
KuCoin | ✔️ | KUCOIN:BTCUSDT |
kucoin.json |
MEXC Global | ✔️ | MEXC:BTCUSDT.P |
mexc.json |
OKCoin | ✔️ | OKCOIN:BTCUSD |
okcoin.json |
OKX | ✔️ | OKX:BTCUSDT.P |
okx.json |
Osmosis | ✔️ | OSMOSIS:USDTUSD |
osmosis.json |
PancakeSwap (BNB chain) | ✔️ | PANCAKESWAP:XRPCUSD_4314AC |
pancakeswap.json |
Pangolin (Avalance) | ✔️ | PANGOLIN:PNGUSDT.E |
pangolin.json |
Phemex | ✔️ | PHEMEX:BTCPERP |
phemex.json |
Pionex | ✔️ | PIONEX:BTCUSDT.P |
pionex.json |
Poloniex | ✔️ | POLONIEX:BTCUSDT |
poloniex.json |
Pyth | ✔️ | PYTH:BTCUSD |
pyth.json |
QuickSwap (Polygon) | ✔️ | QUICKSWAP:OHMDAI |
quickswap.json |
SpookySwap (Fantom) | ✔️ | SPOOKYSWAP:BTCETH_EC454E |
spookyswap.json |
SushiSwap (Ethereum) | ✔️ | SUSHISWAP:OHMDAI |
sushiswap.json |
SushiSwap (Polygon) | ✔️ | SUSHISWAPPOLYGON:GDDYUSDC |
sushiswappolygon.json |
TimeX | ✔️ | TIMEX:QMALLUSDT |
timex.json |
Trader Joe (Avalanche) | ✔️ | TRADERJOE:STGUSDC |
traderjoe.json |
TradeStation | ✔️ | TRADESTATION:BTCUSD |
tradestation.json |
Uniswap v2 (Ethereum) | ✔️ | UNISWAP:HEXUSDC |
uniswap.json |
Uniswap v3 (Arbitrum) | ✔️ | UNISWAP3ARBITRUM:GMXWETH |
uniswap3arbitrum.json |
Uniswap v3 (Ethereum) | ✔️ | UNISWAP3ETH:XENUSDC |
uniswap3eth.json |
Uniswap v3 (Polygon) | ✔️ | UNISWAP3POLYGON:GNSDAI |
uniswap3polygon.json |
UpBit | ✔️ | UPBIT:BTCKRW |
upbit.json |
Verse (Ethereum) | ✔️ | VERSEETH:WBTCUSDC_F3F82B |
verseeth.json |
Volmex | ✔️ | VOLMEX:BVIV |
volmex.json |
Wagyuswap (Velas) | ✔️ | WAGYUSWAP:ETHBUSD_63BA88 |
wagyuswap.json |
WhiteBIT | ✔️ | WHITEBIT:WBTUSDT |
whitebit.json |
WOO | ✔️ | WOONETWORK:WOOUSDT |
woonetwork.json |
xExchange | ✔️ | XEXCHANGE:ASHUSDC |
xexchange.json |
Zoomex | ✔️ | ZOOMEX:BTCUSDT.P |
zoomex.json |
Name | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|
CRYPTOCAP | ✔️ | ✔️ | CRYPTOCAP:TOTAL |
cryptocap.json |
Coin Metrics | ❌ | Limited | COINMETRICS:BTC_FEEUSD |
coinmetrics.json |
Defi Llama | Limited | Limited | DEFILLAMA:SAUCE_TVL |
defillama.json |
Glassnode | ❌ | Limited | GLASSNODE:BUSD_MARKETCAP |
glassnode.json |
IntoTheBlock | ❌ | Limited | INTOTHEBLOCK:BTC_HASHRATE |
intotheblock.json |
Last updated: 2024-02-16
Forex & CFD
Name | API v1/v2 | Example | Symbols |
---|---|---|---|
ActivTrades | ✔️ | ACTIVTRADES:EURUSD |
activtrades.json |
Afterprime | ✔️ | AFTERPRIME:EURUSD |
afterprime.json |
BlackBull Markets | ✔️ | BLACKBULL:EURUSD |
blackbull.json |
CAPITALCOM | ✔️ | CAPITALCOM:EURUSD |
capitalcom.json |
City Index | ✔️ | CITYINDEX:EURUSD |
cityindex.json |
easyMarkets | ✔️ | EASYMARKETS:EURUSD |
easymarkets.json |
Eightcap | ✔️ | EIGHTCAP:EURUSD |
eightcap.json |
FOREX.com | ✔️ | FOREXCOM:EURUSD |
forexcom.json |
FP Markets | ✔️ | FPMARKETS:EURUSD |
fpmarkets.json |
FXCM | ✔️ | FX:EURUSD |
fx.json |
FXOpen | ✔️ | FXOPEN:EURUSD |
fxopen.json |
GBE brokers | ✔️ | GBEBROKERS:EURUSD |
gbebrokers.json |
IC Markets | ✔️ | ICMARKETS:EURUSD |
icmarkets.json |
ICE | ✔️ | ICE:EURUSD |
fx_idc.json |
Interactive Brokers | ✔️ | IBKR:EURUSD |
ibkr.json |
JFX | ✔️ | JFX:EURUSD |
jfx.json |
OANDA | ✔️ | OANDA:EURUSD |
oanda.json |
Pepperstone | ✔️ | PEPPERSTONE:EURUSD |
pepperstone.json |
Phillip Nova | ✔️ | PHILLIPNOVA:EURUSD |
phillipnova.json |
Saxo | ✔️ | SAXO:EURUSD |
saxo.json |
SKILLING | ✔️ | SKILLING:EURUSD |
skilling.json |
Spreadex | ✔️ | SPREADEX:EURUSD |
spreadex.json |
Velocity Trade | ✔️ | VELOCITY:EURUSD |
velocity.json |
Last updated: 2024-02-16
Stocks - North America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
NASDAQ | US | Delayed | ✔️ | NASDAQ:AAPL |
nasdaq.json |
NYSE | US | Delayed | ✔️ | NYSE:BABA |
nyse.json |
NYSE Arca | US | Delayed | ✔️ | AMEX:SPY |
amex.json |
OTC | US | Delayed | ✔️ | OTC:GBTC |
otc.json |
CSE | CA | Limited | ✔️ | CSE:GTII |
cse.json |
NEO | CA | ✔️ | ✔️ | NEO:TSLA |
neo.json |
TSX | CA | Delayed | Delayed | TSX:SHOP |
tsx.json |
TSXV | CA | Delayed | Delayed | TSXV:HIVE |
tsxv.json |
Last updated: 2024-02-16
Stocks - Europe
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
EURONEXT BRUSSELS | BE | ❌ | Delayed | EURONEXT:SOF |
euronext.json |
SIX | CH | Limited | Delayed | SIX:NESN |
six.json |
BX | CH | ✔️ | ✔️ | BX:AAVE |
bx.json |
BER | DE | Limited | ✔️ | BER:CH2A |
ber.json |
DUS | DE | Limited | ✔️ | DUS:Q11 |
dus.json |
FWB | DE | Limited | Delayed | FWB:BY6 |
fwb.json |
GETTEX | DE | ✔️ | ✔️ | GETTEX:TL0 |
gettex.json |
HAM | DE | Limited | ✔️ | HAM:2HP |
ham.json |
HAN | DE | Limited | ✔️ | HAN:XS4 |
han.json |
MUN | DE | Limited | ✔️ | MUN:5MVW |
mun.json |
SWB | DE | Delayed | Delayed | SWB:LHA |
swb.json |
TRADEGATE | DE | Delayed | ✔️ | TRADEGATE:TL0 |
tradegate.json |
XETR | DE | Limited | Delayed | XETR:ADS |
xetr.json |
OMXCOP | DK | Delayed | Delayed | OMXCOP:NOVO_B |
omxcop.json |
OMXTSE | EE | Delayed | Delayed | OMXTSE:EGR1T |
omxtse.json |
BME | ES | ❌ | Delayed | BME:SAN |
bme.json |
OMXHEX | FI | Delayed | Delayed | OMXHEX:NOKIA |
omxhex.json |
EURONEXT PARIS | FR | ❌ | Delayed | EURONEXT:TTE |
euronext.json |
ATHEX | GR | Delayed | Delayed | ATHEX:ALPHA |
athex.json |
LSE | GB | Limited | Delayed | LSE:RR. |
lse.json |
LSIN | GB | Limited | Delayed | LSIN:KAP |
lsin.json |
TURQUOISE | GB | Delayed | ✔️ | TURQUOISE:RNOP |
turquoise.json |
BET | HU | Delayed | Delayed | BET:OTP |
bet.json |
OMXICE | IS | Delayed | Delayed | OMXICE:ICEAIR |
omxice.json |
MIL | IT | Limited | ✔️ | MIL:JUVE |
mil.json |
OMXVSE | LT | Delayed | Delayed | OMXVSE:SAB1L |
omxvse.json |
LUXSE | LU | ❌ | Delayed | LUXSE:LU0006061336 |
luxse.json |
OMXRSE | LV | Delayed | Delayed | OMXRSE:DGR1R |
omxrse.json |
EURONEXT AMSTERDAM | NL | ❌ | Delayed | EURONEXT:ASML |
euronext.json |
EURONEXT OSLO | NO | ❌ | Delayed | OSL:PGS |
osl.json |
GPW | PL | Limited | Delayed | GPW:ALE |
gpw.json |
NEWCONNECT | PL | Limited | Delayed | NEWCONNECT:MPY |
newconnect.json |
EURONEXT LISBON | PT | ❌ | Delayed | EURONEXT:GALP |
euronext.json |
BVB | RO | Delayed | Delayed | BVB:TLV |
bvb.json |
BELEX | RS | ❌ | Limited | BELEX:KRPL |
belex.json |
MOEX | RU | ❌ | ✔️ | MOEX:SBER |
moex.json |
NGM | SE | ❌ | ✔️ | NGM:ESGR.B |
ngm.json |
OMXSTO | SE | Delayed | Delayed | OMXSTO:SBB_B |
omxsto.json |
BSSE | SK | ❌ | ❌ | BSSE:1DRS099E |
bsse.json |
BIST | TR | Limited | Delayed | BIST:THYAO |
bist.json |
Last updated: 2024-02-16
Stocks - Middle East / Africa
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
ADX | AE | Delayed | ✔️ | ADX:MULTIPLY |
adx.json |
DFM | AE | ❌ | Delayed | DFM:SALIK |
dfm.json |
BAHRAIN | BH | ❌ | ❌ | BAHRAIN:GFH |
bahrain.json |
EGX | EG | Delayed | Delayed | EGX:FWRY |
egx.json |
TASE | IL | Delayed | Delayed | TASE:DLEKG |
tase.json |
NSEKE | KE | ❌ | ❌ | NSEKE:JUB |
nseke.json |
NSENG | NG | ❌ | Delayed | NSENG:BERGER |
nseng.json |
QSE | QA | Delayed | Delayed | QSE:GISS |
qse.json |
TADAWUL | SA | ❌ | Delayed | TADAWUL:1120 |
tadawul.json |
BVMT | TN | ❌ | ❌ | BVMT:AB |
bvmt.json |
JSE | ZA | ✔️ | ✔️ | JSE:SOL |
jse.json |
Last updated: 2024-02-16
Stocks - Mexico & South America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
BYMA | AR | ❌ | Delayed | BCBA:GGAL |
bcba.json |
BMFBOVESPA | BR | ❌ | Delayed | BMFBOVESPA:PETR4 |
bmfbovespa.json |
BCS | CL | Delayed | Delayed | BCS:SQM_B |
bcs.json |
BVC | CO | Limited | Delayed | BVC:ECOPETROL |
bvc.json |
BMV | MX | ❌ | Delayed | BMV:CEMEX/CPO |
bmv.json |
BVL | PE | ❌ | Delayed | BVL:BACKUSI1 |
bvl.json |
BVCV | VE | ❌ | ❌ | BVCV:FVI.B |
bvcv.json |
Last updated: 2024-02-16
Stocks - Asia / Pacific
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
ASX | AU | Delayed | Delayed | ASX:PLS |
asx.json |
CHIXAU | AU | Delayed | ✔️ | CHIXAU:EBTC |
chixau.json |
SSE | CN | Limited | Delayed | SSE:600519 |
sse.json |
SZSE | CN | Limited | Delayed | SZSE:002603 |
szse.json |
HKEX | HK | ❌ | Delayed | HKEX:9988 |
hkex.json |
IDX | ID | Limited | Delayed | IDX:ANTM |
idx.json |
BSE | IN | Limited | Delayed | BSE:BANKBARODA |
bse.json |
NSE | IN | ❌ | ✔️ | NSE:HDFCBANK |
nse.json |
FSE | JP | ❌ | Delayed | FSE:1518 |
fse.json |
NAG | JP | ❌ | Delayed | NAG:5461 |
nag.json |
SAPSE | JP | ❌ | Delayed | SAPSE:2928 |
sapse.json |
TSE | JP | ❌ | Delayed | TSE:1489 |
tse.json |
KRX | KR | Limited | Delayed | KRX:005930 |
krx.json |
MYX | MY | ❌ | Delayed | MYX:CORAZA |
myx.json |
NZX | NZ | ❌ | Delayed | NZX:SPY |
nzx.json |
PSE | PH | ❌ | Delayed | PSE:ACEN |
pse.json |
SGX | SG | ❌ | Delayed | SGX:D05 |
sgx.json |
SET | TH | ❌ | Delayed | SET:KBANK |
set.json |
TPEX | TW | Delayed | ✔️ | TPEX:8069 |
tpex.json |
TWSE | TW | ❌ | Delayed | TWSE:2330 |
twse.json |
HNX | VN | Limited | Delayed | HNX:CEO |
hnx.json |
HOSE | VN | ❌ | Delayed | HOSE:HPG |
hose.json |
UPCOM | VN | Limited | Delayed | UPCOM:BSR |
upcom.json |
Last updated: 2024-02-16
Futures - North America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
CBOE | US | ❌ | Limited | CBOE:VX1! |
cboe.json |
CBOT | US | Limited | ✔️ | CBOT:ZN1! |
cbot.json |
CBOT_MINI | US | Limited | ✔️ | CBOT_MINI:YM1! |
cbot_mini.json |
CME | US | Limited | ✔️ | CME:BTC1! |
cme.json |
CME_MINI | US | Limited | ✔️ | CME_MINI:ES1! |
cme_mini.json |
COMEX | US | Limited | ✔️ | COMEX:GC1! |
comex.json |
COMEX_MINI | US | Limited | ✔️ | COMEX_MINI:MGC1! |
comex_mini.json |
ICEUS | US | ❌ | Delayed | ICEUS:DX1! |
iceus.json |
MGEX | US | Limited | Limited | MGEX:QMW1! |
mgex.json |
NYMEX | US | Limited | ✔️ | NYMEX:CL1! |
nymex.json |
NYMEX_MINI | US | Limited | ✔️ | NYMEX_MINI:QG1! |
nymex_mini.json |
Last updated: 2024-02-16
Futures - Europe
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
EUREX | EU | Limited | Delayed | EUREX:FDAX1! |
eurex.json |
EURONEXT | EU | ❌ | Delayed | EURONEXT:FCE1! |
euronext.json |
ICEEUR | EU | Limited | ✔️ | ICEEUR:Z1! |
iceeur.json |
BET | HU | Delayed | Delayed | BET:EURUSD1! |
bet.json |
EURONEXT | NO | ❌ | Delayed | EURONEXT:RS61! |
euronext.json |
GPW | PL | Limited | Delayed | GPW:FW201! |
gpw.json |
MOEX | RU | ❌ | ✔️ | MOEX:NG1! |
moex.json |
BIST | TR | Limited | Delayed | BIST:XU030D1! |
bist.json |
Last updated: 2024-02-16
Futures - Middle East / Africa
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
ADX | AE | Delayed | ✔️ | ADX:ADIBF1! |
adx.json |
Last updated: 2024-02-16
Futures - Mexico & South America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
MATBAROFEX | AR | ✔️ | ✔️ | MATBAROFEX:WTI1! |
matbarofex.json |
BMFBOVESPA | BR | ❌ | Delayed | BMFBOVESPA:WIN1! |
bmfbovespa.json |
Last updated: 2024-02-16
Futures - Asia / Pacific
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
HKEX | HK | ❌ | Delayed | HKEX:HSI1! |
hkex.json |
BSE | IN | Limited | Delayed | BSE:COAL1! |
bse.json |
MCX | IN | ❌ | ✔️ | MCX:CRUDEOIL1! |
mcx.json |
NCDEX | IN | Delayed | ✔️ | NCDEX:JEERAUNJHA1! |
ncdex.json |
NSE | IN | ❌ | ✔️ | NSE:BANKNIFTY1! |
nse.json |
OSE | JP | Delayed | Delayed | OSE:NK2251! |
ose.json |
TFX | JP | ❌ | ❌ | TFX:EY1! |
tfx.json |
TOCOM | JP | Delayed | Delayed | TOCOM:TRB1! |
tocom.json |
MYX | MY | ❌ | Delayed | MYX:FCPO1! |
myx.json |
NZX | NZ | ❌ | Delayed | NZX:WMP1! |
nzx.json |
ICESG | SG | ❌ | Delayed | ICESG:BMC1! |
icesg.json |
SGX | SG | ❌ | Delayed | SGX:IN1! |
sgx.json |
TFEX | TH | ❌ | ✔️ | TFEX:S501! |
tfex.json |
HNX | VN | ❌ | Delayed | HNX:VN301! |
hnx.json |
Last updated: 2024-02-16
Indices - North America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
CAPITALCOM | US | ✔️ | ✔️ | CAPITALCOM:DXY |
capitalcom.json |
CBOE | US | ❌ | Delayed | CBOE:VIX |
cboe.json |
DJ | US | ❌ | ✔️ | DJ:DJI |
dj.json |
ICEUS | US | ❌ | Delayed | ICEUS:DXY |
iceus.json |
INDEX | US | Limited | Limited | INDEX:DXY |
index.json |
NASDAQ | US | Delayed | ✔️ | NASDAQ:NDX |
nasdaq.json |
NYSE | US | Limited | Limited | NYSE:NYA |
nyse.json |
RUSSELL | US | ❌ | ✔️ | RUSSELL:RUT |
russell.json |
SP | US | ❌ | ✔️ | SP:SPX |
sp.json |
TVC | US | ❌ | ✔️ | TVC:DXY |
tvc.json |
USI | US | ✔️ | ✔️ | USI:TICK |
usi.json |
CSE | CA | Limited | ✔️ | CSE:CSE25 |
cse.json |
TSX | CA | Delayed | ✔️ | TSX:TSX |
tsx.json |
Last updated: 2024-02-16
Indices - Europe
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
EURONEXT BRUSSELS | BE | ❌ | Delayed | EURONEXT:BEL20 |
euronext.json |
INDEX | BE | Limited | ✔️ | INDEX:BEL20 |
index.json |
CAPITALCOM | CH | ✔️ | ✔️ | CAPITALCOM:SW20 |
capitalcom.json |
INDEX | CH | Limited | ✔️ | INDEX:SMI |
index.json |
SIX | CH | Limited | Delayed | SIX:SMI |
six.json |
INDEX | DE | Limited | ✔️ | INDEX:DV1X |
index.json |
XETR | DE | Limited | Delayed | XETR:DAX |
xetr.json |
INDEX | DK | Limited | ✔️ | INDEX:KFX |
index.json |
OMXCOP | DK | Delayed | Delayed | OMXCOP:OMXC25 |
omxcop.json |
OMXTSE | EE | Delayed | Delayed | OMXTSE:OMXTGI |
omxtse.json |
BME | ES | ❌ | Delayed | BME:IBC |
bme.json |
Currency.com | ES | ✔️ | ✔️ | CURRENCYCOM:SP35 |
currencycom.json |
CAPITALCOM | EU | ✔️ | ✔️ | CAPITALCOM:EU50 |
capitalcom.json |
CBOEEU | EU | ✔️ | ✔️ | CBOEEU:BEP50P |
cboeeu.json |
EURONEXT | EU | ❌ | Delayed | EURONEXT:N100 |
euronext.json |
INDEX | EU | Limited | ✔️ | INDEX:BDI |
index.json |
OMXBALTIC | EU | Delayed | Delayed | OMXBALTIC:OMXBBGI |
omxbaltic.json |
OMXNORDIC | EU | Delayed | Delayed | OMXNORDIC:OMXN40 |
omxnordic.json |
OMXHEX | FI | Delayed | Delayed | OMXHEX:OMXH25 |
omxhex.json |
CAPITALCOM | FR | ✔️ | ✔️ | CAPITALCOM:FR40 |
capitalcom.json |
EURONEXT PARIS | FR | ❌ | Delayed | EURONEXT:PX1 |
euronext.json |
INDEX | FR | Limited | ✔️ | INDEX:CAC40 |
index.json |
CBOEEU | GB | ✔️ | ✔️ | CBOEEU:BUK250P |
cboeeu.json |
ATHEX | GR | Delayed | Delayed | ATHEX:GD |
athex.json |
BET | HU | Delayed | Delayed | BET:BUX |
bet.json |
OMXICE | IS | Delayed | Delayed | OMXICE:OMXI10 |
omxice.json |
CAPITALCOM | IT | ✔️ | ✔️ | CAPITALCOM:IT40 |
capitalcom.json |
INDEX | IT | Limited | ✔️ | INDEX:FTSEMIB |
index.json |
OMXVSE | LT | Delayed | Delayed | OMXVSE:OMXVGI |
omxvse.json |
LUXSE | LU | ❌ | ❌ | LUXSE:LUXX |
luxse.json |
OMXRSE | LV | Delayed | Delayed | OMXRSE:OMXRGI |
omxrse.json |
CAPITALCOM | NL | ✔️ | ✔️ | CAPITALCOM:NL25 |
capitalcom.json |
EURONEXT AMSTERDAM | NL | ❌ | Delayed | EURONEXT:AEX |
euronext.json |
INDEX | NL | Limited | ✔️ | INDEX:AMX |
index.json |
EURONEXT OSLO | NO | ❌ | Delayed | OSL:OSEBX |
osl.json |
INDEX | NO | Limited | ✔️ | INDEX:OBX |
index.json |
GPW | PL | Limited | Delayed | GPW:WIG20 |
gpw.json |
NEWCONNECT | PL | Limited | Delayed | NEWCONNECT:NCINDEX |
newconnect.json |
EURONEXT LISBON | PT | ❌ | Delayed | EURONEXT:PSI20 |
euronext.json |
INDEX | PT | Limited | ✔️ | INDEX:PSI20 |
index.json |
BVB | RO | Delayed | Delayed | BVB:BET |
bvb.json |
BELEX | RS | ❌ | Delayed | BELEX:BELEX15 |
belex.json |
MOEX | RU | ✔️ | ✔️ | MOEX:IMOEX |
moex.json |
OMXSTO | SE | Delayed | Delayed | OMXSTO:OMXS30 |
omxsto.json |
BSSE | SK | ❌ | ❌ | BSSE:SAX |
bsse.json |
BIST | TR | Limited | Delayed | BIST:XU100 |
bist.json |
Last updated: 2024-02-16
Indices - Middle East / Africa
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
ADX | AE | Delayed | ✔️ | ADX:FADGI |
adx.json |
DFM | AE | ❌ | Delayed | DFM:DFMGI |
dfm.json |
BAHRAIN | BH | ❌ | ❌ | BAHRAIN:BHBX |
bahrain.json |
EGX | EG | Delayed | Delayed | EGX:EGX30 |
egx.json |
TASE | IL | Delayed | Delayed | TASE:TA35 |
tase.json |
NSENG | NG | ❌ | Delayed | NSENG:ASI |
nseng.json |
QSE | QA | Delayed | Delayed | QSE:GNRI |
qse.json |
TADAWUL | SA | ❌ | Delayed | TADAWUL:TASI |
tadawul.json |
BVMT | TN | ❌ | ❌ | BVMT:INDBQ |
bvmt.json |
JSE | ZA | ✔️ | ✔️ | JSE:J200 |
jse.json |
TVC | ZA | ❌ | ✔️ | TVC:SA40 |
tvc.json |
Last updated: 2024-02-16
Indices - Mexico & South America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
BYMA | AR | ❌ | Delayed | BCBA:IMV |
bcba.json |
INDEX | AR | Limited | ✔️ | INDEX:IAR |
index.json |
MATBAROFEX | AR | ✔️ | ✔️ | MATBAROFEX:BTC |
matbarofex.json |
BMFBOVESPA | BR | ❌ | Delayed | BMFBOVESPA:IBOV |
bmfbovespa.json |
INDEX | BR | Limited | ✔️ | INDEX:IBOV |
index.json |
BCS | CL | Delayed | Delayed | BCS:SP_IPSA |
bcs.json |
BVC | CO | Limited | Delayed | BVC:ICAP |
bvc.json |
BMV | MX | ❌ | Delayed | BMV:ME |
bmv.json |
INDEX | MX | Limited | ✔️ | INDEX:ME |
index.json |
BVL | PE | ❌ | Delayed | BVL:SPBLPGPT |
bvl.json |
BVCV | VE | ❌ | ❌ | BVCV:IBC |
bvcv.json |
Last updated: 2024-02-16
Indices - Asia / Pacific
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
ASX | AU | Delayed | Delayed | ASX:XJO |
asx.json |
CAPITALCOM | AU | ✔️ | ✔️ | CAPITALCOM:AU200 |
capitalcom.json |
CHIXAU | AU | Delayed | ✔️ | CHIXAU:X2C |
chixau.json |
INDEX | AU | Limited | ✔️ | INDEX:AORD |
index.json |
CAPITALCOM | CN | ✔️ | ✔️ | CAPITALCOM:CN50 |
capitalcom.json |
INDEX | CN | Limited | ✔️ | INDEX:000001 |
index.json |
SSE | CN | Limited | Delayed | SSE:000001 |
sse.json |
SZSE | CN | ✔️ | ✔️ | SZSE:399001 |
szse.json |
HKEX | HK | ❌ | Delayed | HKEX:GEINX |
hkex.json |
HSI | HK | Limited | ✔️ | HSI:HSI |
hsi.json |
INDEX | HK | Limited | ✔️ | INDEX:HSI |
index.json |
TVC | HK | ❌ | ✔️ | TVC:HSI |
tvc.json |
IDX | ID | Limited | Delayed | IDX:COMPOSITE |
idx.json |
INDEX | ID | Limited | ✔️ | INDEX:COMPOSITE |
index.json |
BSE | IN | Limited | Delayed | BSE:SENSEX |
bse.json |
INDEX | IN | Limited | ✔️ | INDEX:SENSEX |
index.json |
MCX | IN | ❌ | ✔️ | MCX:MCXCRUDEX |
mcx.json |
NCDEX | IN | Delayed | ✔️ | NCDEX:GOLD |
ncdex.json |
NSE | IN | ❌ | ✔️ | NSE:BANKNIFTY |
nse.json |
CAPITALCOM | JP | ✔️ | ✔️ | CAPITALCOM:J225 |
capitalcom.json |
INDEX | JP | Limited | ✔️ | INDEX:NKY |
index.json |
TOCOM | JP | Delayed | Delayed | TOCOM:GOLDSPOT |
tocom.json |
TSE | JP | ❌ | Delayed | TSE:TOPIX |
tse.json |
TVC | JP | ❌ | ✔️ | TVC:NI225 |
tvc.json |
INDEX | KR | Limited | ✔️ | INDEX:KSIC |
index.json |
KRX | KR | Limited | ✔️ | KRX:KOSPI |
krx.json |
FTSEMYX | MY | ❌ | Delayed | FTSEMYX:FBMKLCI |
ftsemyx.json |
INDEX | MY | Limited | ✔️ | INDEX:KLSE |
index.json |
MYX | MY | ❌ | Delayed | MYX:FBMKLCI |
myx.json |
INDEX | NZ | Limited | ✔️ | INDEX:NZ50G |
index.json |
NZX | NZ | ❌ | Delayed | NZX:NZ50G |
nzx.json |
TVC | NZ | ❌ | ✔️ | TVC:NZ50G |
tvc.json |
INDEX | PH | Limited | ✔️ | INDEX:PSEC |
index.json |
PSE | PH | ❌ | Delayed | PSE:PSEI |
pse.json |
CAPITALCOM | SG | ✔️ | ✔️ | CAPITALCOM:SG25 |
capitalcom.json |
INDEX | SG | Limited | ✔️ | INDEX:STI |
index.json |
SGX | SG | ❌ | Delayed | SGX:SGX5L |
sgx.json |
SET | TH | ❌ | Delayed | SET:SET |
set.json |
INDEX | TW | Limited | ✔️ | INDEX:TAIEX |
index.json |
TPEX | TW | Delayed | ✔️ | TPEX:STOCK |
tpex.json |
TWSE | TW | ❌ | Delayed | TWSE:TAIEX |
twse.json |
HNX | VN | Limited | Delayed | HNX:HNXINDEX |
hnx.json |
HOSE | VN | ❌ | Delayed | HOSE:VNINDEX |
hose.json |
Last updated: 2024-02-16
Bonds - North America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
NASDAQ | US | Delayed | ✔️ | NASDAQ:COWNL |
nasdaq.json |
TVC | US | ❌ | ✔️ | TVC:US10Y |
tvc.json |
CSE | CA | Limited | ✔️ | CSE:FONE.DB.C |
cse.json |
NEO | CA | ✔️ | ✔️ | NEO:AH.DB.C |
neo.json |
TSX | CA | Delayed | ✔️ | TSX:ADB.SB.A |
tsx.json |
TVC | CA | ❌ | ✔️ | TVC:CA10Y |
tvc.json |
Last updated: 2024-02-16
Bonds - Europe
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
TVC | BE | ❌ | ✔️ | TVC:BE10Y |
tvc.json |
TVC | CH | ❌ | ✔️ | TVC:CH10Y |
tvc.json |
TRADEGATE | DE | Delayed | ✔️ | TRADEGATE:NGXL |
tradegate.json |
TVC | DE | ❌ | ✔️ | TVC:DE10Y |
tvc.json |
XETR | DE | Limited | Delayed | XETR:4RUC |
xetr.json |
TVC | DK | ❌ | ✔️ | TVC:DK10Y |
tvc.json |
TVC | ES | ❌ | ✔️ | TVC:ES10Y |
tvc.json |
TVC | EU | ❌ | ✔️ | TVC:EU10Y |
tvc.json |
TVC | FI | ❌ | ✔️ | TVC:FI10Y |
tvc.json |
EURONEXT PARIS | FR | ❌ | Delayed | EURONEXT:PTTAA |
euronext.json |
TVC | FR | ❌ | ✔️ | TVC:FR10Y |
tvc.json |
TVC | GB | ❌ | ✔️ | TVC:GB10Y |
tvc.json |
TVC | GR | ❌ | ✔️ | TVC:GR10Y |
tvc.json |
TVC | HU | ❌ | ✔️ | TVC:HU10Y |
tvc.json |
TVC | IS | ❌ | ✔️ | TVC:IS10Y |
tvc.json |
TVC | IT | ❌ | ✔️ | TVC:IT10Y |
tvc.json |
TVC | LT | ❌ | ✔️ | TVC:LT03 |
tvc.json |
LUXSE | LU | ❌ | ❌ | LUXSE:USU19328AB62 |
luxse.json |
TVC | NL | ❌ | ✔️ | TVC:NL10Y |
tvc.json |
EURONEXT AMSTERDAM | NL | ❌ | Delayed | EURONEXT:RABO |
euronext.json |
TVC | NO | ❌ | ✔️ | TVC:NO10Y |
tvc.json |
TVC | PL | ❌ | ✔️ | TVC:PL10Y |
tvc.json |
TVC | PT | ❌ | ✔️ | TVC:PT10Y |
tvc.json |
TVC | RO | ❌ | ✔️ | TVC:RO10Y |
tvc.json |
TVC | RU | ❌ | ✔️ | TVC:RU10Y |
tvc.json |
TVC | SE | ❌ | ✔️ | TVC:SE10Y |
tvc.json |
TVC | SK | ❌ | ✔️ | TVC:SK10Y |
tvc.json |
TVC | TR | ❌ | ✔️ | TVC:TR10Y |
tvc.json |
Last updated: 2024-02-16
Bonds - Middle East / Africa
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
TVC | ZA | ❌ | ✔️ | TVC:ZA10Y |
tvc.json |
Last updated: 2024-02-16
Bonds - Mexico & South America
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
TVC | BR | ❌ | ✔️ | TVC:BR10Y |
tvc.json |
TVC | CL | ❌ | ✔️ | TVC:CL10Y |
tvc.json |
TVC | CO | ❌ | ✔️ | TVC:CO10Y |
tvc.json |
TVC | PE | ❌ | ✔️ | TVC:PE30 |
tvc.json |
Last updated: 2024-02-16
Bonds - Asia / Pacific
Name | Country | API v1 | API v2 | Example | Symbols |
---|---|---|---|---|---|
TVC | AU | ❌ | ✔️ | TVC:AU10Y |
tvc.json |
TVC | CN | ❌ | ✔️ | TVC:CN10Y |
tvc.json |
TVC | HK | ❌ | ✔️ | TVC:HK10Y |
tvc.json |
TVC | ID | ❌ | ✔️ | TVC:ID10Y |
tvc.json |
TVC | IN | ❌ | ✔️ | TVC:IN10Y |
tvc.json |
TVC | JP | ❌ | ✔️ | TVC:JP10Y |
tvc.json |
TVC | KR | ❌ | ✔️ | TVC:KR10Y |
tvc.json |
TVC | MY | ❌ | ✔️ | TVC:MY10Y |
tvc.json |
NZX | NZ | ❌ | Delayed | NZX:IFTHA |
nzx.json |
TVC | NZ | ❌ | ✔️ | TVC:NZ10Y |
tvc.json |
TVC | PH | ❌ | ✔️ | TVC:PH10Y |
tvc.json |
TVC | SG | ❌ | ✔️ | TVC:SG10Y |
tvc.json |
TVC | TH | ❌ | ✔️ | TVC:TH10Y |
tvc.json |
TVC | TW | ❌ | ✔️ | TVC:TW10Y |
tvc.json |
TVC | VN | ❌ | ✔️ | TVC:VN10Y |
tvc.json |
Last updated: 2024-02-16
TradingView Snapshot v1
If you are new to using REST API, we suggest following our tutorials, which provide a step-by-step guide to help you understand how to use the API effectively.
Mini Chart
This endpoint captures TradingView mini chart image.
Request Example:
https://api.chart-img.com/v1/tradingview/mini-chart?width=500&height=300&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/mini-chart \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "symbol=BINANCE:ETHUSDT" \
-d "interval=3M" \
-o chart-img.png
HTTP Request
GET /v1/tradingview/mini-chart
Request Query (Optional)
Parameter | Type | Default | Description |
---|---|---|---|
symbol | String | BINANCE:BTCUSDT |
set tradingview symbol |
interval | String | 1M |
set tradingview chart interval [1D , 1M , 3M , 1Y , 5Y , ALL ] |
theme | String | dark |
set tradingview chart theme color [light , dark ] |
width | Integer | 350 |
set chart image width in pixels (Min: 320 ) |
height | Integer | 220 |
set chart image height in pixels (Min: 220 ) |
format | String | png |
set chart image format [png , jpeg ] |
watermark | String | - | set custom watermark for ULTRA and ENTERPRISE plans |
watermarkSize | Integer | 16 |
set watermark text size [16 , 32 , 64 , 128 ] |
watermarkOpacity | Float | 1.0 |
set watermark text opacity (Min: 0.1 , Max: 1.0 ) |
If default values are the same, there is no need to include them in the request.
HTTP Response
Content-Type
image/png
, image/jpeg
, application/json
Mini Chart To Storage
Response Example:
{
"url": "https://api.chart-img.com/v1/storage/pub/72d37da3-a1d5-4023-8c18-68cc56399bde.png",
"size": 15228,
"cors": "*",
"etag": "8e6cd2843019311950b93e7f4ee64d61",
"expireAt": "2022-08-07T13:21:59.815Z",
"createdAt": "2022-06-08T13:22:00.098Z"
}
Request Example:
https://api.chart-img.com/v1/tradingview/mini-chart/storage?symbol=BINANCE:ETHUSDT&interval=3M&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/mini-chart/storage \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "symbol=BINANCE:ETHUSDT" \
-d "interval=3M" \
-o chart-img.json
const axios = require('axios')
axios
.get('https://api.chart-img.com/v1/tradingview/mini-chart/storage', {
headers: {
Authorization: 'Bearer {YOUR_API_KEY}',
},
params: {
symbol: 'BINANCE:ETHUSDT',
interval: '3M',
},
})
.then((res) => {
console.log(res.data) // response example
})
This endpoint saves TradingView mini chart images to public storage and can be used to publish your chart to anyone worldwide.
HTTP Request
GET /v1/tradingview/mini-chart/storage
Request Query (Optional)
For reference, please read the request query of the Mini Chart, as it is identical.
HTTP Response
Content-Type
application/json
Response Body Data
Parameter | Type | Description |
---|---|---|
url | String | url of the public chart image |
size | Integer | size of the image in bytes |
cors | String / null | cross-origin resource sharing allow domains |
etag | String | the etag associated with the image upload |
expireAt | String / null | when the image will be deleted |
createdAt | String | when the image is first uploaded |
Refer to the storage limit based on the user plan.
Advanced Chart
This endpoint captures TradingView advanced chart image.
Request Example:
https://api.chart-img.com/v1/tradingview/advanced-chart?interval=4h&height=300&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/advanced-chart \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "interval=4h" \
-d "height=300" \
-o chart-img.png
Request Example:
https://api.chart-img.com/v1/tradingview/advanced-chart?height=300&symbol=BITSTAMP:ETHUSD&studies=BB&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/advanced-chart \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "symbol=BITSTAMP:ETHUSD" \
-d "height=300" \
-d "studies=BB" \
-o chart-img.png
Request Example:
https://api.chart-img.com/v1/tradingview/advanced-chart?interval=1h&studies=RSI&studies=MACD&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/advanced-chart \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "interval=1h" \
-d "studies=RSI" \
-d "studies=MACD" \
-o chart-img.png
Request Example:
https://api.chart-img.com/v1/tradingview/advanced-chart?height=300&studies=EMA:12&studies=EMA:26&symbol=BINANCE:ADAUSDT&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/advanced-chart \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "symbol=BINANCE:ADAUSDT" \
-d "height=300" \
-d "studies=EMA:12" \
-d "studies=EMA:26" \
-o chart-img.png
Request Example:
https://api.chart-img.com/v1/tradingview/advanced-chart?height=500&symbol=COINBASE:BTCUSD&interval=4h&studies=CCI:20,hlc3&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/advanced-chart \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "symbol=COINBASE:BTCUSD" \
-d "height=500" \
-d "interval=4h" \
-d "studies=CCI:20,hlc3" \
-o chart-img.png
HTTP Request
GET /v1/tradingview/advanced-chart
Request Query (Optional)
Parameter | Type | Default | Description |
---|---|---|---|
symbol | String | BINANCE:BTCUSDT |
set tradingview symbol |
interval | String | 1D |
set tradingview chart interval [1m , 3m , 5m , 15m , 30m , 45m , 1h , 2h , 3h , 4h , 1D , 1W , 1M , 3M , 6M , 1Y ] |
theme | String | dark |
set tradingview chart theme color [light , dark ] |
studies | String[] | - | set tradingview chart to include indicators |
timezone | String | Etc/UTC |
set tradingview chart timezone |
width | Integer | 800 |
set chart image width in pixels (Min: 320 ) |
height | Integer | 600 |
set chart image height in pixels (Min: 220 ) |
format | String | png |
set chart image format [png , jpeg ] |
style | String | candle |
set chart style [bar , candle , line , area , heikinAshi , hollowCandle ] |
range | String | - | set chart interval range [1D , 5D , 1M , 3M , 6M , YTD , 1Y , 5Y , ALL ] override interavl |
logo | Boolean | true |
set chart symbol logo |
watermark | String | - | set custom watermark for ULTRA and ENTERPRISE plans |
watermarkSize | Integer | 16 |
set watermark text size [16 , 32 , 64 , 128 ] |
watermarkOpacity | Float | 1.0 |
set watermark text opacity (Min: 0.1 , Max: 1.0 ) |
If default values are the same, there is no need to include them in the request.
HTTP Response
Content-Type
image/png
, image/jpeg
, application/json
Supported Studies
Indicator | Study | Default | Parameters |
---|---|---|---|
Accumulation/Distribution | ACCD | - | - |
Advance Decline Ratio (Bars) | ADRB | ADRB:9 |
Length |
Aroon | AROON | AROON:14 |
Length |
Average True Range | ATR | ATR:14,RMA |
Length, Source[RMA , SMA , EMA , WMA ] |
Awesome Oscillator | AO | - | - |
Bollinger Bands | BB | BB:20,close,2 |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], StdDev |
Bollinger Bands %B | BBR | BBR:20,close,2 |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], StdDev |
Bollinger Bands Width | BBW | BBW:20,close,2 |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], StdDev |
Chaikin Money Flow | CMF | CMF:20 |
Length |
Chaikin Oscillator | CO | CO:3,10 |
Fast Length, Slow Length |
Chande Momentum Oscillator | CMO | CMO:9,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Choppiness Index | CHOP | CHOP:14 |
Length |
Commodity Channel Index | CCI | CCI:20,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Connors RSI | CRSI | CRSI:3,2,100 |
RSI Length, UpDown Length, ROC Length |
Correlation Coefficient | CC | CC:BINANCE:BTCUSDT,close,20 |
Symbol, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], Length |
Detrended Price Oscillator | DPO | DPO:21,false |
Length, Centered |
Directional Movement Index | DMI | DMI:14,14 |
ADX Smoothing, DI Length |
Donchian Channels | DONCH | DONCH:20 |
Length |
Double EMA | DEMA | DEMA:9 |
Length |
Ease Of Movement | EOM | EOM:14,10000 |
Length, Divisor |
Elders Force Index | EFI | EFI:13 |
Length |
Exponential Moving Average | EMA | EMA:9,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Envelope | ENV | ENV:20,10,close,false |
Length, Percent, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], Exponential |
Fisher Transform | FISHER | FISHER:9 |
Length |
Historical Volatility | HV | HV:10 |
Length |
Hull Moving Average | HMA | HMA:9,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Ichimoku Cloud | IC | IC:9,26,52,26 |
Conversion Line Length, Base Line Length, Leading Span B Length, Displacement |
Keltner Channels | KC | KC:20,1,close,true range |
Length, Multiplier, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], Bands Style[true range , range ] |
Know Sure Thing | KST | KST:10,15,20,30,10,10,10,15,9 |
ROC Length #1, #2, #3, #4, SMA Length #1, #2, #3, #4, Signal Line Length |
Moving Average Convergence Divergence | MACD | MACD:12,26,close,9 |
Fast Length, Slow Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], Signal Smoothing |
Momentum | MOM | MOM:10,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Money Flow Index | MFI | MFI:14 |
Length |
Moon Phases | MP | - | - |
Moving Average | MA | MA:9,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
On Balance Volume | OBV | - | - |
Pivot Points High Low | PPHL | PPHL:10,10 |
Pivot High / Pivot Low |
Pivot Points Standard | PPS | PPS:Traditional,Auto,15 |
Type[Traditional , Fibonacci , Woodie , Classic , Camarilla ], Pivots Timeframe, Number of Pivots Back |
Price Oscillator | PPO | PPO:10,21,close |
Short Length, Long Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Price Volume Trend | PVT | - | - |
Rate of Change | ROC | ROC:9,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Relative Strength Index | RSI | RSI:14,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Vigor Index | RVGI | RVGI:10 |
Length |
Volatility Index | RVI | RVI:10 |
- |
Parabolic SAR | SAR | SAR:0.02,0.02,0.2 |
Start, Increment, Max Value |
SMI Ergodic Indicator | SMII | SMII:20,5,5 |
Long Length, Short Length, Signal Line Length |
SMI Ergodic Oscillator | SMIO | SMIO:20,5,5 |
Long Length, Short Length, Signal Line Length |
Stochastic | STOCH | STOCH:14,3,3 |
%K Length, %K Smoothing, %D Smoothing |
Stochastic RSI | STOCHRSI | STOCHRSI:3,3,14,14,close |
K, D, RSI Length, Stochastic Length, RSI Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Triple EMA | TEMA | TEMA:9 |
Length |
Triple Exponential Average | TRIX | TRIX:18 |
Length |
Ultimate Oscillator | UO | UO:7,14,28 |
Fast Length, Middle Length, Slow Length |
Volatility Stop | VSTOP | VSTOP:20,close,2 |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], Multiplier |
Volume Weighted Average | VWAP | VWAP:Session,hlc3 |
Anchor Period[Session , Week , Month , Quarter , Year , Decade , Century , Earnings , Dividends , Splits ], Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Volume Weighted Average Auto Anchored | VWAPAA | VWAPAA:Auto,hlc3,14,1,2,3,false,false |
Anchor Period[Auto , Highest High , Lowest Low , Highest Volume , Session , Week , Month , Year , Quarter , Decade , Century , Earnings , Dividends , Splits ], Source[open , high , low , close , hl2 , hlc3 , ohlc4 ], Length, Bands Multiplier #1, #2, #3, #2 Show, #3 Show |
Volume Weighted Moving Average | VWMA | VWMA:20,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Weighted Moving Average | WMA | WMA:9,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Williams Alligator | WA | WA:13,8,5 |
Jaw Length, Teeth Length, Lips Length |
William %R | WR | WR:14,close |
Length, Source[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Williams Fractal | WF | - | - |
Zig Zag | ZZ | - | - |
Supported Timezone
Timezone | Description |
---|---|
Etc/UTC |
UTC |
Pacific/Honolulu |
(UTC-10) Honolulu |
America/Juneau |
(UTC-9) Juneau |
America/Los_Angeles |
(UTC-8) Los Angeles |
America/Vancouver |
(UTC-8) Vancouver |
US/Mountain |
(UTC-7) Denver |
America/Phoenix |
(UTC-7) Phoenix |
America/Chicago |
(UTC-6) Chicago |
America/Mexico_City |
(UTC-6) Mexico City |
America/El_Salvador |
(UTC-6) San Salvador |
America/Bogota |
(UTC-5) Bogota |
America/Lima |
(UTC-5) Lima |
America/New_York |
(UTC-5) New York |
America/Toronto |
(UTC-5) Toronto |
America/Caracas |
(UTC-4) Caracas |
America/Argentina/Buenos_Aires |
(UTC-3) Buenos Aires |
America/Santiago |
(UTC-3) Santiago |
America/Sao_Paulo |
(UTC-3) Sao Paulo |
Europe/Dublin |
(UTC) Dublin |
Europe/Lisbon |
(UTC) Lisbon |
Europe/London |
(UTC) London |
Atlantic/Reykjavik |
(UTC) Reykjavik |
Europe/Amsterdam |
(UTC+1) Amsterdam |
Europe/Belgrade |
(UTC+1) Belgrade |
Europe/Berlin |
(UTC+1) Berlin |
Europe/Brussels |
(UTC+1) Brussels |
Europe/Copenhagen |
(UTC+1) Copenhagen |
Africa/Lagos |
(UTC+1) Lagos |
Europe/Luxembourg |
(UTC+1) Luxembourg |
Europe/Madrid |
(UTC+1) Madrid |
Europe/Malta |
(UTC+1) Malta |
Europe/Oslo |
(UTC+1) Oslo |
Europe/Paris |
(UTC+1) Paris |
Europe/Rome |
(UTC+1) Rome |
Europe/Stockholm |
(UTC+1) Stockholm |
Europe/Warsaw |
(UTC+1) Warsaw |
Europe/Zurich |
(UTC+1) Zurich |
Europe/Athens |
(UTC+2) Athens |
Africa/Cairo |
(UTC+2) Cairo |
Europe/Helsinki |
(UTC+2) Helsinki |
Asia/Jerusalem |
(UTC+2) Jerusalem |
Africa/Johannesburg |
(UTC+2) Johannesburg |
Europe/Riga |
(UTC+2) Riga |
Europe/Tallinn |
(UTC+2) Tallinn |
Europe/Vilnius |
(UTC+2) Vilnius |
Asia/Bahrain |
(UTC+3) Bahrain |
Europe/Istanbul |
(UTC+3) Istanbul |
Asia/Kuwait |
(UTC+3) Kuwait |
Europe/Moscow |
(UTC+3) Moscow |
Asia/Qatar |
(UTC+3) Qatar |
Asia/Riyadh |
(UTC+3) Riyadh |
Asia/Tehran |
(UTC+3:30) Tehran |
Asia/Dubai |
(UTC+4) Dubai |
Asia/Muscat |
(UTC+4) Muscat |
Asia/Ashkhabad |
(UTC+5) Ashgabat |
Asia/Kolkata |
(UTC+5:30) Kolkata |
Asia/Almaty |
(UTC+6) Almaty |
Asia/Bangkok |
(UTC+7) Bangkok |
Asia/Ho_Chi_Minh |
(UTC+7) Ho Chi Minh |
Asia/Jakarta |
(UTC+7) Jakarta |
Asia/Chongqing |
(UTC+8) Chongqing |
Asia/Hong_Kong |
(UTC+8) Hong Kong |
Australia/Perth |
(UTC+8) Perth |
Asia/Shanghai |
(UTC+8) Shanghai |
Asia/Singapore |
(UTC+8) Singapore |
Asia/Taipei |
(UTC+8) Taipei |
Asia/Seoul |
(UTC+9) Seoul |
Asia/Tokyo |
(UTC+9) Tokyo |
Australia/Brisbane |
(UTC+10) Brisbane |
Australia/Adelaide |
(UTC+10:30) Adelaide |
Australia/Sydney |
(UTC+11) Sydney |
Pacific/Norfolk |
(UTC+12) Norfolk Island |
Pacific/Auckland |
(UTC+13) New Zealand |
Pacific/Fakaofo |
(UTC+13) Tokelau |
Pacific/Chatham |
(UTC+13:45) Chatham Islands |
Advanced Chart To Storage
Response Example:
{
"url": "https://api.chart-img.com/v1/storage/pub/f2d750a9-6e31-4277-a1ca-1361feeedf1a.png",
"size": 62776,
"cors": "*",
"etag": "56a2693dcfcd16639491975b516a5581",
"expireAt": "2022-08-07T14:11:58.591Z",
"createdAt": "2022-06-08T14:11:58.756Z"
}
Request Example:
https://api.chart-img.com/v1/tradingview/advanced-chart/storage?symbol=BINANCE:ETHUSDT&studies=MACD&studies=CCI:10,close&interval=4h&key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v1/tradingview/advanced-chart/storage \
-H "Authorization: Bearer {YOUR_API_KEY}" \
-d "symbol=BINANCE:ETHUSDT" \
-d "studies=MACD" \
-d "studies=CCI:10,close" \
-d "interval=4h" \
-o chart-img.json
const qs = require('qs')
const axios = require('axios')
axios
.get('https://api.chart-img.com/v1/tradingview/advanced-chart/storage', {
headers: {
Authorization: 'Bearer {YOUR_API_KEY}',
},
params: {
symbol: 'BINANCE:ETHUSDT',
interval: '4h',
studies: ['MACD', 'CCI:10,close'],
},
paramsSerializer: (params) => {
return qs.stringify(params, { arrayFormat: 'repeat' })
},
})
.then((res) => {
console.log(res.data) // response example
})
This endpoint saves TradingView advanced chart images to public storage and can be used to publish your chart to anyone worldwide.
HTTP Request
GET /v1/tradingview/advanced-chart/storage
Request Query (Optional)
For reference, please read the request query of the Advanced Chart, as it is identical.
HTTP Response
Content-Type
application/json
Response Body Data
Parameter | Type | Description |
---|---|---|
url | String | url of the public chart image |
size | Integer | size of the image in bytes |
cors | String / null | cross-origin resource sharing allow domains |
etag | String | the etag associated with the image upload |
expireAt | String / null | when the image will be deleted |
createdAt | String | when the image is first uploaded |
Refer to the storage limit based on the user plan.
TradingView Snapshot v2
If you are new to using REST API, we suggest following our tutorials, which provide a step-by-step guide to help you understand how to use the API effectively.
Advanced Chart
Request Example:
{
"height": 300,
"theme": "dark",
"interval": "1h",
"style": "baseline"
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/advanced-chart \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"height\":300,\"theme\":\"dark\",\"interval\":\"1h\",\"style\":\"baseline\"}" \
-o chart-img-01.png
Request Example:
{
"height": 300,
"theme": "dark",
"interval": "15m",
"session": "extended",
"symbol": "NASDAQ:TSLA",
"timezone": "America/New_York"
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/advanced-chart \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"height\":300,\"theme\":\"dark\",\"interval\":\"15m\",\"session\":\"extended\",\"symbol\":\"NASDAQ:TSLA\",\"timezone\":\"America/New_York\"}" \
-o chart-img-02.png
Request Example:
{
"theme": "dark",
"interval": "1W",
"symbol": "NASDAQ:MSFT",
"override": {
"showStudyLastValue": false
},
"studies": [
{
"name": "Volume",
"forceOverlay": true
},
{
"name": "MACD",
"override": {
"Signal.linewidth": 2,
"Signal.color": "rgb(255,65,129)"
}
}
]
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/advanced-chart \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"theme\":\"dark\",\"interval\":\"1W\",\"symbol\":\"NASDAQ:MSFT\",\"override\":{\"showStudyLastValue\":false},\"studies\":[{\"name\":\"Volume\",\"forceOverlay\":true},{\"name\":\"MACD\",\"override\":{\"Signal.linewidth\":2,\"Signal.color\":\"rgb(255,65,129)\"}}]}" \
-o chart-img-03.png
Request Example:
{
"theme": "dark",
"symbol": "BINANCE:ETHUSDT",
"studies": [
{
"name": "Volume Profile Visible Range",
"override": {
"graphics.horizlines.pocLines.color": "rgb(0,0,255)"
}
},
{
"name": "Relative Strength Index"
},
{
"name": "MA with EMA Cross"
}
]
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/advanced-chart \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"theme\":\"dark\",\"symbol\":\"BINANCE:ETHUSDT\",\"studies\":[{\"name\":\"Volume Profile Visible Range\",\"override\":{\"graphics.horizlines.pocLines.color\":\"rgb(0,0,255)\"}},{\"name\":\"Relative Strength Index\"},{\"name\":\"MA with EMA Cross\"}]}" \
-o chart-img-04.png
Request Example:
{
"style": "bar",
"theme": "dark",
"interval": "45m",
"studies": [
{
"name": "Volume",
"forceOverlay": true,
"override": {
"Volume.color.0": "rgba(247,82,95,0.1)",
"Volume.color.1": "rgba(34,171,148,0.1)"
}
},
{
"name": "Stochastic"
}
],
"drawings": [
{
"name": "Horizontal Line",
"input": {
"price": 23520
},
"override": {
"lineWidth": 1,
"lineColor": "rgb(50,205,50)"
}
},
{
"name": "Horizontal Line",
"input": {
"price": 22080
},
"override": {
"lineWidth": 1,
"lineColor": "rgb(255,122,122)"
}
}
]
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/advanced-chart \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"style\":\"bar\",\"theme\":\"dark\",\"interval\":\"45m\",\"studies\":[{\"name\":\"Volume\",\"forceOverlay\":true,\"override\":{\"Volume.color.0\":\"rgba(247,82,95,0.1)\",\"Volume.color.1\":\"rgba(34,171,148,0.1)\"}},{\"name\":\"Stochastic\"}],\"drawings\":[{\"name\":\"Horizontal Line\",\"input\":{\"price\":23520},\"override\":{\"lineWidth\":1,\"lineColor\":\"rgb(50,205,50)\"}},{\"name\":\"Horizontal Line\",\"input\":{\"price\":22080},\"override\":{\"lineWidth\":1,\"lineColor\":\"rgb(255,122,122)\"}}]}" \
-o chart-img-05.png
This endpoint captures TradingView advanced chart image.
HTTP Request
POST
/v2/tradingview/advanced-chart
Request Header
Parameter | Type | Required | Description |
---|---|---|---|
x-api-key | String | Yes | authentication API access key |
tradingview-session-id | String | No | tradingview browser cookies value sessionid |
tradingview-session-id-sign | String | No | tradingview browser cookies value sessionid_sign |
To access your own subscription data, both tradingview-session-id
and tradingview-session-id-sign
values are required. Verify your values match with your current browser session to prevent session disconnect.
Request Body (Optional)
The default values will be used to generate the chart if no request body is provided.
Content-Type
application/json
Parameter | Type | Default | Description |
---|---|---|---|
symbol | String | BINANCE:BTCUSDT |
set tradingview symbol EXCHANGE:SYMBOL |
interval | String | 1D |
set chart interval* [1m , 3m , 5m , 15m , 30m , 45m , 1h , 2h , 3h , 4h , 6h , 12h , 1D , 1W , 1M , 3M , 6M , 1Y ] exchange dependent |
width | Integer | 800 |
set chart image width in pixels (Min: 400 ) |
height | Integer | 600 |
set chart image height in pixels (Min: 300 ) |
style | String | candle |
set chart style [bar , candle , line , area , heikinAshi , hollowCandle , baseline , hiLo , column ] |
theme | String | light |
set chart theme color [light , dark ] |
scale | String | regular |
set chart price scale [regular , percent , indexedTo100 , logarithmic ] |
session | String | regular |
set chart extended hour sessions [regular , extended ] |
timezone | String | Etc/UTC |
set chart timezone |
format | String | png |
set chart image format [png , jpeg ] |
range | String / Object | - | set chart range [1D , 5D , 1M , 3M , 6M , 1Y , 5Y , ALL , DTD , WTD , MTD , YTD ] override interavl or specify the range with an object with from and to |
override | Object | - | override the default chart settings |
studies | Object[] | - | set chart to include multiple study indicators |
drawings | Object[] | - | set chart to include multiple shape/line/text drawings |
shiftLeft | Integer | - | set chart position to left (Min: 1 , Max: 1000 ) |
shiftRight | Integer | - | set chart position to right (Min: 1 , Max: 1000 ) |
watermark | String | - | set custom watermark text for ULTRA and ENTERPRISE plans |
watermarkSize | Integer | 16 |
set watermark text size [16 , 32 , 64 , 128 ] |
watermarkOpacity | Float | 1.0 |
set watermark text opacity (Min: 0.1 , Max: 1.0 ) |
If default values are the same, there is no need to include them in the request.
HTTP Response
Content-Type
image/png
, image/jpeg
, application/json
Parameter range
Override the existing type with an object for a more specific range request. The range from
should be within approximately 1,000 interval
bars from now.
Parameter | Type | Required | Description |
---|---|---|---|
from | DateTime (ISO8601) | Yes | datetime for the x-axis range from eg. 2023-01-01T00:00:00.000Z |
to | DateTime (ISO8601) | Yes | datetime for the x-axis range to eg. 2023-02-01T00:00:00.000Z |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
style | Object | - | override the default chart style |
priceRange | Object | - | override the visible y-axis price range |
showLegend | Boolean | true |
show chart legend eg. Tesla, Inc. · 5 · Cboe BZX · ... |
showMainPane | Boolean | true |
show main pane with the price chart |
showStudyLastValue | Boolean | true |
show study label last value |
showStudyPlotNamesAction | Boolean | false |
show study plot label eg. Histogram , MACD , Signal |
showSymbolLabelsAction | Boolean | false |
show chart price label with the symbol eg. BTCUSDT |
showSymbolWatermark | Boolean | false |
show symbol watermark eg. BTCUSDT, 1D Bitcoin / TetherUS |
showInvertScale | Boolean | false |
show inverted chart scale |
showInvertScaleStudies | Boolean | false |
show inverted indicator studies scale |
Parameter override.priceRange
Parameter | Type | Required | Description |
---|---|---|---|
from | Float | Yes | price for the y-axis range from eg. 75.12 |
to | Float | Yes | price for the y-axis range to eg. 99.99 |
Parameter studies[]
Parameter | Type | Required | Description |
---|---|---|---|
name | String | Yes | name of the study indicator |
forceOverlay | Boolean | No | if feasible, display the indicator on the main pane with the price chart |
input | Object | No | override the default indicator input values |
override | Object | No | override the default indicator styles |
Refer to the parameter limit for maximum number of objects per request.
Parameter drawings[]
Parameter | Type | Required | Description |
---|---|---|---|
name | String | Yes | name of the drawing |
input | Object | Yes | drawing input values |
override | Object | No | override the default drawing styles |
zOrder | String | No | if feasible, display the drawing in z-order |
Refer to the parameter limit for maximum number of objects per request.
Supported Timezone
Timezone | Country | UTC Offset |
---|---|---|
Africa/Cairo |
EG | UTC +02:00 |
Africa/Johannesburg |
ZA | UTC +02:00 |
Africa/Lagos |
NG | UTC +01:00 |
America/Argentina/Buenos_Aires |
AR | UTC -03:00 |
America/Bogota |
CO | UTC -05:00 |
America/Caracas |
VE | UTC -04:00 |
America/Chicago |
US | UTC -06:00 |
America/El_Salvador |
SV | UTC -06:00 |
America/Juneau |
US | UTC -09:00 |
America/Lima |
PE | UTC -05:00 |
America/Los_Angeles |
US | UTC -08:00 |
America/Mexico_City |
MX | UTC -06:00 |
America/New_York |
US | UTC -05:00 |
America/Phoenix |
US | UTC -07:00 |
America/Santiago |
CL | UTC -03:00 |
America/Sao_Paulo |
BR | UTC -03:00 |
America/Toronto |
CA | UTC -05:00 |
America/Vancouver |
CA | UTC -08:00 |
Asia/Almaty |
KZ | UTC +06:00 |
Asia/Ashkhabad |
TM | UTC +05:00 |
Asia/Bahrain |
BH | UTC +03:00 |
Asia/Bangkok |
TH | UTC +07:00 |
Asia/Chongqing |
CN | UTC +08:00 |
Asia/Dubai |
AE | UTC +04:00 |
Asia/Hong_Kong |
HK | UTC +08:00 |
Asia/Ho_Chi_Minh |
VN | UTC +07:00 |
Asia/Jakarta |
ID | UTC +07:00 |
Asia/Jerusalem |
IL | UTC +02:00 |
Asia/Karachi |
PK | UTC +05:00 |
Asia/Kathmandu |
NP | UTC +05:45 |
Asia/Kolkata |
IN | UTC +05:30 |
Asia/Kuwait |
KW | UTC +03:00 |
Asia/Manila |
PH | UTC +08:00 |
Asia/Muscat |
OM | UTC +04:00 |
Asia/Qatar |
QA | UTC +03:00 |
Asia/Riyadh |
SA | UTC +03:00 |
Asia/Seoul |
KR | UTC +09:00 |
Asia/Shanghai |
CN | UTC +08:00 |
Asia/Singapore |
SG | UTC +08:00 |
Asia/Taipei |
TW | UTC +08:00 |
Asia/Tehran |
IR | UTC +03:30 |
Asia/Tokyo |
JP | UTC +09:00 |
Atlantic/Reykjavik |
IS | UTC |
Australia/ACT |
AU | UTC +11:00 |
Australia/Adelaide |
AU | UTC +10:30 |
Australia/Brisbane |
AU | UTC +10:00 |
Australia/Perth |
AU | UTC +08:00 |
Australia/Sydney |
AU | UTC +11:00 |
Europe/Amsterdam |
NL | UTC +01:00 |
Europe/Athens |
GR | UTC +02:00 |
Europe/Belgrade |
RS | UTC +01:00 |
Europe/Berlin |
DE | UTC +01:00 |
Europe/Bratislava |
SK | UTC +01:00 |
Europe/Brussels |
BE | UTC +01:00 |
Europe/Bucharest |
RO | UTC +02:00 |
Europe/Budapest |
HU | UTC +01:00 |
Europe/Copenhagen |
DK | UTC +01:00 |
Europe/Dublin |
IE | UTC |
Europe/Helsinki |
FI | UTC +02:00 |
Europe/Istanbul |
TR | UTC +03:00 |
Europe/Lisbon |
PT | UTC |
Europe/London |
GB | UTC |
Europe/Luxembourg |
LU | UTC +01:00 |
Europe/Madrid |
ES | UTC +01:00 |
Europe/Malta |
MT | UTC +01:00 |
Europe/Moscow |
RU | UTC +03:00 |
Europe/Oslo |
NO | UTC +01:00 |
Europe/Paris |
FR | UTC +01:00 |
Europe/Riga |
LV | UTC +02:00 |
Europe/Rome |
IT | UTC +01:00 |
Europe/Stockholm |
SE | UTC +01:00 |
Europe/Tallinn |
EE | UTC +02:00 |
Europe/Vilnius |
LT | UTC +02:00 |
Europe/Warsaw |
PL | UTC +01:00 |
Europe/Zurich |
CH | UTC +01:00 |
Pacific/Auckland |
NZ | UTC +13:00 |
Pacific/Chatham |
NZ | UTC +13:45 |
Pacific/Fakaofo |
TK | UTC +13:00 |
Pacific/Honolulu |
US | UTC -10:00 |
Pacific/Norfolk |
NF | UTC +12:00 |
US/Mountain |
US | UTC -06:00 |
Advanced Chart To Storage
Response Example:
{
"url": "https://r2.chart-img.com/tradingview/advanced-chart/snapshot/lO1WGN3gNN5.png",
"etag": "cd38c92645664e5f08bf6d9f7cf6b19a",
"expire": "2023-03-28T02:37:01.412Z"
}
Request Example:
{
"symbol": "OTC:GBTC",
"theme": "dark",
"studies": [
{
"name": "Bollinger Bands"
},
{
"name": "Volume"
},
{
"name": "Relative Strength Index"
}
]
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/advanced-chart/storage \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"symbol\":\"OTC:GBTC\",\"theme\":\"dark\",\"studies\":[{\"name\":\"Bollinger Bands\"},{\"name\":\"Volume\"},{\"name\":\"Relative Strength Index\"}]}" \
-o chart-img-01.json
This endpoint saves TradingView advanced chart images to public storage and can be used to publish your chart to anyone worldwide.
HTTP Request
POST
/v2/tradingview/advanced-chart/storage
Request Header
Parameter | Type | Required | Description |
---|---|---|---|
x-api-key | String | Yes | authentication API access key |
tradingview-session-id | String | No | tradingview browser cookies value sessionid |
tradingview-session-id-sign | String | No | tradingview browser cookies value sessionid_sign |
To access your own subscription data, both tradingview-session-id
and tradingview-session-id-sign
values are required. Verify your values match with your current browser session to prevent session disconnect.
Request Body (Optional)
For reference, please read the request body of the Advanced Chart, as it is identical.
HTTP Response
Content-Type
application/json
Shared Layout
LAYOUT_ID is a unique identifier for a specific chart layout on TradingView. For example,
OKyFXMzN
in the URL is aLAYOUT_ID
.
The layout must be shared to capture a snapshot without
session-id
andsession-id-sign
.
Request Example:
{
"symbol": "OTC:GBTC"
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/layout-chart/37wLAGgd \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"symbol\":\"OTC:GBTC\"}" \
-o chart-img-01.png
This endpoint captures user-specific indicators, such as community and private scripts, using a shared layout. Depending on your TradingView subscription plan, you can have multiple layouts with different indicator setups.
HTTP Request
POST
/v2/tradingview/layout-chart/<LAYOUT_ID>
Request URL
Parameter | Type | Required | Description |
---|---|---|---|
LAYOUT_ID | String | Yes | tradingview shared/private layout ID |
Request Header
Parameter | Type | Required | Description |
---|---|---|---|
x-api-key | String | Yes | authentication API access key |
tradingview-session-id | String | No | tradingview browser cookies value sessionid |
tradingview-session-id-sign | String | No | tradingview browser cookies value sessionid_sign |
To access your private layout or invite-only indicators, both tradingview-session-id
and tradingview-session-id-sign
values are required. Verify your values match with your current browser session to prevent session disconnect.
Request Body (Optional)
The default values will be used to generate the chart if no request body is provided.
Content-Type
application/json
Parameter | Type | Default | Description |
---|---|---|---|
symbol | String | {LAYOUT_SYMBOL} |
override layout symbol |
interval | String | {LAYOUT_INTERVAL} |
override layout chart interval [1m , 3m , 5m , 15m , 30m , 45m , 1h , 2h , 3h , 4h , 6h , 12h , 1D , 1W , 1M , 3M , 6M , 1Y ] |
width | Integer | 800 |
set chart image width in pixels (Min: 400 ) |
height | Integer | 600 |
set chart image height in pixels (Min: 300 ) |
format | String | png |
set chart image format [png , jpeg ] |
resetZoom | Boolean | false |
override layout chart reset zoom in/out |
zoomIn | Integer | - | override layout chart zoom (Min: 1 , Max: 15 ) |
zoomOut | Integer | - | override layout chart zoom (Min: 1 , Max: 15 ) |
shiftLeft | Integer | - | override layout chart position to left (Min: 1 , Max: 1000 ) |
shiftRight | Integer | - | override layout chart position to right (Min: 1 , Max: 1000 ) |
watermark | String | - | set custom watermark text for ULTRA and ENTERPRISE plans |
watermarkSize | Integer | 16 |
set watermark text size [16 , 32 , 64 , 128 ] |
watermarkOpacity | Float | 1.0 |
set watermark text opacity (Min: 0.1 , Max: 1.0 ) |
If default values are the same, there is no need to include them in the request.
HTTP Response
Content-Type
image/png
, image/jpeg
, application/json
Shared Layout To Storage
LAYOUT_ID is a unique identifier for a specific chart layout on TradingView. For example,
OKyFXMzN
in the URL is aLAYOUT_ID
.
The layout must be shared to capture a snapshot without
session-id
andsession-id-sign
.Response Example:
{
"url": "https://r2.chart-img.com/tradingview/layout-chart/snapshot/y8j1X6vLlEz.png",
"etag": "029b9e02fc3ad2733b694a549eff6fb0",
"size": 75220,
"expire": "2023-05-27T15:17:30.786Z"
}
Request Example:
{
"symbol": "OTC:GBTC"
}
## For Windows, merge all lines into one by removing the backslashes
curl -X POST https://api.chart-img.com/v2/tradingview/layout-chart/storage/37wLAGgd \
-H "x-api-key: {YOUR_API_KEY}" \
-H "content-type: application/json" \
-d "{\"symbol\":\"OTC:GBTC\"}" \
-o chart-img-01.json
This endpoint saves captured layout to public storage and can be used to publish your chart to anyone worldwide.
HTTP Request
POST
/v2/tradingview/layout-chart/storage/<LAYOUT_ID>
Request URL
Parameter | Type | Required | Description |
---|---|---|---|
LAYOUT_ID | String | Yes | tradingview shared/private layout ID |
Request Header
Parameter | Type | Required | Description |
---|---|---|---|
x-api-key | String | Yes | authentication API access key |
tradingview-session-id | String | No | tradingview browser cookies value sessionid |
tradingview-session-id-sign | String | No | tradingview browser cookies value sessionid_sign |
To access your private layout or invite-only indicators, both tradingview-session-id
and tradingview-session-id-sign
values are required. Verify your values match with your current browser session to prevent session disconnect.
Request Body (Optional)
For reference, please read the request body of the Shared Layout, as it is identical.
HTTP Response
Content-Type
application/json
Response Body
Parameter | Type | Description |
---|---|---|
url | String | url of the public chart image |
size | Integer | size of the image in byte |
etag | String | image etag |
expire | String | when the image will be deleted |
TradingView Chart Styles
Bar
Request Example:
{
"style": "bar",
"theme": "dark",
"height": 300,
"override": {
"style": {
"barStyle.upColor": "rgb(8,153,129)",
"barStyle.downColor": "rgb(242,54,69)",
"barStyle.thinBars": true,
"barStyle.dontDrawOpen": false,
"barStyle.barColorsOnPrevClose": false
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
barStyle.upColor | Color | rgb(8,153,129) |
■ |
barStyle.downColor | Color | rgb(242,54,69) |
■ |
barStyle.thinBars | Boolean | true |
- |
barStyle.dontDrawOpen | Boolean | false |
- |
barStyle.barColorsOnPrevClose | Boolean | false |
- |
If default values are the same, there is no need to include them in the request.
Candle
Request Example:
{
"theme": "dark",
"height": 300,
"override": {
"style": {
"candleStyle.upColor": "rgb(8,153,129)",
"candleStyle.downColor": "rgb(242,54,69)",
"candleStyle.borderColor": "rgb(55,134,88)",
"candleStyle.borderUpColor": "rgb(8,153,129)",
"candleStyle.borderDownColor": "rgb(242,54,69)",
"candleStyle.wickColor": "rgb(115,115,117)",
"candleStyle.wickUpColor": "rgb(8,153,129)",
"candleStyle.wickDownColor": "rgb(242,54,69)",
"candleStyle.drawWick": true,
"candleStyle.drawBody": true,
"candleStyle.drawBorder": true,
"candleStyle.barColorsOnPrevClose": false
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
candleStyle.upColor | Color | rgb(8,153,129) |
■ |
candleStyle.downColor | Color | rgb(242,54,69) |
■ |
candleStyle.borderColor | Color | rgb(55,134,88) |
■ |
candleStyle.borderUpColor | Color | rgb(8,153,129) |
■ |
candleStyle.borderDownColor | Color | rgb(242,54,69) |
■ |
candleStyle.wickColor | Color | rgb(115,115,117) |
■ |
candleStyle.wickUpColor | Color | rgb(8,153,129) |
■ |
candleStyle.wickDownColor | Color | rgb(242,54,69) |
■ |
candleStyle.drawWick | Boolean | true |
- |
candleStyle.drawBody | Boolean | true |
- |
candleStyle.drawBorder | Boolean | true |
- |
candleStyle.barColorsOnPrevClose | Boolean | false |
- |
If default values are the same, there is no need to include them in the request.
Line
Request Example:
{
"style": "line",
"theme": "dark",
"height": 300,
"override": {
"style": {
"lineStyle.linestyle": 0,
"lineStyle.linewidth": 2,
"lineStyle.color": "rgb(41,98,255)",
"lineStyle.priceSource": "close"
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
lineStyle.linestyle | Integer | 0 |
(Min: 0 , Max: 2 ) |
lineStyle.linewidth | Integer | 2 |
(Min: 1 , Max: 10 ) |
lineStyle.color | Color | rgb(41,98,255) |
■ |
lineStyle.priceSource | String | close |
[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
If default values are the same, there is no need to include them in the request.
Area
Request Example:
{
"style": "area",
"theme": "dark",
"height": 300,
"override": {
"style": {
"areaStyle.linestyle": 0,
"areaStyle.linewidth": 2,
"areaStyle.linecolor": "rgb(41,98,255)",
"areaStyle.color1": "rgba(41,98,255,0.3)",
"areaStyle.color2": "rgba(41,98,255,0)",
"areaStyle.priceSource": "close"
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
areaStyle.linestyle | Integer | 0 |
(Min: 0 , Max: 2 ) |
areaStyle.linewidth | Integer | 2 |
(Min: 1 , Max: 10 ) |
areaStyle.linecolor | Color | rgb(41,98,255) |
■ |
areaStyle.color1 | Color | rgba(41,98,255,0.3) |
■ |
areaStyle.color2 | Color | rgba(41,98,255,0) |
■ |
areaStyle.priceSource | String | close |
[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
If default values are the same, there is no need to include them in the request.
Heikin Ashi
Request Example:
{
"style": "heikinAshi",
"theme": "dark",
"height": 300,
"override": {
"style": {
"haStyle.upColor": "rgb(8,153,129)",
"haStyle.downColor": "rgb(242,54,69)",
"haStyle.borderColor": "rgb(55,134,88)",
"haStyle.borderUpColor": "rgb(8,153,129)",
"haStyle.borderDownColor": "rgb(242,54,69)",
"haStyle.wickColor": "rgb(115,115,117)",
"haStyle.wickUpColor": "rgb(8,153,129)",
"haStyle.wickDownColor": "rgb(242,54,69)",
"haStyle.drawWick": true,
"haStyle.drawBorder": true,
"haStyle.drawBody": true,
"haStyle.barColorsOnPrevClose": false
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
haStyle.upColor | Color | rgb(8,153,129) |
■ |
haStyle.downColor | Color | rgb(242,54,69) |
■ |
haStyle.borderColor | Color | rgb(55,134,88) |
■ |
haStyle.borderUpColor | Color | rgb(8,153,129) |
■ |
haStyle.borderDownColor | Color | rgb(242,54,69) |
■ |
haStyle.wickColor | Color | rgb(115,115,117) |
■ |
haStyle.wickUpColor | Color | rgb(8,153,129) |
■ |
haStyle.wickDownColor | Color | rgb(242,54,69) |
■ |
haStyle.drawWick | Boolean | true |
- |
haStyle.drawBorder | Boolean | true |
- |
haStyle.drawBody | Boolean | true |
- |
haStyle.barColorsOnPrevClose | Boolean | false |
- |
If default values are the same, there is no need to include them in the request.
Hollow Candle
Request Example:
{
"style": "hollowCandle",
"theme": "dark",
"height": 300,
"override": {
"style": {
"hollowCandleStyle.upColor": "rgb(8,153,129)",
"hollowCandleStyle.downColor": "rgb(242,54,69)",
"hollowCandleStyle.borderColor": "rgb(55,134,88)",
"hollowCandleStyle.borderUpColor": "rgb(8,153,129)",
"hollowCandleStyle.borderDownColor": "rgb(242,54,69)",
"hollowCandleStyle.wickColor": "rgb(115,115,117)",
"hollowCandleStyle.wickUpColor": "rgb(8,153,129)",
"hollowCandleStyle.wickDownColor": "rgb(242,54,69)",
"hollowCandleStyle.drawWick": true,
"hollowCandleStyle.drawBorder": true,
"hollowCandleStyle.drawBody": true
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
hollowCandleStyle.upColor | Color | rgb(8,153,129) |
■ |
hollowCandleStyle.downColor | Color | rgb(242,54,69) |
■ |
hollowCandleStyle.borderColor | Color | rgb(55,134,88) |
■ |
hollowCandleStyle.borderUpColor | Color | rgb(8,153,129) |
■ |
hollowCandleStyle.borderDownColor | Color | rgb(242,54,69) |
■ |
hollowCandleStyle.wickColor | Color | rgb(115,115,117) |
■ |
hollowCandleStyle.wickUpColor | Color | rgb(8,153,129) |
■ |
hollowCandleStyle.wickDownColor | Color | rgb(242,54,69) |
■ |
hollowCandleStyle.drawWick | Boolean | true |
- |
hollowCandleStyle.drawBorder | Boolean | true |
- |
hollowCandleStyle.drawBody | Boolean | true |
- |
If default values are the same, there is no need to include them in the request.
Baseline
Request Example:
{
"style": "baseline",
"theme": "dark",
"height": 300,
"override": {
"style": {
"baselineStyle.topLineWidth": 2,
"baselineStyle.bottomLineWidth": 2,
"baselineStyle.baseLevelPercentage": 50,
"baselineStyle.transparency": 50,
"baselineStyle.baselineColor": "rgb(117,134,150)",
"baselineStyle.topLineColor": "rgb(8,153,129)",
"baselineStyle.topFillColor1": "rgba(8,153,129,0.3)",
"baselineStyle.topFillColor2": "rgba(8,153,129,0.1)",
"baselineStyle.bottomLineColor": "rgb(242,54,69)",
"baselineStyle.bottomFillColor1": "rgba(242,54,69,0.1)",
"baselineStyle.bottomFillColor2": "rgba(242,54,69,0.3)",
"baselineStyle.priceSource": "close"
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
baselineStyle.topLineWidth | Integer | 2 |
(Min: 1 , Max: 10 ) |
baselineStyle.bottomLineWidth | Integer | 2 |
(Min: 1 , Max: 10 ) |
baselineStyle.baseLevelPercentage | Integer | 50 |
(Min: 0 , Max: 100 ) |
baselineStyle.transparency | Integer | 50 |
(Min: 0 , Max: 100 ) |
baselineStyle.baselineColor | Color | rgb(117,134,150) |
■ |
baselineStyle.topLineColor | Color | rgb(8,153,129) |
■ |
baselineStyle.topFillColor1 | Color | rgba(8,153,129,0.3) |
■ |
baselineStyle.topFillColor2 | Color | rgba(8,153,129,0.1) |
■ |
baselineStyle.bottomLineColor | Color | rgb(242,54,69) |
■ |
baselineStyle.bottomFillColor1 | Color | rgba(242,54,69,0.1) |
■ |
baselineStyle.bottomFillColor2 | Color | rgba(242,54,69,0.3) |
■ |
baselineStyle.priceSource | String | close |
[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
If default values are the same, there is no need to include them in the request.
Hi-Lo
Request Example:
{
"style": "hiLo",
"theme": "dark",
"height": 300,
"override": {
"style": {
"hiloStyle.color": "rgb(41,98,255)",
"hiloStyle.borderColor": "rgb(41,98,255)"
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
hiloStyle.color | Color | rgb(41,98,255) |
■ |
hiloStyle.borderColor | Color | rgb(41,98,255) |
■ |
If default values are the same, there is no need to include them in the request.
Column
Request Examp
{
"style": "column",
"theme": "dark",
"height": 300,
"override": {
"style": {
"columnStyle.upColor": "rgba(8,153,129,0.5)",
"columnStyle.downColor": "rgba(242,54,69,0.5)",
"columnStyle.barColorsOnPrevClose": true,
"columnStyle.priceSource": "close"
}
}
}
Parameter style
Parameter | Type | Default | Description |
---|---|---|---|
columnStyle.upColor | Color | rgba(8,153,129,0.5) |
■ |
columnStyle.downColor | Color | rgba(242,54,69,0.5) |
■ |
columnStyle.barColorsOnPrevClose | Boolean | true |
- |
columnStyle.priceSource | String | close |
[open , high , low , close , hl2 , hlc3 , ohlc4 ] |
If default values are the same, there is no need to include them in the request.
TradingView Chart Indicators
Accumulation/Distribution
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Accumulation/Distribution",
"forceOverlay": false,
"override": {
"Plot.plottype": "line",
"Plot.linewidth": 1,
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Accumulative Swing Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Accumulative Swing Index",
"forceOverlay": false,
"input": {
"in_0": 10
},
"override": {
"ASI.plottype": "line",
"ASI.linewidth": 1,
"ASI.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Float | 10 |
limit move value (Min: 0.1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
ASI.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
ASI.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
ASI.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Advance/Decline
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Advance/Decline",
"forceOverlay": false,
"input": {
"in_0": 10
},
"override": {
"Plot.plottype": "line",
"Plot.linewidth": 1,
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Arnaud Legoux Moving Average
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Arnaud Legoux Moving Average",
"input": {
"in_0": 9,
"in_1": 0.85,
"in_2": 6
},
"override": {
"Plot.plottype": "line",
"Plot.linewidth": 1,
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
window size (Min: 0 , Max: 5000 ) |
in_1 | Float | 0.85 |
offset (Min: -100000 , Max: 100000 ) |
in_2 | Float | 6 |
sigma (Min: -100000 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Aroon
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Aroon",
"forceOverlay": false,
"input": {
"in_0": 14
},
"override": {
"Upper.visible": true,
"Upper.plottype": "line",
"Upper.linewidth": 1,
"Upper.color": "rgb(251,140,0)",
"Lower.visible": true,
"Lower.plottype": "line",
"Lower.linewidth": 1,
"Lower.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Upper.visible | Boolean | true |
- |
Upper.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Upper.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Upper.color | Color | rgb(251,140,0) |
■ |
Lower.visible | Boolean | true |
- |
Lower.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lower.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lower.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Average Directional Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Average Directional Index",
"forceOverlay": false,
"input": {
"in_0": 14,
"in_1": 14
},
"override": {
"ADX.plottype": "line",
"ADX.linewidth": 1,
"ADX.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
smoothing (Min: -100000 , Max: 100000 ) |
in_1 | Integer | 14 |
DI length (Min: -100000 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
ADX.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
ADX.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
ADX.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Average True Range
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Average True Range",
"forceOverlay": false,
"input": {
"in_0": 14
},
"override": {
"Plot.linewidth": 1,
"Plot.color": "rgb(128,25,34)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.color | Color | rgb(128,25,34) |
■ |
If default values are the same, there is no need to include them in the request.
Awesome Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Awesome Oscillator",
"forceOverlay": false,
"override": {
"Plot.plottype": "histogram",
"Plot.color.0": "rgb(242,54,69)",
"Plot.color.1": "rgb(8,153,129)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | histogram |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color.0 | Color | rgb(242,54,69) |
■ |
Plot.color.1 | Color | rgb(8,153,129) |
■ |
If default values are the same, there is no need to include them in the request.
Balance of Power
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Balance of Power",
"forceOverlay": false,
"override": {
"Plot.plottype": "line",
"Plot.color": "rgb(255,82,82)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Bollinger Bands
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Bollinger Bands",
"input": {
"in_0": 20,
"in_1": 2
},
"override": {
"Median.visible": true,
"Median.plottype": "line",
"Median.color": "rgb(255,109,0)",
"Upper.visible": true,
"Upper.plottype": "line",
"Upper.color": "rgb(33,150,243)",
"Lower.visible": true,
"Lower.plottype": "line",
"Lower.color": "rgb(33,150,243)",
"Plots Background.visible": true,
"Plots Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 10000 ) |
in_1 | Float | 2 |
mult (Min: 0.001 , Max: 50 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Median.visible | Boolean | true |
- |
Median.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Median.color | Color | rgb(255,109,0) |
■ |
Upper.visible | Boolean | true |
- |
Upper.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Upper.color | Color | rgb(33,150,243) |
■ |
Lower.visible | Boolean | true |
- |
Lower.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lower.color | Color | rgb(33,150,243) |
■ |
Plots Background.visible | Boolean | true |
- |
Plots Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Bollinger Bands %B
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Bollinger Bands %B",
"forceOverlay": false,
"input": {
"in_0": 20,
"in_1": 2
},
"override": {
"Plot.visible": true,
"Plot.plottype": "line",
"Plot.color": "rgb(34,171,148)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 1,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 0,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(38,166,154,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 10000 ) |
in_1 | Float | 2 |
mult (Min: 0.001 , Max: 50 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(34,171,148) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 1 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(38,166,154,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Bollinger Bands Width
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Bollinger Bands Width",
"forceOverlay": false,
"input": {
"in_0": 20,
"in_1": 2
},
"override": {
"Plot.plottype": "line",
"Plot.color": "rgb(255,109,0)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 10000 ) |
in_1 | Float | 2 |
mult (Min: 0.001 , Max: 50 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,109,0) |
■ |
If default values are the same, there is no need to include them in the request.
Chaikin Money Flow
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Chaikin Money Flow",
"forceOverlay": false,
"input": {
"in_0": 20
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(67,160,71)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.color": "rgb(120,123,134)",
"Zero.value": 0
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(67,160,71) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
Zero.value | Integer | 0 |
(Min: -1000000 , Max: 1000000 ) |
If default values are the same, there is no need to include them in the request.
Chaikin Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Chaikin Oscillator",
"forceOverlay": false,
"input": {
"in_0": 3,
"in_1": 10
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(67,160,71)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.color": "rgb(120,123,134)",
"Zero.value": 0
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 3 |
short (Min: 1 , Max: 2000 ) |
in_1 | Integer | 10 |
long (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(236,64,122) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
Zero.value | Integer | 0 |
(Min: -1000000 , Max: 1000000 ) |
If default values are the same, there is no need to include them in the request.
Chaikin Volatility
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Chaikin Volatility",
"forceOverlay": false,
"input": {
"periods": 10,
"rocLookback": 10
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(236,64,122)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.color": "rgb(120,123,134)",
"Zero.value": 0
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
periods (Min: 1 , Max: 2000 ) |
rocLookback | Integer | 10 |
rate of change lookback (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(236,64,122) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
Zero.value | Integer | 0 |
(Min: -1000000 , Max: 1000000 ) |
If default values are the same, there is no need to include them in the request.
Chande Kroll Stop
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Chande Kroll Stop",
"input": {
"in_0": 10,
"in_1": 1,
"in_2": 9
},
"override": {
"Long.visible": true,
"Long.linewidth": 1,
"Long.plottype": "line",
"Long.color": "rgb(33,150,243)",
"Short.visible": true,
"Short.linewidth": 1,
"Short.plottype": "line",
"Short.color": "rgb(255,109,0)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
p (Min: 1 , Max: 4999 ) |
in_1 | Integer | 1 |
x (Min: 1 , Max: 1000000 ) |
in_2 | Integer | 9 |
q (Min: 1 , Max: 1000000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Long.visible | Boolean | true |
- |
Long.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Long.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Long.color | Color | rgb(33,150,243) |
■ |
Short.visible | Boolean | true |
- |
Short.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Short.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Short.color | Color | rgb(255,109,0) |
■ |
If default values are the same, there is no need to include them in the request.
Chande Momentum Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Chande Momentum Oscillator",
"forceOverlay": false,
"input": {
"in_0": 9
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Chop Zone
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Chop Zone",
"forceOverlay": false,
"override": {
"Plot.plottype": "columns",
"Plot.color.0": "rgb(38,198,218)",
"Plot.color.1": "rgb(67,160,71)",
"Plot.color.2": "rgb(165,214,167)",
"Plot.color.3": "rgb(8,153,129)",
"Plot.color.4": "rgb(213,0,0)",
"Plot.color.5": "rgb(233,30,99)",
"Plot.color.6": "rgb(255,109,0)",
"Plot.color.7": "rgb(255,183,77)",
"Plot.color.8": "rgb(253,216,53)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.plottype | String | column |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color.0 | Color | rgb(38,198,218) |
■ |
Plot.color.1 | Color | rgb(67,160,71) |
■ |
Plot.color.2 | Color | rgb(165,214,167) |
■ |
Plot.color.3 | Color | rgb(8,153,129) |
■ |
Plot.color.4 | Color | rgb(213,0,0) |
■ |
Plot.color.5 | Color | rgb(233,30,99) |
■ |
Plot.color.6 | Color | rgb(255,109,0) |
■ |
Plot.color.7 | Color | rgb(255,183,77) |
■ |
Plot.color.8 | Color | rgb(253,216,53) |
■ |
If default values are the same, there is no need to include them in the request.
Choppiness Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Choppiness Index",
"forceOverlay": false,
"input": {
"in_0": 14
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 61.8,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 38.2,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
length (Min: 1 , Max: 1000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 61.8 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 38.2 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Commodity Channel Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Commodity Channel Index",
"forceOverlay": false,
"input": {
"in_0": 20,
"smoothingLine": "SMA",
"smoothingLength": 20
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 100,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": -100,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 2000 ) |
smoothingLine | String | SMA |
smoothing line [SMA , EMA , WMA ] |
smoothingLength | Integer | 20 |
smoothing length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 100 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | -100 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Connors RSI
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Connors RSI",
"forceOverlay": false,
"input": {
"in_0": 3,
"in_1": 2,
"in_2": 100
},
"override": {
"CRSI.visible": true,
"CRSI.linewidth": 1,
"CRSI.plottype": "line",
"CRSI.color": "rgb(33,150,243)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 70,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 30,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 3 |
RSI length (Min: 1 , Max: 10000 ) |
in_1 | Integer | 2 |
up/down length (Min: 1 , Max: 10000 ) |
in_2 | Integer | 100 |
ROC length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
CRSI.visible | Boolean | true |
- |
CRSI.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
CRSI.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
CRSI.color | Color | rgb(33,150,243) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 70 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 30 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Coppock Curve
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Coppock Curve",
"forceOverlay": false,
"input": {
"in_0": 10,
"in_1": 14,
"in_2": 11
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
WMA length (Min: -10000 , Max: 5000 ) |
in_1 | Integer | 14 |
long ROC ength (Min: 1 , Max: 4999 ) |
in_2 | Integer | 11 |
short ROC length (Min: 1 , Max: 4999 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Detrended Price Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Detrended Price Oscillator",
"forceOverlay": false,
"input": {
"in_0": 21,
"in_1": false
},
"override": {
"DPO.visible": true,
"DPO.linewidth": 1,
"DPO.plottype": "line",
"DPO.color": "rgb(67,160,71)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.value": 0,
"Zero.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 21 |
period (Min: 1 , Max: 100000 ) |
in_1 | Boolean | false |
is centered |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
DPO.visible | Boolean | true |
- |
DPO.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
DPO.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
DPO.color | Color | rgb(67,160,71) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Directional Movement
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Directional Movement",
"forceOverlay": false,
"input": {
"in_0": 14,
"in_1": 14
},
"override": {
"+DI.visible": true,
"+DI.linewidth": 1,
"+DI.plottype": "line",
"+DI.color": "rgb(33,150,243)",
"-DI.visible": true,
"-DI.linewidth": 1,
"-DI.plottype": "line",
"-DI.color": "rgb(255,109,0)",
"DX.visible": true,
"DX.linewidth": 1,
"DX.plottype": "line",
"DX.color": "rgb(255,167,38)",
"ADX.visible": true,
"ADX.linewidth": 1,
"ADX.plottype": "line",
"ADX.color": "rgb(245,0,87)",
"ADXR.visible": true,
"ADXR.linewidth": 1,
"ADXR.plottype": "line",
"ADXR.color": "rgb(171,71,188)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
DI length (Min: 1 , Max: 2000 ) |
in_1 | Integer | 14 |
ADX smoothing (Min: 1 , Max: 50 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
+DI.visible | Boolean | true |
- |
+DI.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
+DI.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
+DI.color | Color | rgb(33,150,243) |
■ |
-DI.visible | Boolean | true |
- |
-DI.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
-DI.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
-DI.color | Color | rgb(245,0,87) |
■ |
DX.visible | Boolean | true |
- |
DX.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
DX.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
DX.color | Color | rgb(255,167,38) |
■ |
ADX.visible | Boolean | true |
- |
ADX.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
ADX.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
ADX.color | Color | rgb(245,0,87) |
■ |
ADXR.visible | Boolean | true |
- |
ADXR.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
ADXR.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
ADXR.color | Color | rgb(171,71,188) |
■ |
If default values are the same, there is no need to include them in the request.
Donchian Channels
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Donchian Channels",
"input": {
"in_0": 20
},
"override": {
"Lower.visible": true,
"Lower.linewidth": 1,
"Lower.plottype": "line",
"Lower.color": "rgb(33,150,243)",
"Upper.visible": true,
"Upper.linewidth": 1,
"Upper.plottype": "line",
"Upper.color": "rgb(33,150,243)",
"Basis.visible": true,
"Basis.linewidth": 1,
"Basis.plottype": "line",
"Basis.color": "rgb(255,109,0)",
"Plots Background.visible": true,
"Plots Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Lower.visible | Boolean | true |
- |
Lower.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lower.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lower.color | Color | rgb(33,150,243) |
■ |
Upper.visible | Boolean | true |
- |
Upper.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Upper.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Upper.color | Color | rgb(33,150,243) |
■ |
Basis.visible | Boolean | true |
- |
Basis.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Basis.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Basis.color | Color | rgb(255,109,0) |
■ |
Plots Background.visible | Boolean | true |
- |
Plots Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Double EMA
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Double EMA",
"input": {
"in_0": 9
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(67,160,71)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(67,160,71) |
■ |
If default values are the same, there is no need to include them in the request.
Ease of Movement
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Ease of Movement",
"forceOverlay": false,
"input": {
"in_0": 10000,
"in_1": 14
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(67,160,71)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10000 |
divisor (Min: 1 , Max: 1000000000 ) |
in_1 | Integer | 14 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(67,160,71) |
■ |
If default values are the same, there is no need to include them in the request.
Elder's Force Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Elder's Force Index",
"forceOverlay": false,
"input": {
"in_0": 13
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(242,54,69)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.value": 0,
"Zero.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 13 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(242,54,69) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Envelopes
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Envelopes",
"input": {
"in_0": 20,
"in_1": 2,
"in_2": 2,
"in_3": "Simple",
"in_4": "close"
},
"override": {
"Average.visible": true,
"Average.linewidth": 1,
"Average.plottype": "line",
"Average.color": "rgb(255,109,0)",
"Upper.visible": true,
"Upper.linewidth": 1,
"Upper.plottype": "line",
"Upper.color": "rgb(33,150,243)",
"Lower.visible": true,
"Lower.linewidth": 1,
"Lower.plottype": "line",
"Lower.color": "rgb(33,150,243)",
"Plots Background.visible": true,
"Plots Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 2000 ) |
in_1 | Float | 2 |
upper percentage (Min: 1 , Max: 2000 ) |
in_2 | Float | 2 |
lower percentage (Min: 1 , Max: 2000 ) |
in_3 | String | Simple |
method [Simple , Exponential , Weighted ] |
in_4 | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Average.visible | Boolean | true |
- |
Average.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Average.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Average.color | Color | rgb(255,109,0) |
■ |
Upper.visible | Boolean | true |
- |
Upper.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Upper.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Upper.color | Color | rgb(33,150,243) |
■ |
Lower.visible | Boolean | true |
- |
Lower.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lower.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lower.color | Color | rgb(33,150,243) |
■ |
Plots Background.visible | Boolean | true |
- |
Plots Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Fisher Transform
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Fisher Transform",
"forceOverlay": false,
"input": {
"in_0": 9
},
"override": {
"Fisher.visible": true,
"Fisher.linewidth": 1,
"Fisher.plottype": "line",
"Fisher.color": "rgb(33,150,243)",
"Trigger.visible": true,
"Trigger.linewidth": 1,
"Trigger.plottype": "line",
"Trigger.color": "rgb(255,109,0)",
"Level0.visible": true,
"Level0.linestyle": 2,
"Level0.linewidth": 1,
"Level0.value": 1.5,
"Level0.color": "rgb(233,30,99)",
"Level1.visible": true,
"Level1.linestyle": 2,
"Level1.linewidth": 1,
"Level1.value": 0.75,
"Level1.color": "rgb(120,123,134)",
"Level2.visible": true,
"Level2.linestyle": 2,
"Level2.linewidth": 1,
"Level2.value": 0,
"Level2.color": "rgb(233,30,99)",
"Level3.visible": true,
"Level3.linestyle": 2,
"Level3.linewidth": 1,
"Level3.value": -0.75,
"Level3.color": "rgb(120,123,134)",
"Level4.visible": true,
"Level4.linestyle": 2,
"Level4.linewidth": 1,
"Level4.value": -1.5,
"Level4.color": "rgb(233,30,99)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Fisher.visible | Boolean | true |
- |
Fisher.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Fisher.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Fisher.color | Color | rgb(33,150,243) |
■ |
Trigger.visible | Boolean | true |
- |
Trigger.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Trigger.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Trigger.color | Color | rgb(255,109,0) |
■ |
Level0.visible | Boolean | true |
- |
Level0.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Level0.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Level0.value | Float | 1.5 |
(Min: -1000000 , Max: 1000000 ) |
Level0.color | Color | rgb(233,30,99) |
■ |
Level1.visible | Boolean | true |
- |
Level1.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Level1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Level1.value | Float | 0.75 |
(Min: -1000000 , Max: 1000000 ) |
Level1.color | Color | rgb(120,123,134) |
■ |
Level2.visible | Boolean | true |
- |
Level2.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Level2.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Level2.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Level2.color | Color | rgb(233,30,99) |
■ |
Level3.visible | Boolean | true |
- |
Level3.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Level3.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Level3.value | Float | -0.75 |
(Min: -1000000 , Max: 1000000 ) |
Level3.color | Color | rgb(120,123,134) |
■ |
Level4.visible | Boolean | true |
- |
Level4.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Level4.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Level4.value | Float | -1.5 |
(Min: -1000000 , Max: 1000000 ) |
Level4.color | Color | rgb(233,30,99) |
■ |
If default values are the same, there is no need to include them in the request.
Historical Volatility
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Historical Volatility",
"forceOverlay": false,
"input": {
"in_0": 10
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Hull Moving Average
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Hull Moving Average",
"input": {
"in_0": 9
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Ichimoku Cloud
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Ichimoku Cloud",
"input": {
"in_0": 9,
"in_1": 26,
"in_2": 52,
"in_3": 26
},
"override": {
"ConversionLine.visible": true,
"ConversionLine.linewidth": 1,
"ConversionLine.plottype": "line",
"ConversionLine.color": "rgb(33,150,243)",
"BaseLine.visible": true,
"BaseLine.linewidth": 1,
"BaseLine.plottype": "line",
"BaseLine.color": "rgb(128,25,34)",
"LaggingSpan.visible": true,
"LaggingSpan.linewidth": 1,
"LaggingSpan.plottype": "line",
"LaggingSpan.color": "rgb(67,160,71)",
"LeadingSpanA.visible": true,
"LeadingSpanA.linewidth": 1,
"LeadingSpanA.plottype": "line",
"LeadingSpanA.color": "rgb(165,214,167)",
"LeadingSpanB.visible": true,
"LeadingSpanB.linewidth": 1,
"LeadingSpanB.plottype": "line",
"LeadingSpanB.color": "rgb(250,161,164)",
"Plots Background.visible": true,
"Plots Background.transparency": 90
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
conversion line periods (Min: 1 , Max: 100000 ) |
in_1 | Integer | 26 |
base line periods (Min: 1 , Max: 100000 ) |
in_2 | Integer | 52 |
leading span B (Min: 1 , Max: 100000 ) |
in_3 | Integer | 26 |
lagging span (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
ConversionLine.visible | Boolean | true |
- |
ConversionLine.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
ConversionLine.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
ConversionLine.color | Color | rgb(33,150,243) |
■ |
BaseLine.visible | Boolean | true |
- |
BaseLine.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
BaseLine.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
BaseLine.color | Color | rgb(128,25,34) |
■ |
LaggingSpan.visible | Boolean | true |
- |
LaggingSpan.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LaggingSpan.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
LaggingSpan.color | Color | rgb(67,160,71) |
■ |
LeadingSpanA.visible | Boolean | true |
- |
LeadingSpanA.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LeadingSpanA.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
LeadingSpanA.color | Color | rgb(165,214,167) |
■ |
LeadingSpanB.visible | Boolean | true |
- |
LeadingSpanB.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LeadingSpanB.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
LeadingSpanB.color | Color | rgb(250,161,164) |
■ |
Plots Background.visible | Boolean | true |
- |
Plots Background.transparency | Integer | 90 |
plots background opacity (Min: 0 , Max: 100 ) |
If default values are the same, there is no need to include them in the request.
Keltner Channels
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Keltner Channels",
"input": {
"in_0": true,
"in_1": 20,
"in_2": 1
},
"override": {
"Upper.visible": true,
"Upper.linewidth": 1,
"Upper.plottype": "line",
"Upper.color": "rgb(33,150,243)",
"Middle.visible": true,
"Middle.linewidth": 1,
"Middle.plottype": "line",
"Middle.color": "rgb(33,150,243)",
"Lower.visible": true,
"Lower.linewidth": 1,
"Lower.plottype": "line",
"Lower.color": "rgb(33,150,243)",
"Plots Background.visible": true,
"Plots Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Boolean | true |
use true range |
in_1 | Integer | 20 |
length (Min: 1 , Max: 2000 ) |
in_2 | Integer | 1 |
mult (Min: -100000 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Upper.visible | Boolean | true |
- |
Upper.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Upper.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Upper.color | Color | rgb(33,150,243) |
■ |
Middle.visible | Boolean | true |
- |
Middle.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Middle.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Middle.color | Color | rgb(33,150,243) |
■ |
Lower.visible | Boolean | true |
- |
Lower.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lower.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lower.color | Color | rgb(33,150,243) |
■ |
Plots Background.visible | Boolean | true |
- |
Plots Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Klinger Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Klinger Oscillator",
"forceOverlay": false,
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)",
"Signal.visible": true,
"Signal.linewidth": 1,
"Signal.plottype": "line",
"Signal.color": "rgb(67,160,71)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
Signal.visible | Boolean | true |
- |
Signal.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Signal.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Signal.color | Color | rgb(67,160,71) |
■ |
If default values are the same, there is no need to include them in the request.
Know Sure Thing
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Know Sure Thing",
"forceOverlay": false,
"input": {
"in_0": 10,
"in_1": 15,
"in_2": 20,
"in_3": 30,
"in_4": 10,
"in_5": 10,
"in_6": 10,
"in_7": 15,
"in_8": 9
},
"override": {
"KST.visible": true,
"KST.linewidth": 1,
"KST.plottype": "line",
"KST.color": "rgb(8,153,129)",
"Signal.visible": true,
"Signal.linewidth": 1,
"Signal.plottype": "line",
"Signal.color": "rgb(242,54,69)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.value": 0,
"Zero.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
roclen1 (Min: 1 , Max: 2000 ) |
in_1 | Integer | 15 |
roclen2 (Min: 1 , Max: 2000 ) |
in_2 | Integer | 20 |
roclen3 (Min: 1 , Max: 2000 ) |
in_3 | Integer | 30 |
roclen4 (Min: 1 , Max: 2000 ) |
in_4 | Integer | 10 |
smalen1 (Min: 1 , Max: 2000 ) |
in_5 | Integer | 10 |
smalen2 (Min: 1 , Max: 2000 ) |
in_6 | Integer | 10 |
smalen3 (Min: 1 , Max: 2000 ) |
in_7 | Integer | 15 |
smalen4 (Min: 1 , Max: 2000 ) |
in_8 | Integer | 9 |
siglen (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
KST.visible | Boolean | true |
- |
KST.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
KST.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
KST.color | Color | rgb(8,153,129) |
■ |
Signal.visible | Boolean | true |
- |
Signal.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Signal.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Signal.color | Color | rgb(242,54,69) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Least Squares Moving Average
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Least Squares Moving Average",
"input": {
"in_0": 25,
"in_1": 0
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 25 |
length (Min: 1 , Max: 100000 ) |
in_1 | Integer | 0 |
offset (Min: -100000 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Linear Regression Curve
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Linear Regression Curve",
"input": {
"in_0": 9
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Linear Regression Slope
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Linear Regression Slope",
"forceOverlay": false,
"input": {
"periods": 14
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 14 |
length (Min: 2 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
MA Cross
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "MA Cross",
"input": {
"in_0": 9,
"in_1": 26
},
"override": {
"PlotShort.visible": true,
"PlotShort.linewidth": 1,
"PlotShort.plottype": "line",
"PlotShort.color": "rgb(67,160,71)",
"PlotLong.visible": true,
"PlotLong.linewidth": 1,
"PlotLong.plottype": "line",
"PlotLong.color": "rgb(255,109,0)",
"PlotCrosses.visible": true,
"PlotCrosses.linewidth": 4,
"PlotCrosses.plottype": "cross",
"PlotCrosses.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
short (Min: 1 , Max: 2000 ) |
in_1 | Integer | 26 |
long (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
PlotShort.visible | Boolean | true |
- |
PlotShort.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
PlotShort.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
PlotShort.color | Color | rgb(67,160,71) |
■ |
PlotLong.visible | Boolean | true |
- |
PlotLong.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
PlotLong.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
PlotLong.color | Color | rgb(255,109,0) |
■ |
PlotCrosses.visible | Boolean | true |
- |
PlotCrosses.linewidth | Integer | 4 |
(Min: 1 , Max: 10 ) |
PlotCrosses.plottype | String | cross |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
PlotCrosses.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
MA with EMA Cross
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "MA with EMA Cross",
"input": {
"in_0": 10,
"in_1": 10
},
"override": {
"MA.visible": true,
"MA.linewidth": 1,
"MA.plottype": "line",
"MA.color": "rgb(255,109,0)",
"EMA.visible": true,
"EMA.linewidth": 1,
"EMA.plottype": "line",
"EMA.color": "rgb(67,160,71)",
"Crosses.visible": true,
"Crosses.linewidth": 4,
"Crosses.plottype": "cross",
"Crosses.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
MA length (Min: 1 , Max: 2000 ) |
in_1 | Integer | 10 |
EMA length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
MA.visible | Boolean | true |
- |
MA.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
MA.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
MA.color | Color | rgb(255,109,0) |
■ |
EMA.visible | Boolean | true |
- |
EMA.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
EMA.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
EMA.color | Color | rgb(67,160,71) |
■ |
Crosses.visible | Boolean | true |
- |
Crosses.linewidth | Integer | 4 |
(Min: 1 , Max: 10 ) |
Crosses.plottype | String | cross |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Crosses.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
MACD
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "MACD",
"forceOverlay": false,
"input": {
"in_0": 12,
"in_1": 26,
"in_2": 9,
"in_3": "close"
},
"override": {
"Histogram.visible": true,
"Histogram.plottype": "columns",
"Histogram.color.0": "rgb(34,171,148)",
"Histogram.color.1": "rgb(172,229,220)",
"Histogram.color.2": "rgb(252,203,205)",
"Histogram.color.3": "rgb(255,82,82)",
"MACD.visible": true,
"MACD.linewidth": 1,
"MACD.plottype": "line",
"MACD.color": "rgb(33,150,243)",
"Signal.visible": true,
"Signal.linewidth": 1,
"Signal.plottype": "line",
"Signal.color": "rgb(255,109,0)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 12 |
fast length (Min: 1 , Max: 2000 ) |
in_1 | Integer | 26 |
slow length (Min: 1 , Max: 2000 ) |
in_2 | Integer | 9 |
signal length (Min: 1 , Max: 50 ) |
in_3 | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Histogram.visible | Boolean | true |
- |
Histogram.plottype | String | column |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Histogram.color.0 | Color | rgb(34,171,148) |
■ |
Histogram.color.1 | Color | rgb(172,229,220) |
■ |
Histogram.color.2 | Color | rgb(252,203,205) |
■ |
Histogram.color.3 | Color | rgb(255,82,82) |
■ |
MACD.visible | Boolean | true |
- |
MACD.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
MACD.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
MACD.color | Color | rgb(33,150,243) |
■ |
Signal.visible | Boolean | true |
- |
Signal.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Signal.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Signal.color | Color | rgb(255,109,0) |
■ |
If default values are the same, there is no need to include them in the request.
Majority Rule
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Majority Rule",
"forceOverlay": false,
"input": {
"rollingPeriod": 14
},
"override": {
"Majority Rule.linewidth": 1,
"Majority Rule.plottype": "line",
"Majority Rule.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
rollingPeriod | Integer | 14 |
rolling period (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Majority Rule.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Majority Rule.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Majority Rule.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Mass Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Mass Index",
"forceOverlay": false,
"input": {
"in_0": 10
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
McGinley Dynamic
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "McGinley Dynamic",
"input": {
"in_0": 10
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Momentum
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Momentum",
"forceOverlay": false,
"input": {
"in_0": 10,
"in_1": "close"
},
"override": {
"Mom.linewidth": 1,
"Mom.plottype": "line",
"Mom.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 1000 ) |
in_1 | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Mom.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Mom.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Mom.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Money Flow Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Money Flow Index",
"forceOverlay": false,
"input": {
"in_0": 14
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(126,87,194)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 80,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 20,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(126,87,194,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(126,87,194) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 80 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 80 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgb(126,87,194) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average",
"input": {
"length": 9,
"source": "close",
"offset": 0,
"smoothingLine": "SMA",
"smoothingLength": 9
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)",
"Smoothed MA.visible": false,
"Smoothed MA.linewidth": 1,
"Smoothed MA.plottype": "line",
"Smoothed MA.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
length | Integer | 9 |
length (Min: 1 , Max: 10000 ) |
source | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
offset | Integer | 0 |
offset (Min: -10000 , Max: 10000 ) |
smoothingLine | String | SMA |
smoothing line [SMA , EMA , WMA ] |
smoothingLength | Integer | 9 |
smoothing length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
Smoothed MA.visible | Boolean | true |
- |
Smoothed MA.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Smoothed MA.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Smoothed MA.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Adaptive
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Adaptive",
"input": {
"periods": 10
},
"override": {
"Plot 1.linewidth": 1,
"Plot 1.plottype": "line",
"Plot 1.color": "rgb(171,71,188)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
periods (Min: 2 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot 1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 1.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 1.color | Color | rgb(171,71,188) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Channel
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Channel",
"input": {
"in_0": 20,
"in_1": 20,
"in_2": 0,
"in_3": 0
},
"override": {
"Upper.visible": true,
"Upper.linewidth": 1,
"Upper.plottype": "line",
"Upper.color": "rgb(33,150,243)",
"Lower.visible": true,
"Lower.linewidth": 1,
"Lower.plottype": "line",
"Lower.color": "rgb(255,109,0)",
"Plots Background.visible": true,
"Plots Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
upper length (Min: 1 , Max: 10000 ) |
in_1 | Integer | 20 |
lower length (Min: 1 , Max: 10000 ) |
in_2 | Integer | 0 |
upper offset (Min: -10000 , Max: 10000 ) |
in_3 | Integer | 0 |
lower offset (Min: -10000 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Upper.visible | Boolean | true |
- |
Upper.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Upper.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Upper.color | Color | rgb(33,150,243) |
■ |
Lower.visible | Boolean | true |
- |
Lower.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lower.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lower.color | Color | rgb(255,109,0) |
■ |
Plots Background.visible | Boolean | true |
- |
Plots Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Double
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Double",
"input": {
"firstPeriods": 14,
"secondPeriods": 21,
"method": "Simple"
},
"override": {
"Plot 1.linewidth": 1,
"Plot 1.plottype": "line",
"Plot 1.color": "rgb(255,109,0)",
"Plot 2.linewidth": 1,
"Plot 2.plottype": "line",
"Plot 2.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
firstPeriods | Integer | 14 |
1st period (Min: 1 , Max: 10000 ) |
secondPeriods | Integer | 21 |
period2nd period (Min: 1 , Max: 10000 ) |
method | String | Simple |
method [Simple , Exponential , Weighted ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot 1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 1.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 1.color | Color | rgb(255,109,0) |
■ |
Plot 2.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 2.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 2.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Exponential
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Exponential",
"input": {
"length": 9,
"source": "close",
"offset": 0,
"smoothingLine": "SMA",
"smoothingLength": 9
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
length | Integer | 9 |
length (Min: 1 , Max: 10000 ) |
source | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
offset | Integer | 0 |
offset (Min: -10000 , Max: 10000 ) |
smoothingLine | String | SMA |
smoothing line [SMA , EMA , WMA ] |
smoothingLength | Integer | 9 |
smoothing length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Hamming
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Hamming",
"input": {
"periods": 10
},
"override": {
"Plot 1.linewidth": 1,
"Plot 1.plottype": "line",
"Plot 1.color": "rgb(76,175,80)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
Period (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot 1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 1.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 1.color | Color | rgb(76,175,80) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Multiple
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Multiple",
"input": {
"firstPeriods": 14,
"secondPeriods": 21,
"thirdPeriods": 35,
"fourthPeriods": 50,
"fifthPeriods": 100,
"sixthPeriods": 200,
"method": "Simple"
},
"override": {
"Plot 1.linewidth": 1,
"Plot 1.plottype": "line",
"Plot 1.color": "rgb(156,39,176)",
"Plot 2.linewidth": 1,
"Plot 2.plottype": "line",
"Plot 2.color": "rgb(255,109,0)",
"Plot 3.linewidth": 1,
"Plot 3.plottype": "line",
"Plot 3.color": "rgb(67,160,71)",
"Plot 4.linewidth": 1,
"Plot 4.plottype": "line",
"Plot 4.color": "rgb(38,198,218)",
"Plot 5.linewidth": 1,
"Plot 5.plottype": "line",
"Plot 5.color": "rgb(245,0,87)",
"Plot 6.linewidth": 1,
"Plot 6.plottype": "line",
"Plot 6.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
firstPeriods | Integer | 14 |
1st period (Min: 1 , Max: 10000 ) |
secondPeriods | Integer | 21 |
2nd Period (Min: 1 , Max: 10000 ) |
thirdPeriods | Integer | 35 |
3rd Period (Min: 1 , Max: 10000 ) |
fourthPeriods | Integer | 50 |
4th Period (Min: 1 , Max: 10000 ) |
fifthPeriods | Integer | 100 |
5th Period (Min: 1 , Max: 10000 ) |
sixthPeriods | Integer | 200 |
6th Period (Min: 1 , Max: 10000 ) |
method | String | Simple |
method [Simple , Exponential , Weighted ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot 1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 1.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 1.color | Color | rgb(156,39,176) |
■ |
Plot 2.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 2.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 2.color | Color | rgb(255,109,0) |
■ |
Plot 3.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 3.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 3.color | Color | rgb(67,160,71) |
■ |
Plot 4.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 4.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 4.color | Color | rgb(38,198,218) |
■ |
Plot 5.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 5.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 5.color | Color | rgb(245,0,87) |
■ |
Plot 6.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 6.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 6.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Triple
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Triple",
"input": {
"firstPeriods": 14,
"secondPeriods": 21,
"thirdPeriods": 35,
"method": "Simple"
},
"override": {
"Plot 1.linewidth": 1,
"Plot 1.plottype": "line",
"Plot 1.color": "rgb(255,109,0)",
"Plot 2.linewidth": 1,
"Plot 2.plottype": "line",
"Plot 2.color": "rgb(33,150,243)",
"Plot 3.linewidth": 1,
"Plot 3.plottype": "line",
"Plot 3.color": "rgb(38,198,218)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
firstPeriods | Integer | 14 |
1st period (Min: 1 , Max: 10000 ) |
secondPeriods | Integer | 21 |
2nd Period (Min: 1 , Max: 10000 ) |
thirdPeriods | Integer | 35 |
3rd Period (Min: 1 , Max: 10000 ) |
method | String | Simple |
method [Simple , Exponential , Weighted ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot 1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 1.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 1.color | Color | rgb(255,109,0) |
■ |
Plot 2.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 2.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 2.color | Color | rgb(33,150,243) |
■ |
Plot 3.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 3.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 3.color | Color | rgb(38,198,218) |
■ |
If default values are the same, there is no need to include them in the request.
Moving Average Weighted
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Moving Average Weighted",
"input": {
"in_0": 9,
"in_1": "close",
"in_2": 0
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 2000 ) |
in_1 | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
in_2 | Integer | 0 |
offset (Min: -10000 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Net Volume
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Net Volume",
"forceOverlay": false,
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
On Balance Volume
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "On Balance Volume",
"forceOverlay": false,
"input": {
"smoothingLine": "SMA",
"smoothingLength": 9
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)",
"Smoothed MA.visible": false,
"Smoothed MA.linewidth": 1,
"Smoothed MA.plottype": "line",
"Smoothed MA.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
smoothingLine | String | SMA |
smoothing line [SMA , EMA , WMA ] |
smoothingLength | Integer | 9 |
smoothing length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
Smoothed MA.visible | Boolean | true |
- |
Smoothed MA.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Smoothed MA.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Smoothed MA.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Parabolic SAR
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Parabolic SAR",
"input": {
"in_0": 0.02,
"in_1": 0.02,
"in_2": 0.2
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "cross",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Float | 0.02 |
start (Min: -100000 , Max: 100000 ) |
in_1 | Float | 0.02 |
increment (Min: -100000 , Max: 100000 ) |
in_2 | Float | 0.2 |
maximum (Min: -100000 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | cross |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Price Channel
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Price Channel",
"input": {
"in_0": 20,
"in_1": 0
},
"override": {
"Highprice Line.visible": true,
"Highprice Line.linewidth": 1,
"Highprice Line.plottype": "line",
"Highprice Line.color": "rgb(245,0,87)",
"Lowprice Line.visible": true,
"Lowprice Line.linewidth": 1,
"Lowprice Line.plottype": "line",
"Lowprice Line.color": "rgb(245,0,87)",
"Centerprice Line.visible": true,
"Centerprice Line.linewidth": 1,
"Centerprice Line.plottype": "line",
"Centerprice Line.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 2000 ) |
in_1 | Integer | 0 |
offset length (Min: 0 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Highprice Line.visible | Boolean | true |
- |
Highprice Line.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Highprice Line.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Highprice Line.color | Color | rgb(245,0,87) |
■ |
Lowprice Line.visible | Boolean | true |
- |
Lowprice Line.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lowprice Line.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lowprice Line.color | Color | rgb(245,0,87) |
■ |
Centerprice Line.visible | Boolean | true |
- |
Centerprice Line.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Centerprice Line.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Centerprice Line.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Price Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Price Oscillator",
"forceOverlay": false,
"input": {
"in_0": 10,
"in_1": 21
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(8,153,129)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
shortlen (Min: 1 , Max: 2000 ) |
in_1 | Integer | 21 |
longlen (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(8,153,129) |
■ |
If default values are the same, there is no need to include them in the request.
Price Volume Trend
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Price Volume Trend",
"forceOverlay": false,
"override": {
"PVT.linewidth": 1,
"PVT.plottype": "line",
"PVT.color": "rgb(33,150,243)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
PVT.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
PVT.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
PVT.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Rate Of Change
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Rate Of Change",
"forceOverlay": false,
"input": {
"in_0": 9
},
"override": {
"ROC.visible": true,
"ROC.linewidth": 1,
"ROC.plottype": "line",
"ROC.color": "rgb(33,150,243)",
"Zero Line.visible": true,
"Zero Line.linestyle": 2,
"Zero Line.linewidth": 1,
"Zero Line.value": 0,
"Zero Line.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
ROC.visible | Boolean | true |
- |
ROC.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
ROC.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
ROC.color | Color | rgb(33,150,243) |
■ |
Zero Line.visible | Boolean | true |
- |
Zero Line.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero Line.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero Line.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero Line.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Relative Strength Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Relative Strength Index",
"forceOverlay": false,
"input": {
"length": 14,
"smoothingLine": "SMA",
"smoothingLength": 14
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(126,87,194)",
"Smoothed MA.visible": false,
"Smoothed MA.linewidth": 1,
"Smoothed MA.plottype": "line",
"Smoothed MA.color": "rgb(33,150,243)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 70,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 30,
"LowerLimit.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
length | Integer | 14 |
length (Min: 1 , Max: 2000 ) |
smoothingLine | String | SMA |
smoothing line [SMA , EMA , WMA ] |
smoothingLength | Integer | 14 |
smoothing length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(126,87,194) |
■ |
Smoothed MA.visible | Boolean | false |
- |
Smoothed MA.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Smoothed MA.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Smoothed MA.color | Color | rgb(33,150,243) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 70 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 30 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Relative Vigor Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Relative Vigor Index",
"forceOverlay": false,
"input": {
"in_0": 10
},
"override": {
"RVGI.visible": true,
"RVGI.linewidth": 1,
"RVGI.plottype": "line",
"RVGI.color": "rgb(8,153,129)",
"Signal.visible": true,
"Signal.linewidth": 1,
"Signal.plottype": "line",
"Signal.color": "rgb(242,54,69)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
RVGI.visible | Boolean | true |
- |
RVGI.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
RVGI.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
RVGI.color | Color | rgb(8,153,129) |
■ |
Signal.visible | Boolean | true |
- |
Signal.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Signal.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Signal.color | Color | rgb(242,54,69) |
■ |
If default values are the same, there is no need to include them in the request.
SMI Ergodic Indicator/Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "SMI Ergodic Indicator/Oscillator",
"forceOverlay": false,
"input": {
"in_0": 5,
"in_1": 20,
"in_2": 5
},
"override": {
"Indicator.visible": true,
"Indicator.linewidth": 1,
"Indicator.plottype": "line",
"Indicator.color": "rgb(33,150,243)",
"Signal.visible": true,
"Signal.linewidth": 1,
"Signal.plottype": "line",
"Signal.color": "rgb(255,109,0)",
"Oscillator.visible": true,
"Oscillator.linewidth": 1,
"Oscillator.plottype": "histogram",
"Oscillator.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 5 |
shortlen (Min: 1 , Max: 2000 ) |
in_1 | Integer | 20 |
longlen (Min: 1 , Max: 2000 ) |
in_2 | Integer | 5 |
siglen (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Indicator.visible | Boolean | true |
- |
Indicator.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Indicator.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Indicator.color | Color | rgb(33,150,243) |
■ |
Signal.visible | Boolean | true |
- |
Signal.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Signal.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Signal.color | Color | rgb(255,109,0) |
■ |
Oscillator.visible | Boolean | true |
- |
Oscillator.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Oscillator.plottype | String | histogram |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Oscillator.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Smoothed Moving Average
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Smoothed Moving Average",
"input": {
"in_0": 7,
"in_1": "close"
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(103,58,183)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 7 |
length (Min: 1 , Max: 100000 ) |
in_1 | String | close |
source [open , high , low , close , hl2 , hlc3 , ohlc4 ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(103,58,183) |
■ |
If default values are the same, there is no need to include them in the request.
Standard Deviation
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Standard Deviation",
"forceOverlay": false,
"input": {
"periods": 5,
"deviations": 1
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(8,153,129)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 5 |
periods (Min: 1 , Max: 100000 ) |
deviations | Integer | 1 |
deviations (Min: -100000 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(8,153,129) |
■ |
If default values are the same, there is no need to include them in the request.
Standard Error
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Standard Error",
"forceOverlay": false,
"input": {
"length": 14
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(255,109,0)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
length | Integer | 14 |
length (Min: 3 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,109,0) |
■ |
If default values are the same, there is no need to include them in the request.
Standard Error Bands
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Standard Error Bands",
"input": {
"periods": 21,
"errors": 2,
"method": "Simple",
"averagePeriods": 3
},
"override": {
"Plot 1.linewidth": 1,
"Plot 1.plottype": "line",
"Plot 1.color": "rgb(33,150,243)",
"Plot 2.linewidth": 1,
"Plot 2.plottype": "line",
"Plot 2.color": "rgb(255,109,0)",
"Plot 3.linewidth": 1,
"Plot 3.plottype": "line",
"Plot 3.color": "rgb(33,150,243)",
"Background.visible": true,
"Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 21 |
period (Min: -100000 , Max: 100000 ) |
errors | Float | 2 |
standard errors (Min: -100000 , Max: 100000 ) |
method | String | Simple |
method [Simple , Exponential , Weighted ] |
averagePeriods | Integer | 3 |
average periods (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot 1.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 1.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 1.color | Color | rgb(33,150,243) |
■ |
Plot 2.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 2.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 2.color | Color | rgb(255,109,0) |
■ |
Plot 3.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot 3.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot 3.color | Color | rgb(33,150,243) |
■ |
Background.visible | Boolean | true |
- |
Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Stochastic
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Stochastic",
"forceOverlay": false,
"input": {
"in_0": 14,
"in_1": 1,
"in_2": 3
},
"override": {
"%K.visible": true,
"%K.linewidth": 1,
"%K.plottype": "line",
"%K.color": "rgb(33,150,243)",
"%D.visible": true,
"%D.linewidth": 1,
"%D.plottype": "line",
"%D.color": "rgb(255,109,0)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 80,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 20,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
K (Min: 1 , Max: 10000 ) |
in_1 | Integer | 1 |
D (Min: 1 , Max: 10000 ) |
in_2 | Integer | 3 |
smooth (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
%K.visible | Boolean | true |
- |
%K.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
%K.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
%K.color | Color | rgb(33,150,243) |
■ |
%D.visible | Boolean | true |
- |
%D.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
%D.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
%D.color | Color | rgb(255,109,0) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 70 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 20 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Stochastic RSI
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Stochastic RSI",
"forceOverlay": false,
"input": {
"in_0": 14,
"in_1": 14,
"in_2": 3,
"in_3": 3
},
"override": {
"%K.visible": true,
"%K.linewidth": 1,
"%K.plottype": "line",
"%K.color": "rgb(33,150,243)",
"%D.visible": true,
"%D.linewidth": 1,
"%D.plottype": "line",
"%D.color": "rgb(255,109,0)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": 80,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": 20,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(33,150,243,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
length RSI (Min: 1 , Max: 10000 ) |
in_1 | Integer | 14 |
length Stoch (Min: 1 , Max: 10000 ) |
in_2 | Integer | 3 |
smooth K (Min: 1 , Max: 10000 ) |
in_3 | Integer | 3 |
smooth D (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
%K.visible | Boolean | true |
- |
%K.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
%K.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
%K.color | Color | rgb(33,150,243) |
■ |
%D.visible | Boolean | true |
- |
%D.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
%D.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
%D.color | Color | rgb(255,109,0) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | 80 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
LowerLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | 20 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(33,150,243,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Super Trend
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Super Trend",
"input": {
"in_0": 10,
"in_1": 3
},
"override": {
"SuperTrend.plottype": "line",
"SuperTrend.color.0": "rgb(0,128,0)",
"SuperTrend.color.1": "rgb(128,0,0)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 10 |
length (Min: 1 , Max: 100 ) |
in_1 | Integer | 3 |
factor (Min: 1 , Max: 100 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
SuperTrend.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
SuperTrend.color.0 | Color | rgb(0,128,0) |
■ |
SuperTrend.color.1 | Color | rgb(128,0,0) |
■ |
If default values are the same, there is no need to include them in the request.
Trend Strength Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Trend Strength Index",
"forceOverlay": false,
"input": {
"periods": 9
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 9 |
periods (Min: 2 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Triple EMA
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Triple EMA",
"input": {
"in_0": 9
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 9 |
length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
TRIX
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "TRIX",
"forceOverlay": false,
"input": {
"in_0": 18
},
"override": {
"TRIX.visible": true,
"TRIX.linewidth": 1,
"TRIX.plottype": "line",
"TRIX.color": "rgb(242,54,69)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.value": 0,
"Zero.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 18 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
TRIX.visible | Boolean | true |
- |
TRIX.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
TRIX.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
TRIX.color | Color | rgb(242,54,69) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
True Strength Index
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "True Strength Index",
"forceOverlay": false,
"input": {
"in_0": 25,
"in_1": 13,
"in_2": 13
},
"override": {
"True Strength Index.visible": true,
"True Strength Index.linewidth": 1,
"True Strength Index.plottype": "line",
"True Strength Index.color": "rgb(33,150,243)",
"Signal.visible": true,
"Signal.linewidth": 1,
"Signal.plottype": "line",
"Signal.color": "rgb(233,30,99)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.value": 0,
"Zero.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 25 |
long (Min: 1 , Max: 4999 ) |
in_1 | Integer | 13 |
short (Min: 1 , Max: 4999 ) |
in_2 | Integer | 13 |
siglen (Min: 1 , Max: 4999 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
True Strength Index.visible | Boolean | true |
- |
True Strength Index.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
True Strength Index.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
True Strength Index.color | Color2196F3 | rgb(33,150,243) |
■ |
Signal.visible | Boolean | true |
- |
Signal.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Signal.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Signal.color | Color2196F3 | rgb(233,30,99) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Ultimate Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Ultimate Oscillator",
"forceOverlay": false,
"input": {
"in_0": 7,
"in_1": 14,
"in_2": 28
},
"override": {
"UO.linewidth": 1,
"UO.plottype": "line",
"UO.color": "rgb(242,54,69)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 7 |
length7 (Min: 1 , Max: 100000 ) |
in_1 | Integer | 14 |
length14 (Min: 1 , Max: 100000 ) |
in_2 | Integer | 28 |
length28 (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
UO.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UO.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
UO.color | Color | rgb(242,54,69) |
■ |
If default values are the same, there is no need to include them in the request.
Volatility Close-to-Close
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Volatility Close-to-Close",
"forceOverlay": false,
"input": {
"periods": 10,
"daysPerYear": 252
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
periods (Min: 2 , Max: 100000 ) |
daysPerYear | Integer | 252 |
days per year (Min: 1 , Max: 366 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Volatility Index
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Volatility Index",
"input": {
"periods": 10,
"atrMult": 3,
"method": "Wilder Smoothing"
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
periods (Min: 2 , Max: 10000 ) |
atrMult | Float | 3 |
ATR mul (Min: -10000 , Max: 10000 ) |
method | String | Wilder Smoothing |
method [Exponential , Wilder Smoothing ] |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Volatility O-H-L-C
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Volatility O-H-L-C",
"forceOverlay": false,
"input": {
"periods": 10,
"marketClosedPercentage": 0,
"daysPerYear": 252
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(255,82,82)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
periods (Min: 1 , Max: 100000 ) |
marketClosedPercentage | Float | 0 |
market closed percentage (Min: 0 , Max: 0.999 ) |
daysPerYear | Integer | 252 |
day per year (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(255,82,82) |
■ |
If default values are the same, there is no need to include them in the request.
Volatility Zero Trend Close-to-Close
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Volatility Zero Trend Close-to-Close",
"forceOverlay": false,
"input": {
"periods": 10,
"daysPerYear": 252
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
periods | Integer | 10 |
periods (Min: 1 , Max: 10000 ) |
daysPerYear | Integer | 252 |
day per year (Min: 1 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Volume
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Volume",
"forceOverlay": false,
"override": {
"Volume.plottype": "columns",
"Volume.color.0": "rgba(247,82,95,0.5)",
"Volume.color.1": "rgba(34,171,148,0.5)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Volume.plottype | String | column |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Volume.color.0 | Color | rgba(247,82,95,0.5) |
■ |
Volume.color.1 | Color | rgba(34,171,148,0.5) |
■ |
If default values are the same, there is no need to include them in the request.
Volume Oscillator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Volume Oscillator",
"forceOverlay": false,
"input": {
"in_0": 5,
"in_1": 10
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)",
"Zero.visible": true,
"Zero.linestyle": 2,
"Zero.linewidth": 1,
"Zero.value": 0,
"Zero.color": "rgb(120,123,134)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 5 |
shortlen (Min: 1 , Max: 4999 ) |
in_1 | Integer | 10 |
longlen (Min: 1 , Max: 4999 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
Zero.visible | Boolean | true |
- |
Zero.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
Zero.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Zero.value | Float | 0 |
(Min: -1000000 , Max: 1000000 ) |
Zero.color | Color | rgb(120,123,134) |
■ |
If default values are the same, there is no need to include them in the request.
Volume Profile Visible Range
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Volume Profile Visible Range",
"input": {
"rows": 24,
"volume": "Up/Down",
"vaVolume": 70
},
"override": {
"graphics.hhists.histBars2.direction": "right_to_left",
"graphics.hhists.histBars2.percentWidth": 30,
"graphics.hhists.histBars2.colors.0": "rgba(21,146,230,0.3)",
"graphics.hhists.histBars2.colors.1": "rgba(251,193,35,0.3)",
"graphics.hhists.histBarsVA.direction": "right_to_left",
"graphics.hhists.histBarsVA.percentWidth": 30,
"graphics.hhists.histBarsVA.colors.0": "rgba(21,146,230,0.7)",
"graphics.hhists.histBarsVA.colors.1": "rgba(251,193,35,0.7)",
"graphics.horizlines.pocLines.visible": true,
"graphics.horizlines.pocLines.style": 0,
"graphics.horizlines.pocLines.width": 2,
"graphics.horizlines.pocLines.color": "rgb(255,0,0)",
"Developing Poc.display": false,
"Developing Poc.linewidth": 1,
"Developing Poc.plottype": "step_line_with_breaks",
"Developing Poc.color": "rgb(255,0,0)",
"Developing VA High.display": false,
"Developing VA High.linewidth": 1,
"Developing VA High.plottype": "step_line_with_breaks",
"Developing VA High.color": "rgb(0,0,255)",
"Developing VA Low.display": false,
"Developing VA Low.linewidth": 1,
"Developing VA Low.plottype": "step_line_with_breaks",
"Developing VA Low.color": "rgb(0,0,255)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
rows | Integer | 24 |
row size (Min: 1 , Max: 1000000 ) |
volume | String | Up/Down |
volume [Up/Down , Total , Delta ] |
vaVolume | Integer | 70 |
value area volume (Min: 0 , Max: 100 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
graphics.hhists.histBars2.direction | String | right_to_left |
[right_to_left , left_to_right ] |
graphics.hhists.histBars2.percentWidth | Integer | 30 |
(Min: 1 , Max: 10000 ) |
graphics.hhists.histBars2.colors.0 | Color | rgba(21,146,230,0.3) |
■ |
graphics.hhists.histBars2.colors.1 | Color | rgba(251,193,35,0.3) |
■ |
graphics.hhists.histBarsVA.direction | String | right_to_left |
[right_to_left , left_to_right ] |
graphics.hhists.histBarsVA.percentWidth | Integer | 30 |
(Min: 1 , Max: 10000 ) |
graphics.hhists.histBarsVA.colors.0 | Color | rgba(21,146,230,0.7) |
■ |
graphics.hhists.histBarsVA.colors.1 | Color | rgba(251,193,35,0.7) |
■ |
graphics.horizlines.pocLines.visible | Boolean | true |
- |
graphics.horizlines.pocLines.style | Integer | 0 |
(Min: 0 , Max: 2 ) |
graphics.horizlines.pocLines.width | Integer | 2 |
(Min: 1 , Max: 10 ) |
graphics.horizlines.pocLines.color | Color | rgb(255,0,0) |
■ |
Developing Poc.display | Boolean | false |
- |
Developing Poc.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Developing Poc.plottype | String | step_line_with_breaks |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Developing Poc.color | Color | rgb(255,0,0) |
■ |
Developing VA High.display | Boolean | false |
- |
Developing VA High.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Developing VA High.plottype | String | step_line_with_breaks |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Developing VA High.color | Color | rgb(0,0,255) |
■ |
Developing VA Low.display | Boolean | false |
- |
Developing VA Low.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Developing VA Low.plottype | String | step_line_with_breaks |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Developing VA Low.color | Color | rgb(0,0,255) |
■ |
If default values are the same, there is no need to include them in the request.
Vortex Indicator
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Vortex Indicator",
"forceOverlay": false,
"input": {
"in_0": 14
},
"override": {
"VI +.visible": true,
"VI +.linewidth": 1,
"VI +.plottype": "line",
"VI +.color": "rgb(33,150,243)",
"VI -.visible": true,
"VI -.linewidth": 1,
"VI -.plottype": "line",
"VI -.color": "rgb(233,30,99)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
period (Min: 2 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
VI +.visible | Boolean | true |
- |
VI +.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
VI +.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
VI +.color | Color | rgb(33,150,243) |
■ |
VI -.visible | Boolean | true |
- |
VI -.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
VI -.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
VI -.color | Color | rgb(233,30,99) |
■ |
If default values are the same, there is no need to include them in the request.
VWAP
Request Example:
{
"height": 300,
"theme": "dark",
"interval": "1h",
"studies": [
{
"name": "VWAP",
"override": {
"VWAP.linewidth": 1,
"VWAP.plottype": "line",
"VWAP.color": "rgb(33,150,243)"
}
}
]
}
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
VWAP.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
VWAP.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
VWAP.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
VWMA
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "VWMA",
"input": {
"in_0": 20
},
"override": {
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 20 |
length (Min: 1 , Max: 10000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
Williams %R
Request Example:
{
"height": 300,
"theme": "dark",
"override": {
"showMainPane": false
},
"studies": [
{
"name": "Williams %R",
"forceOverlay": false,
"input": {
"in_0": 14
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 1,
"Plot.plottype": "line",
"Plot.color": "rgb(126,87,194)",
"UpperLimit.visible": true,
"UpperLimit.linestyle": 2,
"UpperLimit.linewidth": 1,
"UpperLimit.value": -20,
"UpperLimit.color": "rgb(120,123,134)",
"LowerLimit.visible": true,
"LowerLimit.linestyle": 2,
"LowerLimit.linewidth": 1,
"LowerLimit.value": -80,
"LowerLimit.color": "rgb(120,123,134)",
"Hlines Background.visible": true,
"Hlines Background.color": "rgba(126,87,194,0.1)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 14 |
length (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(126,87,194) |
■ |
UpperLimit.visible | Boolean | true |
- |
UpperLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
UpperLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
UpperLimit.value | Float | -20 |
(Min: -1000000 , Max: 1000000 ) |
UpperLimit.color | Color | rgb(120,123,134) |
■ |
UpperLimit.visible | Boolean | true |
- |
LowerLimit.linestyle | Integer | 2 |
(Min: 0 , Max: 2 ) |
LowerLimit.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
LowerLimit.value | Float | -80 |
(Min: -1000000 , Max: 1000000 ) |
LowerLimit.color | Color | rgb(120,123,134) |
■ |
Hlines Background.visible | Boolean | true |
- |
Hlines Background.color | Color | rgba(126,87,194,0.1) |
■ |
If default values are the same, there is no need to include them in the request.
Williams Alligator
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Williams Alligator",
"input": {
"in_0": 21,
"in_1": 13,
"in_2": 8,
"in_3": 8,
"in_4": 5,
"in_5": 3
},
"override": {
"Jaw.visible": true,
"Jaw.linewidth": 1,
"Jaw.plottype": "line",
"Jaw.color": "rgb(33,150,243)",
"Teeth.visible": true,
"Teeth.linewidth": 1,
"Teeth.plottype": "line",
"Teeth.color": "rgb(233,30,99)",
"Lips.visible": true,
"Lips.linewidth": 1,
"Lips.plottype": "line",
"Lips.color": "rgb(102,187,106)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 21 |
jaw length (Min: 1 , Max: 2000 ) |
in_1 | Integer | 13 |
teeth length (Min: 1 , Max: 2000 ) |
in_2 | Integer | 8 |
lips length (Min: 1 , Max: 2000 ) |
in_3 | Integer | 8 |
jaw offset (Min: 1 , Max: 2000 ) |
in_4 | Integer | 5 |
teeth offset (Min: 1 , Max: 2000 ) |
in_5 | Integer | 3 |
lips offset (Min: 1 , Max: 2000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Jaw.visible | Boolean | true |
- |
Jaw.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Jaw.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Jaw.color | Color | rgb(33,150,243) |
■ |
Teeth.visible | Boolean | true |
- |
Teeth.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Teeth.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Teeth.color | Color | rgb(233,30,99) |
■ |
Lips.visible | Boolean | true |
- |
Lips.linewidth | Integer | 1 |
(Min: 1 , Max: 10 ) |
Lips.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Lips.color | Color | rgb(102,187,106) |
■ |
If default values are the same, there is no need to include them in the request.
Williams Fractal
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Williams Fractal",
"input": {
"in_0": 2
},
"override": {
"Up fractals.visible": true,
"Up fractals.color": "rgb(8,153,129)",
"Down fractals.visible": true,
"Down fractals.color": "rgb(242,54,69)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Integer | 2 |
periods (Min: 2 , Max: 100000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Up fractals.visible | Boolean | true |
- |
Up fractals.color | Color | rgb(8,153,129) |
■ |
Down fractals.visible | Boolean | true |
- |
Down fractals.color | Color | rgb(242,54,69) |
■ |
If default values are the same, there is no need to include them in the request.
Zig Zag
Request Example:
{
"height": 300,
"theme": "dark",
"studies": [
{
"name": "Zig Zag",
"input": {
"in_0": 5,
"in_1": 10
},
"override": {
"Plot.visible": true,
"Plot.linewidth": 2,
"Plot.plottype": "line",
"Plot.color": "rgb(33,150,243)"
}
}
]
}
Parameter input
Parameter | Type | Default | Description |
---|---|---|---|
in_0 | Float | 5 |
deviation (Min: 0.001 , Max: 100 ) |
in_1 | Integer | 10 |
depth (Min: 2 , Max: 1000 ) |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
Plot.visible | Boolean | true |
- |
Plot.linewidth | Integer | 2 |
(Min: 1 , Max: 10 ) |
Plot.plottype | String | line |
[line , histogram , cross , area , columns , circles , line_with_breaks , area_with_breaks , step_line , step_line_with_breaks ] |
Plot.color | Color | rgb(33,150,243) |
■ |
If default values are the same, there is no need to include them in the request.
TradingView Chart Drawings
Order Line
Request Example:
{
"width": 700,
"height": 400,
"theme": "dark",
"interval": "1h",
"drawings": [
{
"name": "Order Line",
"input": {
"text": "BUY ORDER #1",
"quantity": "0.25 BTC",
"price": 22680
},
"override": {
"bodyBackgroundColor": "rgba(255,255,255,1)",
"quantityBackgroundColor": "rgba(0,113,224,1)"
}
},
{
"name": "Order Line",
"input": {
"text": "BUY ORDER #2",
"quantity": "0.30 BTC",
"price": 22615
},
"override": {
"lineSpace": 27,
"bodyBackgroundColor": "rgba(255,255,255,1)",
"quantityBackgroundColor": "rgba(0,113,224,1)"
}
}
]
}
Parameter input
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
text | String | Yes | - | order line text |
quantity | String | Yes | - | order line quantity |
price | Float | No | {LAST_PRICE} |
order line price point |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 9 |
(Min: 1 , Max: 250 ) |
lineStyle | Integer | 0 |
(Min: 0 , Max: 5 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
lineSpace | Integer | 5 |
extend line space length (Min: 0 , Max: 100 ) |
extendLeft | Boolean | true |
extend left line |
lineColor | Color | rgb(0,113,224) |
■ |
bodyBorderColor | Color | rgb(0,113,224) |
■ |
bodyBackgroundColor | Color | rgba(255,255,255,0.8) |
■ |
bodyTextColor | Color | rgb(0,113,224) |
■ |
quantityBorderColor | Color | rgb(0,113,224) |
■ |
quantityBackgroundColor | Color | rgba(0,113,224,0.8) |
■ |
quantityTextColor | Color | rgb(255,255,255) |
■ |
If default values are the same, there is no need to include them in the request.
Horizontal Line
Request Example:
{
"width": 1000,
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Horizontal Line",
"input": {
"price": 19100,
"text": "Line #2"
},
"override": {
"fontSize": 20,
"lineStyle": 1,
"lineWidth": 4
}
},
{
"name": "Horizontal Line",
"input": {
"price": 16333,
"text": "Line #1"
},
"override": {
"fontSize": 20,
"lineColor": "rgb(255,122,122)",
"textColor": "rgb(255,122,122)",
"horzLabelAlign": "right"
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
price | Float | Yes | horizontal line by price |
text | String | No | horizontal line text label |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
lineStyle | Integer | 0 |
(Min: 0 , Max: 5 ) |
lineWidth | Integer | 2 |
(Min: 1 , Max: 100 ) |
lineColor | Color | rgb(41,98,255) |
■ |
textColor | Color | rgb(41,98,255) |
■ |
vertLabelAlign | String | top |
[top , middle , bottom ] |
horzLabelAlign | String | center |
[center , left , right ] |
showPrice | Boolean | true |
show price for horizontal line |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Vertical Line
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Vertical Line",
"input": {
"datetime": "2023-01-01T17:00:00.000Z",
"text": "Line Example"
},
"override": {
"fontSize": 25,
"vertLabelAlign": "middle"
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
datetime | DateTime (ISO8601) | Yes | vertical line by datetime |
text | String | No | vertical line text label |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
lineStyle | Integer | 0 |
(Min: 0 , Max: 5 ) |
lineWidth | Integer | 2 |
(Min: 1 , Max: 100 ) |
lineColor | Color | rgb(41,98,255) |
■ |
textColor | Color | rgb(41,98,255) |
■ |
vertLabelAlign | String | top |
[top , middle , bottom ] |
horzLabelAlign | String | right |
[center , left , right ] |
showTime | Boolean | true |
show datetime for vertical line |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Long Position
Request Example:
{
"height": 400,
"theme": "dark",
"interval": "4h",
"range": {
"from": "2023-01-20T00:00:00.000Z",
"to": "2023-02-12T00:00:00.000Z"
},
"drawings": [
{
"name": "Long Position",
"input": {
"startDatetime": "2023-02-09T00:00:00.000Z",
"entryPrice": 22400,
"targetPrice": 24000,
"stopPrice": 22100
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | position area start |
entryPrice | Float | Yes | long entry price |
targetPrice | Float | Yes | long take-profit target price |
stopPrice | Float | Yes | long stop-loss price |
endDatetime | DateTime (ISO8601) | No | positon area end |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
accountSize | Float | 1000 |
account size |
lotSize | Float | 1 |
lot size |
risk | Float | 25 |
risk value |
riskDisplayMode | String | percents |
risk display mode [percents , money ] |
fillBackground | Boolean | true |
position area fill background color |
showPrice | Boolean | true |
show price labels |
showStats | Boolean | false |
show stats |
showCompact | Boolean | false |
show compact stats mode |
textColor | Color | rgb(255,255,255) |
■ |
lineColor | Color | rgb(120,123,134) |
■ |
borderColor | Color | rgb(102,123,139) |
■ |
profitBackground | Color | rgba(8,153,129,0.2) |
■ |
stopBackground | Color | rgba(242,54,69,0.2) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Short Position
Request Example:
{
"height": 400,
"theme": "dark",
"interval": "4h",
"range": {
"from": "2023-01-20T00:00:00.000Z",
"to": "2023-02-12T00:00:00.000Z"
},
"drawings": [
{
"name": "Short Position",
"input": {
"startDatetime": "2023-02-08T00:00:00.000Z",
"endDatetime": "2023-02-15T00:00:00.000Z",
"entryPrice": 23400,
"targetPrice": 21800,
"stopPrice": 23800
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | position area start |
entryPrice | Float | Yes | short entry price |
targetPrice | Float | Yes | short take-profit target price |
stopPrice | Float | Yes | short stop-loss price |
endDatetime | DateTime (ISO8601) | No | positon area end |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
accountSize | Float | 1000 |
account size |
lotSize | Float | 1 |
lot size |
risk | Float | 25 |
risk value |
riskDisplayMode | String | percents |
risk display mode [percents , money ] |
fillBackground | Boolean | true |
position area fill background color |
showPrice | Boolean | true |
show price labels |
showStats | Boolean | false |
show stats |
showCompact | Boolean | false |
show compact stats mode |
textColor | Color | rgb(255,255,255) |
■ |
lineColor | Color | rgb(120,123,134) |
■ |
borderColor | Color | rgb(102,123,139) |
■ |
profitBackground | Color | rgba(8,153,129,0.2) |
■ |
stopBackground | Color | rgba(242,54,69,0.2) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Fib Retracement
Request Example:
{
"theme": "dark",
"drawings": [
{
"name": "Fib Retracement",
"input": {
"startDatetime": "2022-12-30T05:00:00.000Z",
"startPrice": 16333,
"endDatetime": "2023-02-02T05:00:00.000Z",
"endPrice": 24255
},
"override": {
"extendLines": true,
"level7": {
"color": "rgb(255,255,255)"
}
},
"zOrder": "top"
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | start position x-axis |
startPrice | Float | Yes | start position y-axis |
endDatetime | DateTime (ISO8601) | Yes | end position x-axis |
endPrice | Float | Yes | end position y-axis |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
transparency | Integer | 80 |
fill background transparency (Min: 0 , Max: 100 ) |
horzLabelAlign | String | left |
label horizontal align [center , left , right ] |
vertLabelAlign | String | bottom |
label vertical align [top , middle , bottom ] |
showCoeff | Boolean | true |
show coefficient values in the label |
showPrice | Boolean | true |
show prices in the label |
fillBackground | Boolean | true |
fill background in each level |
extendLine | Boolean | false |
extend the level lines |
extendLeft | Boolean | false |
extend the left level lines |
reverseLevel | Boolean | false |
show the levels in reverse |
coeffAsPercent | Boolean | false |
show coefficient values as percentage |
fibLevelBasedOnLogScale | Boolean | false |
override showInvertScale must be set to true |
level{#} | Object | - | each retracement level |
If default values are the same, there is no need to include them in the request.
Parameter level1
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 0 |
coefficient value |
color | Color | rgb(120,123,134) |
■ |
Parameter level2
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 0.236 |
coefficient value |
color | Color | rgb(242,54,69) |
■ |
Parameter level3
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 0.382 |
coefficient value |
color | Color | rgb(129,199,132) |
■ |
Parameter level4
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 0.5 |
coefficient value |
color | Color | rgb(76,175,80) |
■ |
Parameter level5
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 0.618 |
coefficient value |
color | Color | rgb(8,153,129) |
■ |
Parameter level6
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 0.786 |
coefficient value |
color | Color | rgb(100,181,246) |
■ |
Parameter level7
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 1 |
coefficient value |
color | Color | rgb(120,123,134) |
■ |
Parameter level8
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 1.618 |
coefficient value |
color | Color | rgb(41,98,255) |
■ |
Parameter level9
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 2.618 |
coefficient value |
color | Color | rgb(242,54,69) |
■ |
Parameter level10
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 3.618 |
coefficient value |
color | Color | rgb(156,39,176) |
■ |
Parameter level11
Parameter | Type | Default | Description |
---|---|---|---|
visible | Boolean | true |
show the level |
coeff | Float | 4.236 |
coefficient value |
color | Color | rgb(233,30,99) |
■ |
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Date Range
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Date Range",
"input": {
"startDatetime": "2023-01-01T00:00:00.000Z",
"startPrice": 16333,
"endDatetime": "2023-02-09T00:00:00.000Z",
"endPrice": 18000
},
"override": {
"fontSize": 16,
"extendTop": true,
"extendBottom": true
},
"zOrder": "top"
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | range start position x-axis |
startPrice | Float | Yes | range start position y-axis |
endDatetime | DateTime (ISO8601) | Yes | range end position x-axis |
endPrice | Float | Yes | range end position y-axis |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
transparency | Integer | 60 |
(Min: 0 , Max: 100 ) |
fillBackground | Boolean | true |
- |
fillLabelBackground | Boolean | true |
- |
extendTop | Boolean | false |
- |
extendBottom | Boolean | false |
- |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Date Price Range
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Date Price Range",
"input": {
"startDatetime": "2023-01-01T00:00:00.000Z",
"startPrice": 16499,
"endDatetime": "2023-01-18T00:00:00.000Z",
"endPrice": 21650
},
"override": {
"fontSize": 16
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | range start position x-axis |
startPrice | Float | Yes | range start position y-axis |
endDatetime | DateTime (ISO8601) | Yes | range end position x-axis |
endPrice | Float | Yes | range end position y-axis |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 12 |
(Min: 10 , Max: 250 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
transparency | Integer | 60 |
(Min: 0 , Max: 100 ) |
fillBackground | Boolean | true |
- |
fillLabelBackground | Boolean | true |
- |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Rectangle
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Rectangle",
"input": {
"startDatetime": "2024-03-01T00:00:00.000Z",
"startPrice": 52000,
"endDatetime": "2024-05-10T00:00:00.000Z",
"endPrice": 60000,
"text": "RECTANGLE ZONE"
},
"override": {
"fontBold": true,
"showLabel": true,
"lineColor": "rgb(0,113,224)",
"horzLabelAlign": "center",
"vertLabelAlign": "middle"
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | left x-axis start position |
startPrice | Float | Yes | left y-axis start position |
endDatetime | DateTime (ISO8601) | Yes | right x-axis end position |
endPrice | Float | Yes | right y-axis end position |
text | String | No | label text |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 14 |
(Min: 10 , Max: 250 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
horzLabelAlign | String | left |
text label horizontal align [center , left , right ] |
vertLabelAlign | String | bottom |
text label vertical align [top , middle , bottom ] |
showLabel | Boolean | false |
show text label |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
extendLeft | Boolean | false |
extend line area to left |
extendRight | Boolean | false |
extend line area to right |
fillBackground | Boolean | true |
fill line area background color |
textColor | Color | rgb(156,39,176) |
■ |
lineColor | Color | rgb(156,39,176) |
■ |
backgroundColor | Color | rgba(156,39,176,0.2) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Arrow Marker
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Arrow Marker",
"input": {
"startDatetime": "2022-12-05T00:00:00.000Z",
"startPrice": 20600,
"endDatetime": "2023-01-08T00:00:00.000Z",
"endPrice": 17600,
"text": "Big Arrow!"
},
"override": {
"fontSize": 18
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | tail of the arrow x-axis |
startPrice | Float | Yes | tail of the arrow y-axis |
endDatetime | DateTime (ISO8601) | Yes | head of the arrow x-axis |
endPrice | Float | Yes | head of the arrow y-axis |
text | String | No | label text |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 16 |
(Min: 10 , Max: 250 ) |
fontBold | Boolean | true |
show text bold |
fontItalic | Boolean | false |
show text italic |
textColor | Color | rgb(30,83,229) |
■ |
arrowColor | Color | rgb(30,83,229) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Arrow Mark Up
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Arrow Mark Up",
"input": {
"datetime": "2022-12-19T00:00:00.000Z",
"price": 16000
}
},
{
"name": "Arrow Mark Up",
"input": {
"datetime": "2022-12-30T00:00:00.000Z",
"price": 16000,
"text": "EXAMPLE"
},
"override": {
"fontBold": true
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
datetime | DateTime (ISO8601) | Yes | arrow head x-axis |
price | Float | Yes | arrow head y-axis |
text | String | No | label text |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 14 |
(Min: 10 , Max: 250 ) |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
textColor | Color | rgb(8,153,129) |
■ |
arrowColor | Color | rgb(8,153,129) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Arrow Mark Down
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Arrow Mark Down",
"input": {
"datetime": "2022-12-14T00:00:00.000Z",
"price": 18700,
"text": "EXAMPLE"
},
"override": {
"fontSize": 16,
"fontBold": true
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
datetime | DateTime (ISO8601) | Yes | arrow head x-axis |
price | Float | Yes | arrow head y-axis |
text | String | No | label text |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 14 |
(Min: 10 , Max: 250 ) |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
textColor | Color | rgb(204,47,60) |
■ |
arrowColor | Color | rgb(204,47,60) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Text
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Text",
"input": {
"datetime": "2022-12-01T00:00:00.000Z",
"price": 20000,
"text": "This is example"
},
"override": {
"fontSize": 20,
"fontBold": true
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
datetime | DateTime (ISO8601) | Yes | text x-axis start position |
price | Float | Yes | text y-axis start position |
text | String | Yes | text content |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 14 |
(Min: 10 , Max: 250 ) |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
showBorder | Boolean | false |
show text with border |
fillBackground | Boolean | false |
show text with filled background color |
textColor | Color | rgb(41,98,255) |
■ |
borderColor | Color | rgb(102,123,139) |
■ |
backgroundColor | Color | rgba(91,133,191,0.3) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
Callout
Request Example:
{
"height": 400,
"theme": "dark",
"drawings": [
{
"name": "Callout",
"input": {
"startDatetime": "2023-01-09T00:00:00.000Z",
"startPrice": 17718,
"endDatetime": "2022-12-13T00:00:00.000Z",
"endPrice": 20500,
"text": "EXAMPLE"
},
"override": {
"fontSize": 18,
"fontBold": true
}
}
]
}
Parameter input
Parameter | Type | Required | Description |
---|---|---|---|
startDatetime | DateTime (ISO8601) | Yes | pin x-axis start position |
startPrice | Float | Yes | pin y-axis start position |
endDatetime | DateTime (ISO8601) | Yes | text x-axis center position |
endPrice | Float | Yes | text y-axis center position |
text | String | Yes | text content |
Parameter override
Parameter | Type | Default | Description |
---|---|---|---|
fontSize | Integer | 14 |
(Min: 10 , Max: 250 ) |
lineWidth | Integer | 1 |
(Min: 1 , Max: 100 ) |
transparency | Integer | 50 |
(Min: 0 , Max: 100 ) |
fontBold | Boolean | false |
show text bold |
fontItalic | Boolean | false |
show text italic |
textColor | Color | rgb(255,255,255) |
■ |
borderColor | Color | rgb(0,151,167) |
■ |
backgroundColor | Color | rgba(0,151,167,0.7) |
■ |
If default values are the same, there is no need to include them in the request.
Parameter zOrder
Parameter | Type | Required | Description |
---|---|---|---|
zOrder | String | No | ensure that the drawing is placed on top or bottom of others [top , bottom ] |
TradingView Snapshot v3
Exchange List
Response Example
{
"updatedAt": "2024-07-08T00:00:00.106Z",
"payload": [
"ACTIVTRADES",
"ADX",
"AFTERPRIME",
"AMEX",
"ASX",
...
]
}
Request Example:
https://api.chart-img.com/v3/tradingview/exchange/list?key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v3/tradingview/exchange/list \
-H "x-api-key: {YOUR_API_KEY}" \
-o exchange-list.json
fetch('https://api.chart-img.com/v3/tradingview/exchange/list', {
method: 'GET',
headers: {
'x-api-key': '{YOUR_API_KEY}',
},
}).then(async (data) => {
const payload = await data.json()
if (data.status === 200) {
console.log(payload)
} else {
throw new Error(payload.message)
}
})
This endpoint retrieves TradingView exchange IDs.
HTTP Request
GET
/v3/tradingview/exchange/list
Request Header
Parameter | Type | Required | Description |
---|---|---|---|
x-api-key | String | Yes | authentication API access key |
HTTP Response
Content-Type
application/json
Response Body Data
Parameter | Type | Description |
---|---|---|
updatedAt | DateTime (ISO8601) / null | when the payload is last updated |
payload | String[] / null | list of tradingview exchange ids |
Exchange Symbols
Response Example
{
"updatedAt": "2024-07-08T00:00:32.448Z",
"payload": [
{
"symbol": "BTCUSDT",
"description": "Bitcoin / TetherUS",
"type": "spot",
"exchange": "BINANCE",
"currency_code": "USDT",
"currency-logoid": "crypto/XTVCUSDT",
"base-currency-logoid": "crypto/XTVCBTC",
"provider_id": "binance",
"source2": {
"id": "BINANCE",
"name": "Binance",
"description": "Binance"
},
"source_id": "BINANCE",
"typespecs": ["crypto"]
},
...
]
}
Request Example:
https://api.chart-img.com/v3/tradingview/exchange/binance?key={YOUR_API_KEY}
## For Windows, merge all lines into one by removing the backslashes
curl -G https://api.chart-img.com/v3/tradingview/exchange/binance \
-H "x-api-key: {YOUR_API_KEY}" \
-o exchange-binance.json
fetch('https://api.chart-img.com/v3/tradingview/exchange/binance', {
method: 'GET',
headers: {
'x-api-key': '{YOUR_API_KEY}',
},
}).then(async (data) => {
const payload = await data.json()
if (data.status === 200) {
console.log(payload)
} else {
throw new Error(payload.message)
}
})
This endpoint retrieves TradingView exchange symbols.
HTTP Request
GET
/v3/tradingview/exchange/<EXCHANGE_ID>
Request URL
Parameter | Type | Required | Description |
---|---|---|---|
EXCHANGE_ID | String | Yes | tradingview exchange ID |
Request Header
Parameter | Type | Required | Description |
---|---|---|---|
x-api-key | String | Yes | authentication API access key |
Request Query (Optional)
Parameter | Type | Description |
---|---|---|
symbol | String | filter by exchange symbol |
type | String | filter by exchange symbol type [spot , swap , futures , index , stock , fund , ...] exchange dependent |
HTTP Response
Content-Type
application/json
Response Body Data
Parameter | Type | Description |
---|---|---|
updatedAt | DateTime (ISO8601) / null | when the payload is last updated |
payload | Object[] / null | list of tradingview exchange symbols |
Errors
API v1
Response Example (403)
{
"message": "Forbidden"
}
Response Example (404)
{
"message": "Route not found."
}
Response Example (422)
{
"error": "Invalid symbol."
}
{
"errors": [
{
"value": "INVALID",
"msg": "The field must be valid interval id.",
"param": "interval",
"location": "query"
}
]
}
Response Example (429)
{
"message": "Too Many Requests"
}
{
"message": "Limit Exceeded"
}
Response Example (500)
{
"error": "Server error."
}
Response Example (504)
{
"error": "Process timeout."
}
Content-Type
application/json
Status | Meaning |
---|---|
400 | Bad Request -- You requested a format that isn't valid. |
403 | Unauthorized -- Your API key is invalid or inactive. |
404 | Request not found -- Your request could not be found. |
422 | Not Acceptable -- Your request is invalid. |
429 | Too Many Request -- Too many request. Check your plan request limit. |
500 | Server Error -- We had a problem with our server. Try your request again. |
503 | Service Unavailable -- We're temporarily offline for maintenance. Try your request again. |
504 | Process Timeout -- Could not process the request due to timeout error. Try your request again. |
API v2 / v3
Content-Type
application/json
Response Example (401)
{
"message": "Invalid Request"
}
Response Example (403)
{
"message": "Forbidden"
}
{
"message": "Layout Forbidden"
}
{
"message": "Exceed Max Usage Resolution Limit (800x600)"
}
{
"message": "Exceed Max Usage Parameter Limit (3)"
}
Response Example (409)
{
"message": "Session Disconnected"
}
Response Example (422)
[
{
"value": "INVALID",
"msg": "must be a valid tradingview EXCHANGE:SYMBOL",
"param": "symbol",
"location": "body"
},
{
"value": "INVALID",
"msg": "must be a supported interval",
"param": "interval",
"location": "body"
}
]
{
"message": "Invalid Symbol"
}
{
"message": "Invalid Interval"
}
{
"message": "Invalid Request"
}
Response Example (429)
{
"message": "Too Many Requests"
}
{
"message": "Limit Exceeded"
}
Response Example (500)
{
"message": "Something Went Wrong"
}
Response Example (504)
{
"message": "External Request Timeout"
}
{
"message": "Endpoint request timed out"
}
Status | Type | Description |
---|---|---|
400 | Bad Request | Could not process the request due to an error in the content type, usually related to an invalid JSON format in the request body. |
403 | Forbidden | Could not authenticate the API key provided or the sessionId for TradingView's private layout. |
404 | Not Found | Could not find the resource or page, including TradingView LAYOUT_ID . |
409 | Conflict | Could not process the request due to a session disconnect. Please make sure that you are using the current login sessionId . |
422 | Not Acceptable | Could not process the request due to invalid body parameters or semantic errors such as exchange not supporting symbols, intervals, studies, and drawings. |
429 | Too Many Request | Exceed the usage limit or the rate limit. Please refer to the request limit for detail. |
500 | Server Error | Could not process the request due to an error, or the server may be temporarily unavailable due to technical issues. |
504 | Process Timeout | Could not process the request due to timeout error. Try your request again. |