Forex is decentralized so it's very hard to gauge the real volume of the pairs. I can't imagine streaming tick data from multiple major forex brokers to aggregate their data just to determine the volume. It'd be too much work for an individual trader like me, and too much work for my computer, too.
So I was instead thinking of using the tick data streamed from the one broker that I'm using to derive approximate volume, which I hope will be close enough to the actual volume.
I thought of a few ways to use the tick data streamed from my broker's MT4:
A. calculate the sum of the number of ticks from a given time window (ex: number of ticks from the last 30 seconds)
B. calculate the sum of the "Volume" values of the ticks from a given time window (in this case, the "Volume" means MQL4's built-in variable Volume, not the actual volume)
And then do some further calculations, such as generating moving averages on A or B.
One possible problem that will probably degrade the quality of the above calculations would be that MT4's EA can drop newer ticks if the previous onTick() event is still running when the newer ticks arrive.
I am not using any live data yet. Currently, I'm only using historical tick data downloaded from truefx.com and histdata.com to do my back tests; both websites' tick data seem to be good enough for me.
Has anyone used tick volume from a single data source to derive approximate volume with acceptable level of accuracy successfully? How reliable is my method of gauging forex volume?
Submitted October 21, 2020 at 08:44AM by twistedmush