It calculate, according to a signal vector, the total trades occurred in it.
1 | n_trades_calculator (signals)
|
signal |
an xts vector object containing Long/Short signals in -1/+1 format |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.