-
Notifications
You must be signed in to change notification settings - Fork 10
CB ChartAll
CB ChartAll robot for Metatrader5 has the ability to update all exchange markets real-time all within one robot. Select the exchange and you are ready to go.
- Binance Spot (.com and .us)
- Binance Futures USDT and COIN
- Bybit (spot, linear, inverse)
- Kucoin (spot)
- Mexc (spot)
Need help with adding the urls? Read More.. Exchange names in Bold have trading functionality with the Pro package.
- Binance - https://api.binance.com
- Binance US - https://api.binance.us
- Binance Futures USDT - https://fapi.binance.com
- Binance Futures COIN - https://dapi.binance.com
- Bybit - https://api.bybit.com
- Kucoin - https://api.kucoin.com
- Mexc - https://api.mexc.com
- Exchange_Number (Select an exchange name from the dropdown menu)
- Other parameters removed (depreciated).
If algotrading is disabled, you will get an error 5200 (no web-request will be sent). This robot requires the correct url to the exchange and algotrading must be on.
Right click on a market name -> Chart Window and a new chart will open. The chart will be empty at first. Go to the M1 timeframe and the chart will show one bar after one minute. Bars are created real time every minute.
Historical_1Day script or other scripts can be attached to any of the charts. The chart will begin displaying the downloaded historical data with every api call. Depending on the amount of data, the time to complete the download will vary. 1 year of data can take an hour while a weeks worth of data will take about one minute.
In order to remove the markets from the MarketWatch window, we need to close any charts that belong to that market. Once the chart is closed, we can right click on the MarketWatch window and select Hide ALL. This will hide the markets from our view.
If you want to add the markets again, you can change the chart timeframe that the CB_ChartALL robot is attached to. By changing the timeframe, the robot will run the initialization logic again and import the markets back into the MarketWatch window.
This is the latest robot added to the CB ChartAll family. There are two tasks that this robot tries to solve.
- Downloads historical data for ALL markets created by the CB ChartALL robot
- updates the candlestick database automatically from the tick data collected from the CB ChartALL robot
CB ChartALL fetches real time updates from the exchange and saves the data into the MT5 tick database. MT5 tick database only creates the candlesticks realtime if the chart for that market is open. Therefore, if the chart is closed, the bars are not created while collecting the ticks (Flaw in MT5).
Since MT5 does not create the candlestick data automatically from the tick database, the CB ChartALLUpdater completes that task automatically. The robot will update the candlestick database for all markets even if the chart is not open.
Robots run synchronously, which means only one task is completed at a time. While the first task is being completed (downloading the historical data) the second task is being ignored (creating the candlestick database). How do we complete two tasks at the same time. We run two CB ChartALLUpdater robots.
You will deploy two robots at first. Robot one will keep running to update the candlestick database real-time. Robot two will be removed from the chart automatically when its task is completed (downloading the historical data).
Robot One Settings
- ImportData : False
- CreateNewBarEveryMinute : True
Robot Two Settings
- ImportData : True
- CreateNewBarEveryMinute : False
CB ChartAll builds a database for all markets once you attach the robot to the chart. The amount of historical data is limited to the amount of time you have had the robot attached to the chart. Run the robot on VPS or a 24/7 desktop and build up the database with real time exchange data.
- Telegram Group : TradingToolCrypto
- Crypto Exchange trading tools : Trade with supported Crypto Exchanges only
- MT5 Brokerage trading tools: Trade with any MT5 Brokerage