Difference between revisions of "I OpenEquity"

From MultiCharts
Jump to navigation Jump to search
(Created page with "Returns the current equity (netprofit + openpositionprofit) ==== Usage ==== <syntaxhighlight>i_OpenEquity</syntaxhighlight> ==== Notes ==== This function can only be...")
 
 
(One intermediate revision by one other user not shown)
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 ====
+
== Example ==
This function can only be used in studies.
+
<syntaxhighlight>i_OpenEquity</syntaxhighlight>
+
* Will return 100 if the current equity is 100.
==== Example ====  
+
* Will return -100 if the current equity is -100.
<syntaxhighlight>i_OpenEquity will return 100 if the current equity is 100.  
 
 
 
i_OpenEquity will return -100 if the current equity is -100.</syntaxhighlight>
 
 
   
 
   
 
[[Category:Strategy Performance]]
 
[[Category:Strategy Performance]]

Latest revision as of 12:22, 2 March 2021

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

Usage

i_OpenEquity

Example

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