×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts
Open main menu

Changes

PosTradeExitDateTime

126 bytes added, 09:22, 9 February 2012
m
== Notes ==
* This function can only be used in signals. * To retrieve the total number of trades in specified position use [[PosTradeCount]].* Use [[PosTradeEntryDateTime]] to get the entry time (in DateTime format) for the entry order.
To retrieve the total number of trades in specified position use [[PosTradeCount]].
== Example ==
<syntaxhighlight>PosTradeExitDateTime(1, 0);</syntaxhighlight> Will return a value of 040948.0113310185 43 if the time of the first trade of exit order for the previous most recently closed position was exited is February 9th, 2012, at 1610:2021 am.
[[Category:Strategy Position Trades]]