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脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。


- 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
更多:

免责声明