PINE LIBRARY

Strategy Utilities

This library comprises valuable functions for implementing strategies on TradingView, articulated in a professional writing style.

The initial version features a monthly Profit & Loss table with percentage variations, utilizing a modified version of the script by @QuantNomad.

Library "strategy_utilities"

monthly_table(results_prec, results_dark)
  monthly_table prints the Monthly Returns table, modified from QuantNomad. Please put calc_on_every_tick = true to plot it.
  Parameters:
    results_prec (int): for the precision for decimals
    results_dark (bool): true or false to print the table in dark mode
  Returns: nothing (void), but prints the monthly equity table

Sample Usage

import TheSocialCryptoClub/strategy_utilities/1 as su
results_prec = input(2, title = "Precision", group="Results Table")
results_dark = input.bool(defval=true, title="Dark Mode", group="Results Table")
su.monthly_table(results_prec, results_dark)
Monthly ChartsPNLstrategies

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.


- Scalping The Bull Indicator: linktr.ee/scalpingthebull
- Scalping The Bull Training: tinyurl.com/corsoindicatorepro
- AlgoTrading Training: tiny.one/corsopinescriptbase
- Crypto News: t.me/joinchat/StkXJM
Also on:

Disclaimer