OPEN-SOURCE SCRIPT

Cosine Kernel Regressions [QuantraSystems]

Mis à jour
Cosine Kernel Regressions

Introduction

The Cosine Kernel Regressions indicator (CKR) uses mathematical concepts to offer a unique approach to market analysis. This indicator employs Kernel Regressions using bespoke tunable Cosine functions in order to smoothly interpret a variety of market data, providing traders with incredibly clean insights into market trends.

The CKR is particularly useful for traders looking to understand underlying trends without the 'noise' typical in raw price movements. It can serve as a standalone trend analysis tool or be combined with other indicators for more robust trading strategies.


snapshot
Legend

Fast Trend Signal Line - This is the foreground oscillator, it is colored upon the earliest confirmation of a change in trend direction.

Slow Trend Signal Line - This oscillator is calculated in a similar manner. However, it utilizes a lower frequency within the cosine tuning function, allowing it to capture longer and broader trends in one signal. This allows for tactical trading; the user can trade smaller moves without losing sight of the broader trend.



snapshot
Case Study

In this case study, the CKR was used alongside the Triple Confirmation Kernel Regression Oscillator (KRO)

  • Initially, the KRO indicated an oversold condition, which could be interpreted as a signal to enter a long position in anticipation of a price rebound. However, the CKR’s fast trend signal line had not yet confirmed a positive trend direction - suggesting that entering a trade too early and without confirmation could be a mistake.

  • Waiting for a confirmed positive trend from the CKR proved beneficial for this trade. A few candles after the oversold signal, the CKR's fast trend signal line shifted upwards, indicating a strong upward momentum. This was the optimal entry point suggested by the CKR, occurring after the confirmation of the trend change, which significantly reduced the likelihood of entering during a false recovery or continuation of the downtrend.

  • This is one of the many uses of the CKR - by timing entries using the fast signal line, traders could avoid unnecessary losses by preventing premature entries.


Methodology

The methodology behind CKR is a multi-layered approach and utilizes many ‘base’ indicators.
  • Relative Strength Index
  • Stochastic Oscillator
  • Bollinger Band Percent
  • Chande Momentum Oscillator
  • Commodity Channel Index
  • Fisher Transform
  • Volume Zone Oscillator


The calculated output from each indicator is standardized and scaled before being averaged. This prevents any single indicator from overpowering the resulting signal.



These outputs are then fed into a customized cosine kernel regression function, which smooths the data, and combines all inputs into a single coherent output.


The tuning of the regression is adjustable, allowing users to fine-tune the sensitivity and responsiveness of the indicator to match specific trading strategies or market conditions. This robust methodology ensures that CKR provides a reliable and adaptable tool for market analysis.
Notes de version
Added combined alerts
Notes de version
Added multi-timeframe functionality.
Notes de version
Updated License.
License formatting shout out to RUBIX_BINARY
cosinewavecryptomarketkernelregressionmultiindicatoroscillaltorOscillatorsregressionsreversalshorttermtradingtrendanalyisisTrend Analysis

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 ?


No statements or claims aim to be financial advice,
neither are any signals from us or our indicators.


Want to learn Trading, Investing or system building?
Join the Community! 👇

discord.gg/FMZDM3bZ9T
Aussi sur:

Clause de non-responsabilité