Changes
Created page with "Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars. ==== Usage ==== <syntaxhighlight>OpenEntryProfitPerContract(..."
Returns a numerical value, indicating the profit (loss if negative) per contract of specified entry in dollars.
==== Usage ====
<syntaxhighlight>OpenEntryProfitPerContract(EntryIndex)</syntaxhighlight>
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]]
==== Example ====
[[Category:Strategy Position Trades]]
==== Usage ====
<syntaxhighlight>OpenEntryProfitPerContract(EntryIndex)</syntaxhighlight>
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]]
==== Example ====
[[Category:Strategy Position Trades]]