Connect Metatrader to Bittrex

in cryptocurrency •  8 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

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 !!