Open, high, Low, Close [] double

To add comments, please log in or register
Georgios Kourogiorgas
406
Georgios Kourogiorgas  

Hi

The double open[] gives the open price of a bar. As in https://docs.mql4.com/predefined/open

Is that price bid or ask?

Thanks

Open - Predefined Variables - MQL4 Reference
Open - Predefined Variables - MQL4 Reference
  • docs.mql4.com
Series array elements are indexed in the reverse order, i.e., from the last one to the first one. The current bar which is the last in the array is indexed as 0. The oldest bar, the first in the chart, is indexed as Bars-1.
Marco vd Heijden
Moderator
12666
Marco vd Heijden  
bid
William Roeder
20207
William Roeder  
Georgios Kourogiorgas: The double open[] gives the open price of a bar. As in https://docs.mql4.com/predefined/open
  1. In MT4, the predefined array is Open[]. open[] is a parameter in OnCalculate. The former is an asSeries array. The latter, you must set the order.

  2. Please use the link button Use the link button See the difference? https://docs.mql4.com/predefined/open
              Messages Editor
To add comments, please log in or register