CSymbolInfo::SessionAW does not work

 

Hello,

CSymbolInfo::SessionAW() 

always returns 0. Same for  

SymbolInfoDouble(Symbol(),SYMBOL_SESSION_AW) 

 

CSymbolInfo::MarginInitial()

CSymbolInfo::SessionDeals ()

 

What do i wrong ? Market is ticking, CSymbolInfo::Name called, CSymbolInfo::Refresh and CSymbolInfo::RefreshRates

both return true. However, always zero returned.

Thank you 

 
chinaski:

CSymbolInfo::MarginInitial()

CSymbolInfo::SessionDeals ()

 

What do i wrong ? Market is ticking, CSymbolInfo::Name called, CSymbolInfo::Refresh and CSymbolInfo::RefreshRates

both return true. However, always zero returned.

Thank you 

Ii I'm not mistaken, think that for stock symbol, so try that on stock, not forex, 
 
phi.nuts:
Ii I'm not mistaken, think that for stock symbol, so try that on stock, not forex, 

Hello phi, I do not trade stocks...

(thank you for answer) 

It is may worth to mention this is in documentation: "not working for forex" (which MT is primarily for). 

 
chinaski:

Hello phi, I do not trade stocks...

(thank you for answer) 

It is may worth to mention this is in documentation: "not working for forex" (which MT is primarily for). 

Yep, start reading from here https://www.mql5.com/en/forum/7418#comment_295412
(bug?) SYMBOL_MARGIN_INITIAL = 0.0
(bug?) SYMBOL_MARGIN_INITIAL = 0.0
  • www.mql5.com
"SYMBOL_MARGIN_INITIAL Initial margin means the amount in the margin currency required for opening a position with the volume of one lot.
Reason: