Close of the day before

 

Dear all

I want to know how to get the close of the previous day

I knew how to get the open of the today iOpen("EURUSD",PERIOD_D1)

now i want the close of yesterday

any help please.

Thanks in advanced

 
 

A

iClose("EURUSD",PERIOD_D1,1)

-BB-

 
BarrowBoy:

A

-BB-


Thanks alot for the help
 

can someone help me edit sar ohlc to use heiken ashi ohlc

Hi, I have an MTF indicator that uses sar, however I'd like the sar to calculate heiken ashi ohlc, and not the normal type

Can you tell me how I can do this, my mtf indicator calls to the sar indicator to calculate sar formula, I think it is calling to the internal indicator in mt4 that can not edit

you can skype or email if you can assist and like to talk about it

skype sty671

email sty671@gmail.com

I can also supply the original file that I'm trying to use heiken ashi ohlc for

 
sty671:

can someone help me edit sar ohlc to use heiken ashi ohlc

https://www.mql5.com/en/forum/132964
Reason: