What is session exactly? Where can I find session index?

 

From this picture, I can see FX market is 24 hours, 5 days a week for both trading and quoting activities. Does it mean there is only one session in a day?

Another conflicting info I heard is there are 3 sessions, Europe session, US session and Asia session. 

In the case of these two functions involving session:

SymbolInfoSessionQuote

SymbolInfoSessionQuote

I need to pass in the session index as the 3rd parameter. 

bool  SymbolInfoSessionQuote(
   string            name,                // symbol name
   ENUM_DAY_OF_WEEK  day_of_week,         // day of the week
    uint              session_index,                 // session index
   datetime&         from,                // time of the session beginning
   datetime&         to                   // time of the session end

   );

Where can I find a complete list of session_index? 

 

Thank you!

 
nicolasxu:

From this picture, I can see FX market is 24 hours, 5 days a week for both trading and quoting activities. Does it mean there is only one session in a day?

Another conflicting info I heard is there are 3 sessions, Europe session, US session and Asia session.

This is when the main Exchange are opened, this is the time where there is most activity in trading, including Forex.


In the case of these two functions involving session:

SymbolInfoSessionQuote

SymbolInfoSessionQuote

I need to pass in the session index as the 3rd parameter. 

bool  SymbolInfoSessionQuote(
   string            name,                // symbol name
   ENUM_DAY_OF_WEEK  day_of_week,         // day of the week
    uint              session_index,                 // session index
   datetime&         from,                // time of the session beginning
   datetime&         to                   // time of the session end

   );

Where can I find a complete list of session_index? 

 

Thank you!

From my experience these data are not reliable, unless you found a broker who provide it correctly. By the way, session index depends of the traded symbol. I never saw such list.
 
angevoyageur:
This is when the main Exchange are opened, this is the time where there is most activity in trading, including Forex.


From my experience these data are not reliable, unless you found a broker who provide it correctly. By the way, session index depends of the traded symbol. I never saw such list.
If I am trading "EURUSD", then what is session index for it? 
 
nicolasxu:
If I am trading "EURUSD", then what is session index for it? 
0. But EURUSD market is always open (24/5), so which information are you hoping to find ?
 
angevoyageur:
0. But EURUSD market is always open (24/5), so which information are you hoping to find ?
Thanks a lot! I am trying to find the open and close price each day (or other period, e.g.: H1, H2) in the past month. Still haven't figure out which function to use. Any suggestions? 
 
nicolasxu:
Thanks a lot! I am trying to find the open and close price each day (or other period, e.g.: H1, H2) in the past month. Still haven't figure out which function to use. Any suggestions? 
CopyClose().