TheSocialCryptoClub

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)

- 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
Biblioteka Pine

Działając zgodnie z prawdziwym duchem TradingView, autor opublikował ten kod Pine jako bibliotekę o otwartym kodzie źródłowym, aby inni programiści Pine z naszej społeczności mogli go ponownie wykorzystać. Brawa dla niego! Możesz korzystać z tej biblioteki prywatnie lub w innych publikacjach typu open source, ale ponowne wykorzystanie tego kodu w publikacji podlega Regulaminowi.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz skorzystać z tej biblioteki?

Skopiuj poniższy wiersz i wklej go w swoim skrypcie.