OPEN-SOURCE SCRIPT

Kaspa Power Law

Mis à jour
Simple Power Law Indicator for Kaspa with addition of adjustable bands above and below the Power Law Price. Best used on Logarithmic view on Daily Time Frame.
Notes de version
Meant to be used on CRYPTO:KASUSD ticker on Daily time frame.

This indicator is designed to help traders visualize the Power Law trend for Kaspa (KAS) with custom bands and Dollar-Cost Averaging (DCA) levels. It provides valuable insights into potential entry and exit points based on predefined price bands and DCA strategies.

Key Features:
Power Law Calculation: The primary trendline is calculated using a Power Law formula that represents long-term growth potential.

Customizable Bands: Users can specify percentage offsets to create bands above and below the Power Law trend. These bands provide a clearer picture of significant market ranges.

DCA Labels:
-Out Labels: When the price crosses above the Power Law trend into specified higher bands, it marks potential exit (sell) points.
-In Labels: When the price drops below the trendline into defined lower bands, it indicates potential buying opportunities.

Visibility Control: Each DCA level label (In or Out) can be independently toggled on or off to match your preferred trading strategy.

Usage Instructions:
Adjust Power Law Bands: Use the inputs to define the percentage offsets for each band above or below the trendline.
DCA Labels Control: Customize each DCA level label visibility using the checkbox options in the settings.
Notes de version
Updated to include inputs to adjust Slope and Intercept as they change with time, as well as adjusted the power law calculation to make it more accurate.

Also, added table to bottom right of screen that shows how much below or above KAS is from the estimated power law price.

Adjusted default settings for DCA at different bands, these are still fully adjustable to your liking.
Notes de version
Summary of Features Added and Updated:
-Updated Power Law Parameters: Adjusted intercept and slope values with user inputs.
-Google Sheet Link: Added a script comment with a link to a Google Sheet for updated slope and intercept values.
-User-defined Percentage Bands: Organized percentage bands into groups for both above and below the power law price.
-User-defined Allocation Amounts: Organized allocation amounts into groups for allocations above and below the power law price.
-Visibility Inputs for Labels: Added options to toggle visibility for different allocation levels, with default settings adjusted.
-Label Printing Interval: Added an input option to specify the interval type (daily or weekly) and interval value for printing labels.
-Dark Grey Text for Labels: Ensured label text color is dark grey to improve visibility on both light and dark backgrounds.
-Interval Logic: Implemented logic to correctly handle the label printing intervals based on user inputs for daily and weekly settings.
-Counter Reset Logic: Ensured counters reset appropriately after a label is printed based on the specified interval.

Live Google Sheet Link for Daily Updated Slope and Intercept:
docs.google.com/spreadsheets/d/1MZe-mDxHDXbMUh0JZ__aipkxO4mHOnj5QikzXL0BL1s/edit?usp=sharing

The PL Formula changes slightly as new data comes available with every daily close. The Google Sheet link above updates and re-calculated the PL formula daily. Updating your indicator every few months would be sufficient.
forecastingregressionsSupport and Resistance

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité