Download MetaTrader 5
To add comments, please log in or register
Have you just installed MetaTrader 5? Learn it in details!
1mathboy1
118
1mathboy1 2015.01.03 02:33 
I'm coding an EA based on price action, but I have one part where I need to record a "signal bar," (for example a pin bar or a second bar of a 2 bar reversal). So if I see such a bar, I can assign the value iTime of that bar to a global variable. Now, given the datetime of that bar, how can I find its high, low, open and close? (assume we are ahead by a few bars now, like 3)
whroeder1
13627
whroeder1 2015.01.03 03:13  
Read the documentation - iBarShift - MQL4 Documentation
1mathboy1
118
1mathboy1 2015.01.03 03:14  
Awesome! Just what I needed. Thanks!
/
To add comments, please log in or register