Difference between revisions of "PercentProfit"
Jump to navigation
Jump to search
(Created page with "Returns a numerical value, indicating the percentage of winning trades in all trades completed. ==== Usage ==== <syntaxhighlight>PercentProfit</syntaxhighlight> ==== Not...") |
m |
||
Line 1: | Line 1: | ||
Returns a numerical value, indicating the percentage of winning trades in all trades completed. | Returns a numerical value, indicating the percentage of winning trades in all trades completed. | ||
− | + | == Usage == | |
<syntaxhighlight>PercentProfit</syntaxhighlight> | <syntaxhighlight>PercentProfit</syntaxhighlight> | ||
− | + | == Notes == | |
− | This function can only be used in signals. | + | * This function can only be used in signals. |
+ | * Use [[NetProfit]] to get the numerical value of the net profit. | ||
− | + | == Example == | |
− | <syntaxhighlight>PercentProfit | + | <syntaxhighlight>PercentProfit</syntaxhighlight> |
− | winning trades | + | Will return a value of 70 if seven out of the total of 10 completed trades were winning trades. |
[[Category:Strategy Performance]] | [[Category:Strategy Performance]] |
Latest revision as of 19:36, 14 February 2012
Returns a numerical value, indicating the percentage of winning trades in all trades completed.
Usage
PercentProfit
Notes
- This function can only be used in signals.
- Use NetProfit to get the numerical value of the net profit.
Example
PercentProfit
Will return a value of 70 if seven out of the total of 10 completed trades were winning trades.