* This function can only be used in signals. * To retrieve the total number of trades in open position use [[OpenEntriesCount]].* Use [[PosTradeEntryDateTime]] and [[PosTradeExitDateTime]] to get the time, in DateTime format, for recently closed positions.
To retrieve the total number of trades in open position use [[OpenEntriesCount]].
== Example ==
<syntaxhighlight>OpenEntryTime(0)</syntaxhighlight> Will return 1028 if the first entry occurred at 10:28 am.