Confused about Tick Data

To add comments, please log in or register
airified
93
airified  

Hi all,

Amateur question - was attempting to download tick data off my platform and when i was going through the data, was suddenly very confused with what tick data's supposed to represent.

Understand from the docs that:

OnTick: The NewTick event is generated for Expert Advisors only when a new tick for a symbol is received, to the chart of which the Expert Advisor is attached.

NewTick: The NewTick event is generated if there are new quotes, it is processed by OnTick() of Expert Advisors attached.


Example of downloaded data for EURGBP:

Time Open Close High Low Volume
2017.06.21 10:01:00 0.88261 0.88263 0.88263 0.88261 6
2017.06.21 10:01:00 0.88261 0.88264 0.88264 0.88261 7
2017.06.21 10:01:00 0.88261 0.88265 0.88265 0.88261 8


Confusion:

- When's a NewTick event generated? I have always thought its generated each time the price level changes but that seems to be wrong.

- Given that my chart is set to show bid prices, i assume that these are bid prices but if 1 tick is the smallest price movement, why are there differences between open, close, high and low prices? 

- Does this mean that if i were to download Bid() and Ask() prices for each tick, there will be a Open|Bid, Open|Ask, Close|Bid... - a total of 8 prices?


Any help would be appreciated. Thank you!

Client Terminal Events - MQL4 programs - MQL4 Reference
Client Terminal Events - MQL4 programs - MQL4 Reference
  • docs.mql4.com
Client Terminal Events - MQL4 programs - MQL4 Reference
airified
93
airified  
airified:

Hi all,

Amateur question - was attempting to download tick data off my platform and when i was going through the data, was suddenly very confused with what tick data's supposed to represent.

Understand from the docs that:

OnTick: The NewTick event is generated for Expert Advisors only when a new tick for a symbol is received, to the chart of which the Expert Advisor is attached.

NewTick: The NewTick event is generated if there are new quotes, it is processed by OnTick() of Expert Advisors attached.


Example of downloaded data for EURGBP:

Time Open Close High Low Volume
2017.06.21 10:01:00 0.88261 0.88263 0.88263 0.88261 6
2017.06.21 10:01:00 0.88261 0.88264 0.88264 0.88261 7
2017.06.21 10:01:00 0.88261 0.88265 0.88265 0.88261 8


Confusion:

- When's a NewTick event generated? I have always thought its generated each time the price level changes but that seems to be wrong.

- Given that my chart is set to show bid prices, i assume that these are bid prices but if 1 tick is the smallest price movement, why are there differences between open, close, high and low prices? 

- Does this mean that if i were to download Bid() and Ask() prices for each tick, there will be a Open|Bid, Open|Ask, Close|Bid... - a total of 8 prices?


Any help would be appreciated. Thank you!


Apologies - realized that small data set does not show differences in open, close, high and low prices.


