Connect Metatrader to Bittrex

in #cryptocurrency7 years ago (edited)

There is a WebRequest () function in MQL. It sends an HTTP request to the specified server.

For example, I take this kind of query from Bittrex WebAPI:

https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-ltc

(Used to get the last 24 hour summary of all active exchanges)

I filled this with the metaquot function:

string API_Request="https://bittrex.com/api/v1.1/public/getmarketsummary?market=btc-ltc";
res=WebRequest("GET",API_Request,cookie,NULL,timeout,post,0,result,headers);

The script must be resolved:

I started the script and got an answer. From the string we take what we need, and fill the data in buffers.For example, I wrote a small indicator that shows the market conditions for BTC-LTC:

Indicators and EA can be run on any MT currency pair charts. They work in their own streams and do not interfere with your usual actions with Forex.

In this animation, the indicator is attached to the graph of the USDJPY (speed playback is increased):

Connect MT to cryptocurrency, write EA and get rich!

* * *

@investigator

Sort:  

More info please??

heyy tiger .. can you share how to import chart from bittrex or any other exchange to mt4? pleasee

thankss so muchc for this !!

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 57709.05
ETH 3100.20
USDT 1.00
SBD 2.33