×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

TotalBarsWinTrades - MultiCharts
Open main menu

TotalBarsWinTrades

Revision as of 11:27, 25 January 2012 by 194.84.116.138 (talk) (Created page with "Returns a numerical value, indicating the total number of bars a position was held during all completed winning trades. ==== Usage ==== <syntaxhighlight>TotalBarsWinTrades<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Usage

TotalBarsWinTrades

Notes

This function can only be used in signals.

Example

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

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