Day of a trade

[Deleted]  

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

[Deleted]  

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

int openDay = TimeDay(OrderOpenTime());
of course you gotta use OrderSelect() before using OrderOpenTime().
[Deleted]  
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.