OPEN-SOURCE SCRIPT

WaveTrend Oscillator [Krypt]

Updated
This is similar to regular WaveTrend Oscillator except:

- replaces hlc3 input with a weighted log formula for better stability/performance on high volatility charts
- zero-centered scaling
- SMA crossovers above and below OB/OS thresholds are marked as buy/sell signals
Release Notes
Use SMA curvature information to filter out buy/sell signals likely to be false positives
Release Notes
Rename some chart objects
Release Notes
Long/Short signal now captures some cases of bullish and bearish divergences
Release Notes
Use extra signal smoothing and extra momentum check for curvature
Release Notes
improve buy/sell signals
Release Notes
don't make helper elements editable
Release Notes
start drawing signal earlier, perform averaging on cross steps for more stable bullish/bearish divergence detection
Release Notes
use a 1+2 formula for curvature
Release Notes
Default to lower smoothing to still show something on the chart in the beginning
Release Notes
switch back to 4 for default SMA length
Release Notes
Improve sensitivity in the beginning of the chart
Release Notes
add comment
Release Notes
Replace final EMA smoother with Ehlers' smoother for higher sensitivity
Release Notes
Ignore first candle
Release Notes
reduce default smoothing slightly and allow zero smoothing
Release Notes
do not count MA cross above overbought level as bottom, and likewise do not count count MA cross below oversold level as top.
Release Notes
Simplify generation of buy/sell signals
Release Notes
fix how continues climb/descent is determined
Release Notes
detect hidden divergences
Release Notes
Update colors to make this indicator suitable for either light or dark T/V color modes
Release Notes
quantitatively weigh bullish and bearish signals
logscaleOscillatorswavetrend

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer