Difference between revisions of "I OpenEquity"
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...") |
m |
||
Line 1: | Line 1: | ||
− | Returns the current equity | + | Returns the current equity ('''netprofit''' + '''open position profit'''). |
− | + | == Usage == | |
<syntaxhighlight>i_OpenEquity</syntaxhighlight> | <syntaxhighlight>i_OpenEquity</syntaxhighlight> | ||
− | + | == Notes == | |
− | This function can only be used in studies. | + | * This function can only be used in studies. |
− | + | == Example == | |
− | <syntaxhighlight>i_OpenEquity | + | <syntaxhighlight>i_OpenEquity</syntaxhighlight> |
− | + | * Will return 100 if the current equity is 100. | |
− | + | * 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.