PINE LIBRARY
Updated

MonthlyReturnsVsMarket

1 607
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

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.