+1 888 340 6572

OpenEntryProfit: Difference between revisions

From MultiCharts
(Created page with "Returns a numerical value, indicating the profit (loss if negative) of specified entry into the open position in dollars. ==== Usage ==== <syntaxhighlight>OpenEntryProfit(E...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Returns a numerical value, indicating the profit (loss if negative) of specified entry into the open position in dollars.  
Returns a numerical value, indicating the profit (loss if negative) of specified entry into the open position in dollars.  
   
   
==== Usage ====
== Usage ==
<syntaxhighlight>OpenEntryProfit(EntryIndex)</syntaxhighlight>  
<syntaxhighlight>OpenEntryProfit(EntryIndex)</syntaxhighlight>  


Where: [[EntryIndex]] - a numerical expression, specifying the number of trade (zero-based).
Where:  


==== Notes ====
:'''EntryIndex''' - a numerical expression, specifying the number of trade (zero-based).  
This function can only be used in signals.  


To retrieve the total number of trades in open position use [[OpenEntriesCount]]  
== Notes ==
* This function can only be used in signals.
==== Example ====
* 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