yesterday close price

 

Hi everyone

I need some help.

I need the yesterday close price for Ger30 CFD

I have found this indicator prior_day_open_close_line,  but it give me as "yesterday closing price" the open price of last candle of yesterday.

so, I have a different close price into every time frame (that's not good)

could you please tell me which indicator can give me the real "yesterday close price" into every time frame?

or, could you set this indicator into a correct way?


thanks

 
maybe you need ex too
 
hellboy78:

Hi everyone

I need some help.

I need the yesterday close price for Ger30 CFD


Use . . .   iClose(SymbolName, PERIOD_D1, 1)
 

could you please explain where to use that?


thanks

 
hellboy78:

could you please explain where to use that?

You use it in your code . . .  it gives you the close price of yesterday's  (bar 1)  D1 bar.
 

I have not experience into programming,

could you please tell me where to write this code? in which place?

 
hellboy78:

I have not experience into programming,

could you please tell me where to write this code? in which place?

Ah I see . . .  you can teach yourself how:  Book ,  or pay someone to do it for you: MT4 & MT5 coding  
 

how much is a "credit" ???

 
hellboy78:

how much is a "credit" ???


From here:  https://www.mql5.com/en/articles/302

Credit is a MQL5.community title unit that is a US dollar equivalent. 

 
job posted
 
does anybody have yesterday closing price mt5 version?
Reason: