How do I get market data with MQL4?

前端 未结 2 1517
傲寒
傲寒 2020-12-12 07:06

I am using metatrader4 and I can get any information \'but\' the market data from btc-e http://docs.mql4.com/constants/environment_state/marketinfoconstants

I.E.

2条回答
  •  醉话见心
    2020-12-12 07:51

    There are two volume types. One is iVolume and then there is iOBV or on balance volume.

    Here is the volume document:

    http://docs.mql4.com/series/ivolume

    On balance volume is nice for targeting the mean volume based on your symbol for a duration of time. Having a long term obv can generate a trend.

    Here is obv:

    http://docs.mql4.com/indicators/iobv

    Now about volume. There is no way determine 'pending' volume it is always a historical indicator.

    If you have a guy who has 10 ltc and wants to sell for 7.50 and someone wanting to buy 10 for 7.49 and there is no order change you have no volume as one waits the other out and who knows how long it takes.

    With that said you might want to look at open interest on the buy and sell side and possibly extrapolate the potential.

    Last point. LTC and BTC are very difficult to peg trends. I have looked at the technicals and all I can say is that stocks look like a tame kitten compared to LTC OR BTC.

    Finally. I bet you didn't know that Stack Exchange has a bitcoin site. I bet this question would get more airplay over there. http://bitcoin.stackexchange.com

    Good luck!

提交回复
热议问题