by mikeyhu70· code credited to CC BY, whentotrade / Lars von Thienen
This indicator plots a cyclic smoothed RSI in a separate pane, with a dominant cycle length, a maximum cycle and a divider as inputs, plus vibration and leveling values.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Two signal lines use selectable moving average types with automatic or manual lengths, and colours show positive and negative delta with a faded shade for waning momentum. Fill colours, transparency and a vertical shift can be adjusted. It shows momentum only and has no trade rules.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Source
source
hlcc4
src
Dominant Cycle Length
int
34
_domcycle
Shift Up/Down Plot
int
50
shiftpt
Max Dominant Cycle Length (0 for infinite)
int
120
domcyclemax
Max Dominant Divider
int
2
domcyclediv
vibration (length=18*0.60)
float
11
vibration
leveling (length=18*0.40)
float
6
leveling
Auto Signal Length #1?
string
Auto
mode_signal
MA Type #1
string
DEMA
maTypeInput
MA Signal Length #1 (manual)
int
5
_maLengthInput
Auto Signal Length #2 ?
string
Auto
mode_signal2
MA Type #2
string
ZLEMA
maTypeInput2
Show all 27 settings
Setting
Type
Default
Variable
MA Signal Length #2 (manual)
int
5
_maLengthInput2
Positive Delta
color
color.green
bullcolor
Negative Delta
color
color.fuchsia
bearcolor
Transparency #1
int
0
transp1
Transparency #2 (waning momentum)
int
60
transp2
MA for diff
string
DEMA
maInput
MA Period
int
3
periodma
Bullish Fill Color (Signal #1)
color
color.rgb(118, 167, 120)
bullFillcolor
Bearish Fill Color (Signal #1)
color
color.rgb(227, 122, 245)
bearFillcolor
Bullish Color (Signal #2)
color
color.rgb(117, 145, 237)
bullFillcolor2
Bearish Color (Signal #2)
color
color.rgb(241, 127, 149)
bearFillcolor2
MA Reference Transparency
int
100
transp
Fill Transparency
int
50
filltransp
Auto Multiplier?
string
Auto
mode_multiplier
Bars in TF Period (Auto Multiplier Manual)
int
1
Multiplier
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
The Derivative Oscillator calculates a double-exponentially smoothed Relative Strength Index (RSI) and subtracts its Simple Moving Average (SMA) to form the main oscillator line. A secondary signal line is plotted using an SMA of the main oscillator values. Th
This indicator calculates a modified MACD oscillator and signal line alongside a trend EMA filter, plotting the output as a stylized column histogram in a separate pane. Instead of plotting true MACD distance, it quantifies positive and negative histogram mome
This indicator calculates and plots the standard Moving Average Convergence Divergence oscillator in a separate pane. It computes the difference between a fast and slow moving average, derives a signal line through smoothing, and plots a histogram representing
Multi-Timeframe Analysis Suite calculates trend direction and momentum conditions across five user-selected timeframes using moving averages, RSI, and Stochastic oscillators. It evaluates moving average slope and oscillator levels to compute trend alignment, m
MACD-V is a volatility-normalized momentum indicator based on research by Alex Spiroglou. It calculates the standard MACD histogram and normalizes it by dividing by the Average True Range (ATR). Plotted in a separate pane as a colored histogram, it includes us
KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev