Download MetaTrader 5

Close prices from different cadles.

To add comments, please log in or register
Vojtech Slavinsky
47
Vojtech Slavinsky  

Hello,

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

 

Thank you. 

honest_knave
Moderator
2318
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

Vojtech Slavinsky
47
Vojtech Slavinsky  
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