ubzen:
previous bar= Close[1] or iClose(Symbol,Period,1)
current bar = Ask, Bid, Open[0] or iOpen(Symbol,Period,0)
Open[0] or iOpen(Symbol,Period,0) isn't the last tick
qjol:
I stand corrected. Use Close[0] or iClose(Symbol,Period,0). Mql4 data-prices are Bid. *** You cannot depend upon 0-Bar Info for other timeframes and/or currencies within the strategy tester. Exception would be Open(0).

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi, I want to see the tick that close the bar and the previous bar. I need this information to compare the prize of the tick that close the current bar and compare this prize with the prize of the one EMA, if the prize of this tick is above of the EMA I will buy if not no. For this is very importan to know the close prize of the current bar, to make this decission, thaks friends