×

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

OpenEntryDate

7 bytes removed, 16:16, 27 January 2012
m
no edit summary
The date is indicated in the YYYMMdd format, where YYY is the number of years since 1900, MM is the month, and dd is the day of the month.
==== Usage ====
<syntaxhighlight>OpenEntryDate(EntryIndex)</syntaxhighlight>
Where: [[EntryIndex]] - a numerical expression, specifying the number of trade (zero-based).
==:'''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]] .
==== Example ==== <syntaxhighlight>OpenEntryDate(1) will ;</syntaxhighlight> Will return 1110402 for the open position if the second trade was generated at April 2nd, 2011.</syntaxhighlight>
[[Category:Strategy Position Trades]]