Difference between revisions of "OpenEntryMaxProfitPerContract"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating maximal value of OpenEntryProfitPerContract for the time from entry order execution. ==== Usage ==== <syntaxhighlight>OpenEntryMax...") |
m |
||
Line 1: | Line 1: | ||
Returns a numerical value, indicating maximal value of [[OpenEntryProfitPerContract]] for the time from entry order execution. | Returns a numerical value, indicating maximal value of [[OpenEntryProfitPerContract]] for the time from entry order execution. | ||
− | + | == Usage == | |
<syntaxhighlight>OpenEntryMaxProfitPerContract(EntryIndex)</syntaxhighlight> | <syntaxhighlight>OpenEntryMaxProfitPerContract(EntryIndex)</syntaxhighlight> | ||
− | Where: | + | Where: |
− | + | :'''EntryIndex''' - a numerical expression, specifying the number of trade (zero-based). | |
+ | |||
+ | == 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]] | + | To retrieve the total number of trades in open position use [[OpenEntriesCount]]. |
− | + | == Example == | |
[[Category:Strategy Position Trades]] | [[Category:Strategy Position Trades]] |
Revision as of 16:19, 27 January 2012
Returns a numerical value, indicating maximal value of OpenEntryProfitPerContract for the time from entry order execution.
Usage
OpenEntryMaxProfitPerContract(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.