A little confused

 

I'm a little confused re Ticks vs Bars... am I right in saying this using candles.


Time[0] is the current tick time whereas iTime(Symbol(), 0, 0) is the time of the current candle... if so is iTime the open time?


What is the difference between Open[0] and iOpen(Symbol(), 0, 0)?


Thanks,

 
KingItchee:

I'm a little confused re Ticks vs Bars... am I right in saying this using candles.


Time[0] is the current tick time whereas iTime(Symbol(), 0, 0) is the time of the current candle... if so is iTime the open time?

Time[0]= iTime(Symbol(), 0, 0)=open time of the current candle


What is the difference between Open[0] and iOpen(Symbol(), 0, 0)?

Nothing


Thanks,

 

A "tick" informs you of a price change, and causes your indicator or EA code to be executed..

A "bar" is a record (high low open close) of the price ticks you received during a period of time.

Time[0] is the opening time for the newest bar on the chart, iTime() lets you find the opening time for any bar on any chart for any pair.

Open[0] is the opening pricefor the newest bar on the chart, iOpen() lets you find the opening price for any bar on any chart for any pair.

Reason: