×

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

OpenEntryTime

232 bytes added, 09:28, 9 February 2012
m
no edit summary
The time is indicated in the HHmm format, where HH is the hour in 24 hours format and mm are minutes.
==== Usage ====
<syntaxhighlight>OpenEntryTime(EntryIndex)</syntaxhighlight>
Where: [[EntryIndex]] - a numerical expression, specifying the number of trade (zero-based).
==== Notes ==== This function can only be used in signals:'''EntryIndex''' - a numerical expression, specifying the number of trade (zero-based).
== Notes == * 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. ==== Example ==== <syntaxhighlight>OpenEntryTime(0)</syntaxhighlight> Will return 1028 if the first entry occurred at 10:28 am.
[[Category:Strategy Position Trades]]