+1 888 340 6572

TotalBarsLosTrades: Difference between revisions

From MultiCharts
(Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed losing trades. ==== Usage ==== <syntaxhighlight>TotalBarsLosTrades</...")
(No difference)

Revision as of 11:25, 25 January 2012

Returns a numerical value, indicating the total number of bars a position was held during all completed losing trades.

Usage

TotalBarsLosTrades

Notes

This function can only be used in signals.

Example

TotalBarsLosTrades will return a value of 14 if four losing trades held positions for 2, 5, 3, and 
4 bars 

TotalBarsLosTrades will return a value of 0 if no losing trades were completed during the entire
trading period