Instruction :
Add URLs to Tools > Options > Expert Advisors > Allow WebRequest for listed URL for your preferred exchange:
Binance Spot
URL 1: api.binance.com
URL 2: stream.binance.com
Binance Futures
URL 1: fapi.binance.com
URL 2: fstream.binance.com
Binance Coin
URL 1: dapi.binance.com
URL 2: dstream.binance.com
ByBit Spot, Futures and Inverse Futures
URL 1: stream.bybit.com
URL 2: api.bybit.com
OKX Spot and Futures
URL 1: ws.okx.com
URL 2: okx.com
Kucoin Spot
URL 1: ws-api-spot.kucoin.com
URL 2: api.kucoin.com
MEXC Spot and Futures
URL 1: wbs.mexc.com
URL 2: api.mexc.com
URL 3 : contract.mexc.com
Gateio Spot, Futures and Delivery Futures
URL 1: api.gateio.ws
URL 2: fx-ws.gateio.ws
Bitget Spot, Futures
URL 1: api.bitget.com
URL 2: ws.bitget.com
Instructions :
Step 1 : For First time run :
1. Add the URLs to MT5 Options
2. Drag the Utility on any chart e.g. XAUUSD, Select Exchange e.g. Binance Futures and set Create Symbols option in setting to true and click OK. Wait patiently, the utility will create all symbols and once its done it will stop printing in Expert tab which you can find by pressing Ctrl + T. the utility will automatically be removed from chart and you should restart the terminal. Once symbols are created, it should always remain false. Symbols created from Binance API may not have correct digit size, to get correct digit size, Import this custom symbols json on symbol menu https://www.mql5.com/en/blogs/post/754520 (only for binance futures)
3. click Views > Symbols from MT5 Menu bar and click Custom > Binance_Futures then you can double click and select symbols to market watch which you wish to stream. Note : If you are running websocket stream and you wish to add more symbol, you should add then restart MT5 to make websocket data receivable on other new symbols you selected to marketwatch.
Step 2 : For Live data
1. Load the Utility on any chart e.g. XAUUSD and select Mode to LIVE and select any Exchange e.g. Binance Futures and live stream of bars will be started
Step 3 : For History and Automatic Update of history
1. Load the Utility on new chart in new tab and select Mode to History and select Exchange e.g. Binance Futures, Set Autoupdate to true to fill the missing bar when you restart MT5
2. You can update the history form the panel by selecting timeframe e.g. H1.You can also load history from any custom date which can be set from Max Date Field on the utility.
Note : When history update is on progress, Update Panel will not be accessible. As soon as its job is done, you can access it again.
Please watch the video for full tutorial. For Free Installation or any technical support or troubleshooting on your system - Send a private message after your purchase
Step 4 : Scheduled History from API :
1. Load the Utility on new chart in new tab and select Mode to Scheduled Update and select Exchange e.g. Binance Futures
2. Adjust settings e.g. Replace Bars in every number of minutes : if you add 5 then it means it will autocorrect bar data from API to make sure if its correct. If this is not correct due to loss of internet of any other reason, it will replace data fetching from API. How many bars to update field allows user to add how many bars should be replaced from current bar.
FAQs:
1. How to see price (cmp) on chart
Use Price Line indicator https://www.mql5.com/en/code/42262
If candle closing time is in negative, Sync your computer time with windows server Internet time.windows.com from clock settings
2. How to get dark template? https://www.mql5.com/en/blogs/post/755213
3. How can i create a symbol with custom digit size?
Use the script attached to create Binance Futures symbol with custom digit size
4. How to backup the historical data?
For some reason if you are cleaning up your MT5, you need to backup history.
You can create a archive under C:\Users\<yourusername>\AppData\Roaming\MetaQuotes\Terminal\<MT5ID>\bases\Custom\history
save it and when you reinstall mt5, move the file and unarchive history.zip to Custom folder