I’m using the PRT platform via IG Markets. Bizarrely, IG supplies volume for indices and stocks but NOT for currencies and commodities. So if you’re trying create a volume based indicator or trading system, you’re out of luck.
Would there be any way to use the tick data stream to code a tick volume graph? I would prefer not to spend weeks learning to code on PRT only to discover it can’t be done.
Thanks
It could be done with variables arrays, only available in PRT v11. Look at this example on how to store and save data on each tick received:
Example #5: tag exact time and price of an event (2 MA cross over) in real time, during the same bar
array variables availability in ProRealTime – examples and discussions
Thanks for your reply, Nicolas.
IG markets is still running v10.3. Haven’t been able to find out if and when they are moving to v11.
Given that we are just counting ticks and don’t need to do any fancy stuff like accessing a particular value in array, would it be possible to do this just with variables? I’m only beginner to intermediate as a programmer, so this is just guesswork on my part.
Might the following work?
- With each new tick, create a variable with the value as a timestamp.
- Create a single bar in a tick volume chart (e.g. 1 minute) by counting all the variables that have timestamp 12:00 PM to 12:01 PM
Cheers