Download MetaTrader 5

Get Symbol Open / Closed Price

To add comments, please log in or register
All Code Base apps are available from MetaTrader 5. You can publish your own one!
bcs_crew
19
bcs_crew 2015.01.16 15:57 

Hi, I just started to mql5. 

How can I see a symbol of the opening and closing price? 

 

      alis =  SymbolInfoDouble(_sembol,SYMBOL_ASK);

      satis =  SymbolInfoDouble(_sembol,SYMBOL_BID);

      son =  SymbolInfoDouble(_sembol,SYMBOL_LAST);

      yuksek = SymbolInfoDouble(_sembol,SYMBOL_LASTHIGH);

      dusuk = SymbolInfoDouble(_sembol,SYMBOL_LASTLOW);

      kapanis = SymbolInfoDouble(_sembol,SYMBOL_SESSION_CLOSE);

      acilis = SymbolInfoDouble(_sembol,SYMBOL_SESSION_OPEN);

Alain Verleyen
Moderator
30736
Alain Verleyen 2015.01.16 16:37  
bcs_crew:

Hi, I just started to mql5. 

How can I see a symbol of the opening and closing price? 

 

      alis =  SymbolInfoDouble(_sembol,SYMBOL_ASK);

      satis =  SymbolInfoDouble(_sembol,SYMBOL_BID);

      son =  SymbolInfoDouble(_sembol,SYMBOL_LAST);

      yuksek = SymbolInfoDouble(_sembol,SYMBOL_LASTHIGH);

      dusuk = SymbolInfoDouble(_sembol,SYMBOL_LASTLOW);

      kapanis = SymbolInfoDouble(_sembol,SYMBOL_SESSION_CLOSE);

      acilis = SymbolInfoDouble(_sembol,SYMBOL_SESSION_OPEN);

Which opening and closing price ?
bcs_crew
19
bcs_crew 2015.01.19 16:57  
does not matter. for example; eurusd, gbpusd
Alain Verleyen
Moderator
30736
Alain Verleyen 2015.01.19 20:45  
bcs_crew:
does not matter. for example; eurusd, gbpusd
This is not my question. What is "the opening and closing price" ? Opening and closing of what ?
To add comments, please log in or register