Difference between revisions of "OpenEntryProfit"
Jump to navigation
Jump to search
m |
m |
||
Line 9: | Line 9: | ||
== 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]]. | |
− | To retrieve the total number of trades in open position use [[OpenEntriesCount]]. | + | * Use [[OpenEntryProfitPerContract]] to get the open profit per contract. |
− | |||
− | |||
[[Category:Strategy Position Trades]] | [[Category:Strategy Position Trades]] |
Latest revision as of 09:30, 9 February 2012
Returns a numerical value, indicating the profit (loss if negative) of specified entry into the open position in dollars.
Usage
OpenEntryProfit(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 OpenEntryProfitPerContract to get the open profit per contract.