Day of a trade

 

Hi,


Does someone knows how to store the day of a trade in a variable ? For instant, if a trade is opened the 26th then dayofthetrade=26 ...



Thanks for help



Froggy

 

oh, yeah, sure that is possible. Just use:

int openDay = TimeDay(OrderOpenTime());
of course you gotta use OrderSelect() before using OrderOpenTime().
 
tradeigel:

oh, yeah, sure that is possible. Just use:

of course you gotta use OrderSelect() before using OrderOpenTime().

Thanks very much for your quick answer. Froggy.

Reason: