Forum

Confused about Tick Data

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

Simple Question on OrderTotal()

Hey all, googled for OrderTotal() doc but seems to be missing something. Have noticed that for looping through open/pending orders, people use for(i=0, i < OrderTotal(), i++) Or for(i=OrderTotal() - 1, i>=0, i--). Dumb qns but can I check why is it i=OrderTotal() - 1 and not i=OrderTotal() if I