Difference between revisions of "OpenEntryTime"
Jump to navigation
Jump to search
m |
m (→Notes) |
||
Line 11: | Line 11: | ||
== Notes == | == Notes == | ||
− | This function can only be used in signals. | + | * 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 == | == Example == | ||
[[Category:Strategy Position Trades]] | [[Category:Strategy Position Trades]] |
Revision as of 09:27, 9 February 2012
Returns a numerical value, indicating the time of specified entry into the open position.
The time is indicated in the HHmm format, where HH is the hour in 24 hours format and mm are minutes.
Usage
OpenEntryTime(EntryIndex)
Where:
- 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.