Time Open Close High Low Volume
2017.06.21 10:01:00 0.88261 0.88263 0.88263 0.88261 6
2017.06.21 10:01:00 0.88261 0.88264 0.88264 0.88261 7
2017.06.21 10:01:00 0.88261 0.88265 0.88265 0.88261 8
2017.06.21 10:01:00 0.88261 0.88264 0.88265 0.88261 9
2017.06.21 10:01:00 0.88261 0.88265 0.88265 0.88261 10
2017.06.21 10:01:00 0.88261 0.88265 0.88265 0.88261 11
2017.06.21 10:01:00 0.88261 0.88267 0.88267 0.88261 12
2017.06.21 10:01:00 0.88261 0.88267 0.88267 0.88261 13
2017.06.21 10:01:00 0.88261 0.8827 0.8827 0.88261 14
2017.06.21 10:01:00 0.88261 0.8827 0.8827 0.88261 15
2017.06.21 10:01:00 0.88261 0.88271 0.88271 0.88261 16
2017.06.21 10:01:00 0.88261 0.88271 0.88271 0.88261 17
2017.06.21 10:01:00 0.88261 0.88272 0.88272 0.88261 18
2017.06.21 10:01:00 0.88261 0.88273 0.88273 0.88261 19
2017.06.21 10:01:00 0.88261 0.88274 0.88274 0.88261 20
2017.06.21 10:01:00 0.88261 0.88273 0.88274 0.88261 21
2017.06.21 10:01:00 0.88261 0.88273 0.88274 0.88261 22
2017.06.21 10:01:00 0.88261 0.88274 0.88274 0.88261 23
2017.06.21 10:01:00 0.88261 0.88276 0.88276 0.88261 24
2017.06.21 10:01:00 0.88261 0.88278 0.88278 0.88261 25
2017.06.21 10:01:00 0.88261 0.88279 0.88279 0.88261 26
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 27
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 28
2017.06.21 10:01:00 0.88261 0.88276 0.88279 0.88261 29
2017.06.21 10:01:00 0.88261 0.88275 0.88279 0.88261 30
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 32
2017.06.21 10:01:00 0.88261 0.88279 0.88279 0.88261 34
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 35
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 36
2017.06.21 10:01:00 0.88261 0.88276 0.88279 0.88261 37
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 38
2017.06.21 10:01:00 0.88261 0.88275 0.88279 0.88261 39
2017.06.21 10:01:00 0.88261 0.88276 0.88279 0.88261 40
2017.06.21 10:01:00 0.88261 0.88275 0.88279 0.88261 41
2017.06.21 10:01:00 0.88261 0.88274 0.88279 0.88261 42
2017.06.21 10:01:00 0.88261 0.88273 0.88279 0.88261 43
2017.06.21 10:01:00 0.88261 0.88273 0.88279 0.88261 44
2017.06.21 10:01:00 0.88261 0.88274 0.88279 0.88261 45
2017.06.21 10:01:00 0.88261 0.88274 0.88279 0.88261 46
2017.06.21 10:01:00 0.88261 0.88273 0.88279 0.88261 47
2017.06.21 10:01:00 0.88261 0.88273 0.88279 0.88261 48
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 49
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 50
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 51
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 52
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 53
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 54
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 56
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 57
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 58
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 59
2017.06.21 10:01:00 0.88261 0.8827 0.88279 0.88261 60
2017.06.21 10:01:00 0.88261 0.88269 0.88279 0.88261 61
2017.06.21 10:01:00 0.88261 0.8827 0.88279 0.88261 62
2017.06.21 10:01:00 0.88261 0.88269 0.88279 0.88261 63
2017.06.21 10:01:00 0.88261 0.8827 0.88279 0.88261 64
2017.06.21 10:01:00 0.88261 0.8827 0.88279 0.88261 65
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 66
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 67
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 68
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 69
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 70
2017.06.21 10:01:00 0.88261 0.8827 0.88279 0.88261 71
2017.06.21 10:01:00 0.88261 0.88269 0.88279 0.88261 72
2017.06.21 10:01:00 0.88261 0.88268 0.88279 0.88261 73
2017.06.21 10:01:00 0.88261 0.88269 0.88279 0.88261 74
2017.06.21 10:01:00 0.88261 0.8827 0.88279 0.88261 75
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 76
2017.06.21 10:01:00 0.88261 0.88271 0.88279 0.88261 77
2017.06.21 10:01:00 0.88261 0.88272 0.88279 0.88261 78
2017.06.21 10:01:00 0.88261 0.88273 0.88279 0.88261 79
2017.06.21 10:01:00 0.88261 0.88274 0.88279 0.88261 80
2017.06.21 10:01:00 0.88261 0.88274 0.88279 0.88261 81
2017.06.21 10:01:00 0.88261 0.88275 0.88279 0.88261 82
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 83
2017.06.21 10:01:00 0.88261 0.88279 0.88279 0.88261 84
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 85
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 86
2017.06.21 10:01:00 0.88261 0.88276 0.88279 0.88261 87
2017.06.21 10:01:00 0.88261 0.88275 0.88279 0.88261 88
2017.06.21 10:01:00 0.88261 0.88276 0.88279 0.88261 89
2017.06.21 10:01:00 0.88261 0.88275 0.88279 0.88261 90
2017.06.21 10:01:00 0.88261 0.88276 0.88279 0.88261 91
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 92
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 93
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 94
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 95
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 96
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 97
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 98
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 99
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 100
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 101
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 102
2017.06.21 10:01:00 0.88261 0.88277 0.88279 0.88261 103
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 104
2017.06.21 10:01:00 0.88261 0.88278 0.88279 0.88261 105
To add comments, please log in or register