Symbol Specifications

To add comments, please log in or register
blustacker
34
blustacker  

Hi,

Is it possible for an EA to get Symbol Specifications on a client terminal?


Thanks...

Marco vd Heijden
Moderator
8702
Marco vd Heijden  
Yes.
blustacker
34
blustacker  
Marco vd Heijden:
Yes.
even the Sessions?
Alain Verleyen
37449
Alain Verleyen  

Forum on trading, automated trading systems and testing trading strategies

Checking for Maket Closed

Alain Verleyen, 2016.12.25 15:23

I will never understand why people are asking question without even checking what was already said about the question. (Nothing personal).

Anyway



Forum on trading, automated trading systems and testing trading strategies

How to find the Friday's market closing time?

Alain Verleyen, 2016.12.22 18:44

And even the code I used :

   datetime from,to;
   uint session=0;

   while(SymbolInfoSessionQuote(_Symbol,FRIDAY,session,from,to))
     {
      printf("Quoting session %i start %02i:%02i to %02i:%02i",session,from/3600,(from%3600)/60,to/3600,(to%3600)/60);
      session++;
     }

   session=0;
   while(SymbolInfoSessionTrade(_Symbol,FRIDAY,session,from,to))
     {
      printf("Trading session %i start %02i:%02i to %02i:%02i",session,from/3600,(from%3600)/60,to/3600,(to%3600)/60);
      session++;
     }


To add comments, please log in or register