+1 888 340 6572

I OpenEquity: Difference between revisions

From MultiCharts
(Created page with "Returns the current equity (netprofit + openpositionprofit) ==== Usage ==== <syntaxhighlight>i_OpenEquity</syntaxhighlight> ==== Notes ==== This function can only be...")
 
mNo edit summary
Line 1: Line 1:
Returns the current equity [[(netprofit + openpositionprofit)]]
Returns the current equity ('''netprofit''' + '''open position profit''').


==== Usage ====
== Usage ==
<syntaxhighlight>i_OpenEquity</syntaxhighlight>  
<syntaxhighlight>i_OpenEquity</syntaxhighlight>  
   
   
==== Notes ====  
== Notes ==
This function can only be used in studies.  
* This function can only be used in studies.  
   
   
==== Example ====  
== Example ==
<syntaxhighlight>i_OpenEquity will return 100 if the current equity is 100.  
<syntaxhighlight>i_OpenEquity</syntaxhighlight>
 
* Will return 100 if the current equity is 100.
i_OpenEquity will return -100 if the current equity is -100.</syntaxhighlight>
* Will return -100 if the current equity is -100.
   
   
[[Category:Strategy Performance]]
[[Category:Strategy Performance]]

Revision as of 19:54, 14 February 2012

Returns the current equity (netprofit + open position profit).

Usage

i_OpenEquity

Notes

  • This function can only be used in studies.

Example

i_OpenEquity
  • Will return 100 if the current equity is 100.
  • Will return -100 if the current equity is -100.