OPEN-SOURCE SCRIPT

KERPD Noise Filter - Kaufman Efficiency Ratio and Price Density

Aktualisiert
This indicator combines Kaufman Efficiency Ratio (KER) and Price Density theories to create a unique market noise filter that is 'right on time' compared to using KER or Price Density alone. All data is normalized and merged into a single output. Additionally, this indicator provides the ability to consider background noise and background noise buoyancy to allow dynamic observation of noise level and asset specific calibration of the indicator (if desired).

The basic theory surrounding usage is that: higher values = lower noise, while lower values = higher noise in market.

Notes: NON-DIRECTIONAL Kaufman Efficiency Ratio used. Threshold period of 30 to 40 applies to Kaufman Efficiency Ratio systems if standard length of 20 is applied; maintained despite incorporation of Price Density normalized data.

TRADING USES:
-Trend strategies, mean reversion/reversal/contrarian strategies, and identification/avoidance of ranging market conditions.
-Trend strategy where KERPD is above a certain value; generally a trend is forming/continuing as noise levels fall in the market.
-Mean reversion/reversal/contrarian strategies when KERPD exits a trending condition and falls below a certain value (additional signal confluence confirming for a strong reversal in price required); generally a reversal is forming as noise levels increase in the market.
-A filter to screen out ranging/choppy conditions where breakouts are frequently fake-outs and or price fails to move significantly; noise level is high, in addition to the background buoyancy level.
-In an adaptive trading systems to assist in determining whether to apply a trend following algorithm or a mean reversion algorithm.

THEORY / THOUGHT SPACE:
The market is a jungle. When apex predators are present it often goes quiet (institutions moving price), when absent the jungle is loud.
There is always background noise that scales with the anticipation of the silence, which has features of buoyancy that act to calibrate the beginning of the silence and return to background noise conditions.
Trend traders hunt in low noise conditions. Reversion traders hunt in the onset of low noise into static conditions. Ranges can be avoided during high noise and buoyant background noise conditions.
Distance between the noise line and background noise can help inform decision making.

CALIBRATION:
- Set the Noise Threshold % color change line so that the color cut off is where your trend/reversion should begin.
- Set the Background Noise Buoyancy Calibration Decimal % to match the beginning/end of the color change Noise Threshold % line. Match the Background Noise Baseline Decimal %' to the number set for buoyancy.
- Additionally, create your own custom settings; 33/34 and 50 length also provides interesting results.
- A color change tape option can be enabled by un-commenting the lines at the bottom of this script.

Market Usage:
Stock, Crypto, Forex, and Others

Excellent for: NDQ, J225, US30, SPX

Market Conditions:
Trend, Reversal, Ranging
Versionshinweise
Simple post-publication updates to text/code.
Versionshinweise
Updated chart to non-Heiken Ashi Candle Type
Versionshinweise
Updated chart to reflect standard candles and normalization formula note.
Versionshinweise
Having issues updating the chart to non-Heikin Ashi (HA) candles as requested by house rules; notably works with both types of candles, yet I prefer HA style candles. Minor code notes updated. Apologies.
Versionshinweise
Updated code to Pinescript 6 standards. Removed in-script commentary and naming conventions for clarity.
Versionshinweise
Updating due to HA candle in main image.
Versionshinweise
Tape below indicator zero line added as permanent feature.
Versionshinweise
Updated tape related naming conventions, plot comments, and code spacing to ensure simplicity for users. Tape plot can now be shown or hidden in settings.
densityefficiencyfiltermarketnoiseOscillatorspriceratiosentimenttrendTrend Analysis

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss