Download MetaTrader 5
To add comments, please log in or register
Have you made a screenshot in MetaTrader? Share it with friends!
Vojtech Slavinsky
145
Vojtech Slavinsky 2015.01.06 14:30 

Hello,

 How I get actual closes prices from differnt periods in strategy. E.g. from m1 and m5 and m30.

 

Thank you. 

honest_knave
947
honest_knave 2015.01.06 15:38  

You can use iClose.

If you want to access more than the current values (i.e. shift 0), then you will also need to look at iBarShift

Vojtech Slavinsky
145
Vojtech Slavinsky 2015.01.06 16:07  
honest_knave:

You can use iClose.

If you want to access more than the current values (i.e. shift 0), then you will also need to look at iBarShift

 

Thank You.
/
To add comments, please log in or register