Posts: 2,433 since Apr 2013
Thanks Given: 481
Thanks Received: 1,627
|
mmarwaha,
you could for example compute the difference in days between BarDateTime of the current bar and the value EntryDateTime of your last entry. Note that subtracting one DateTime from another will result in a TimeSpan and you could then use the Days property to get you the total days.
You could also compute the difference between Date and EntryDate, but the first approach appears to be more convenient.
Regards,
ABCTG
|