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.
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.
Versionshinweise:
added meaningful description
Versionshinweise:
Updated description
Versionshinweise:
fix
Versionshinweise:
Added white background color to table so that colors are displayed properly in dark theme
Versionshinweise:
Added 2 parameters to control whether monthly market and yearly (buy & hold) performance are displayed