OPEN-SOURCE SCRIPT

Kaspa Power Law

已更新
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.
發行說明
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.
發行說明
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.
發行說明
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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明