PINE LIBRARY

MonthlyReturnsVsMarket

Updated
Library "MonthlyReturnsVsMarket" is a repackaging of the script here

Credits to QuantNomad for orginal script

Now you can avoid to pollute your own strategy's code with the monthly returns table code and just import the library and call displayMonthlyPnL(int precision) function

To be used in strategy scripts.
Release Notes
added meaningful description
Release Notes
Updated description
Release Notes
fix
Release Notes
Added white background color to table so that colors are displayed properly in dark theme
Release Notes
Added 2 parameters to control whether monthly market and yearly (buy & hold) performance are displayed
statisticsstrategies

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer