OpenEntryTime: Difference between revisions
From MultiCharts
m
no edit summary
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
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 == | ||
<syntaxhighlight>OpenEntryTime(0)</syntaxhighlight> | |||
Will return 1028 if the first entry occurred at 10:28 am. | |||
[[Category:Strategy Position Trades]] | [[Category:Strategy Position Trades]] |