chartingshow / documentation

Documentation for Charting Show
GNU General Public License v3.0
0 stars 0 forks source link

Add Feature: Rational Quadratic Kernel (Support And Resistance Areas) Algorithm #279

Open summercms opened 3 months ago

summercms commented 3 months ago

Enhancement idea

Description

The Rational Quadratic kernel trading algorithm is a type of kernel function used in Gaussian Process Regression (GPR) models. It is derived from the Radial Basis Function (RBF) kernel and can be considered as an infinite sum of RBF kernels with different length-scales.

Rational Quadratic Kernel Properties

The Rational Quadratic kernel is defined as:

k(x, x') = (1 + (x - x')^2 / (2αl^2))^(-α)

Where:

Some key properties of the Rational Quadratic kernel include:

Support and Resistance Areas

While the Rational Quadratic kernel trading algorithm itself does not directly provide support and resistance areas, the Gaussian Process Regression model using this kernel can be employed to identify such areas based on the predicted mean and uncertainty estimates.

Potential support and resistance areas can be inferred from the predicted mean function, where:

Additionally, the uncertainty estimates (e.g., variance) from the GPR model can help quantify the confidence in these potential support/resistance areas. Areas with lower uncertainty are more likely to be significant support/resistance levels.

In summary, the Rational Quadratic kernel trading algorithm offers a flexible and smooth kernel for GPR models, which can then be leveraged to identify potential support and resistance areas in financial data or other time series analysis tasks.

Links

https://en.wikipedia.org/wiki/Rational_quadratic_covariance_function

https://www.cs.toronto.edu/~duvenaud/cookbook/

summercms commented 3 months ago

Update crypto market algo and Core algo codes as well.