Skip to content

CB Charts

TradingToolCrypto edited this page Jan 13, 2024 · 43 revisions

CB Charts Video

Crypto Charts within MetaTrader (MT5)

This robot fetches the exchange klines from api, loads the data within MT5 and creates a CustomSymbol name based on your liking. Currently supports all markets at 15 Crypto Exchanges/Derivatives. Attach the robot to any chart, fill in the parameters and a new chart will pop up. The new chart will display the exchange data including OHLC Bars with Volume and real-time L2 Orderbook snapshots. Orderbook depth includes ten levels.

M1 (one minute) database is created and all higher time-frames are created based off this database.

Crypto Charts MT5

Enable AlgoTrading

Click button for Green Arrow. The Webrequests for historical data will not work, unless you enable AlgoTrading. If you need to stop downloading historical data for any reason, please turn off AlgoTrading.

algo trading

Parameters

  • Select Exchange (drop down menu)
  • Select Start Time (double click to open the calendar)
  • OrderBook Update Speed (webrequest speed to update the chart,ticks, and orderbook)
  • Select Market Name (type in the symbol and make sure the format matches the exchange)
  • Select Chart Suffix (leave blank to create a suffix automatically)
  • Select Quote Digit (the decimal precision for quoting the market)
  • Select Volume Digit (the decimal precision for displaying the orderbook quantity)

Alert Messages

Alert Messages (popup box alerts: see below for more information)

  • HistoricalDataStart (A message with the estimated time to download the history)
  • HistoricalDataFinish (A message when the download is finished)

Add Exchange Url to WebRequests

Need help with adding the urls? Read More.. Exchange names in Bold have trading functionality with the Pro package.

Compare Crypto Exchange Charts

Exchange Ready OrderBook Historical Data Bars Per Request Tick Speed Symbol Example Suffix
Binance Yes Yes All Data 999 500ms BTCUSDT .bnc
Binance US Yes Yes All Data 999 500ms BTCUSDT .bnu
Binance Futures USDT Yes Yes All Data 999 500ms BTCUSDT .bnf
Binance Futures COIN Yes Yes All Data 999 500ms BTCUSD_PERP .bnd
Binance Futures USDT Test Yes Yes All Data 999 500ms BTCUSDT .bnft
Binance Futures COIN Test Yes Yes All Data 999 500ms BTCUSD_PERP .bndt
Bitfinex Yes Yes All Data 1000 1000ms BTCUSD EGLD:USD XTZBTC .btf
Bithumb Yes Yes All Data 500 1000ms BTC-USDT .hum
Bitmax Yes Yes All Data 500 1000ms BTC/USDT .asc
Bitmex Yes Yes All Data 200 2000ms XBTUSD .mex
Bitstamp Yes Yes All Data 1000 500ms BTCUSD .bsp
BTSE Yes Yes All Data 250 500ms BTCPFC .bts
Bybit Yes Yes All Data 200 500ms BTCUSD .byb
Bybit USDT Yes Yes All Data 200 500ms BTCUSDT .byt
Coinbase Yes Yes All Data 300 1000ms BTC-USD .cbs
Deribit Yes Yes All Data 200 2000ms BTC-PERPETUAL .der
Digitex Yes Yes Only 1500 Bars 1500 1000 BTCUSD-PERP .dig
FTX Yes Yes All Data 1000 1000ms BTC-PERP (BTC/USD) .ftx
Gemini No Yes Only 1000 Bars 1000 1000ms BTCUSD .gem
Huobi Global Yes Yes All Data 1000 500ms BTC_CQ .huo
Kraken No Yes -- -- 1000ms XBTUSDT .kra
Kucoin Yes Yes All Data 500 1000ms BTC-USDT .kuc
Kucoin Futures Yes Yes All Data 200 500ms XBTUSDM .kuf
Mexc Yes Yes All Data 1000 500ms BTCUSDT .mxc
Phemex No Yes Only Live - 500ms BTCUSDT .phe
Satang Pro Yes Yes All Data 500 100ms btc_thb .sat
ZBG Yes Yes Only 500 Bars 500 1000ms BTCUSDT .zbg

Preset Setfiles

Use these setfiles to load the setting within the robot. These preset files have the correct symbol for each exchange with the correct values to get you started easily.

crypto chartR Setfiles

Opening Market Depth (OrderBooks)

View -> Depth of Market -> Custom -> CryptoBridge -> Select the market OrderBooks

Backtesting Robots

Once you download the data into MT5, you can use your current robots without any modifications for backtesting. The CB Charts robot downloads M1 data and reconstructs all higher time-frame charts. When you start your backtesting, select the Symbol -> Custom -> CryptoBridge -> Any market that you have downloaded.

Backtesting with CB Charts

Deleting a market from the MT5 database

View -> Symbols -> right click -> Delete

Delete DB

1 - The chart must be closed
2 - The market must be removed from the MarketWatch
3 - OrderDepth window needs to be closed

If you can't remove the symbol from the #Market_Watch , restart MT5 platform and try it again.

Select Volume Digit Explained

This is the number of digits after the decimal.
Lets say you are trading on Binance Futures with BTCUSDT and you want to place a 0.001 order (market, limit, stop) or see order sizes of a minimum value of 0.001. The Volume digit will need to be 3.

  • 0.1 = 1
  • 0.01 = 2
  • 0.001 = 3
  • 0.0001 = 4