Difference between revisions of "I ClosedEquity"
Jump to navigation
Jump to search
(Created page with "Returns the profit or loss realized when a position has been closed. ==== Usage ==== <syntaxhighlight>i_ClosedEquity</syntaxhighlight> ==== Notes ==== This function can ...") |
m |
||
Line 1: | Line 1: | ||
Returns the profit or loss realized when a position has been closed. | Returns the profit or loss realized when a position has been closed. | ||
− | + | == Usage == | |
<syntaxhighlight>i_ClosedEquity</syntaxhighlight> | <syntaxhighlight>i_ClosedEquity</syntaxhighlight> | ||
− | + | == Notes == | |
− | This function can only be used in studies. | + | * This function can only be used in studies (indicators). |
− | + | == Example == | |
− | <syntaxhighlight>i_ClosedEquity | + | <syntaxhighlight>i_ClosedEquity</syntaxhighlight> |
+ | Will return 100 if the closed equity is 100. | ||
[[Category:Strategy Performance]] | [[Category:Strategy Performance]] |
Revision as of 19:50, 14 February 2012
Returns the profit or loss realized when a position has been closed.
Usage
i_ClosedEquity
Notes
- This function can only be used in studies (indicators).
Example
i_ClosedEquity
Will return 100 if the closed equity is 100.