Download MetaTrader 5
To add comments, please log in or register
Find out how social trading can improve your profits
Icham Aidibe
9885
Icham Aidibe 2014.02.18 16:02 
Date="+SymbolInfoInteger(_Symbol,SYMBOL_TIME)+" 

returns the date in that format : 

Date=1392399002

did i miss something ?

Alain Verleyen
Moderator
28701
Alain Verleyen 2014.02.18 17:34  
blouf:

returns the date in that format : 

Date=1392399002

did i miss something ?

Yes. SymbolInfoInteger() returns a long.
Icham Aidibe
9885
Icham Aidibe 2014.02.18 19:41  
angevoyageur:
Yes. SymbolInfoInteger() returns a long.
oh. will symbolinfodouble() return a double ?
Alain Verleyen
Moderator
28701
Alain Verleyen 2014.02.18 19:53  
blouf:
oh. will symbolinfodouble() return a double ?

There are chances.

If you need a formatted date, use appropriate conversion function.

Icham Aidibe
9885
Icham Aidibe 2014.02.19 01:12  
angevoyageur:

There are chances.

If you need a formatted date, use appropriate conversion function.

Appropriate conversion function. Like ? Cuz i do need a formatted date.
Rodrigo Malacarne
Moderator
9611
Rodrigo Malacarne 2014.02.19 01:30  
blouf:
Appropriate conversion function. Like ? Cuz i do need a formatted date.

Try to use

TimeToString(SymbolInfoInteger(_Symbol,SYMBOL_TIME));
Icham Aidibe
9885
Icham Aidibe 2014.02.19 18:06  
Malacarne:

Try to use

thanks.
/
To add comments, please log in or register