Indicator · Pine Script v5 · Own pane

RSI Cyclic Smoothed v2

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.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code436
Settings27inputs
LicenceNone stated
Last update6 months ago15 Apr 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

mikeyhu70 on GitHub

Code credit

CC BY, whentotrade / Lars von Thienen, as written in the script's header

Draws

Separate pane below the chart

Markets

Any symbol

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Sourcesourcehlcc4src
Dominant Cycle Lengthint34_domcycle
Shift Up/Down Plotint50shiftpt
Max Dominant Cycle Length (0 for infinite)int120domcyclemax
Max Dominant Dividerint2domcyclediv
vibration (length=18*0.60)float11vibration
leveling (length=18*0.40)float6leveling
Auto Signal Length #1?stringAutomode_signal
MA Type #1stringDEMAmaTypeInput
MA Signal Length #1 (manual)int5_maLengthInput
Auto Signal Length #2 ?stringAutomode_signal2
MA Type #2stringZLEMAmaTypeInput2
Show all 27 settings
SettingTypeDefaultVariable
MA Signal Length #2 (manual)int5_maLengthInput2
Positive Deltacolorcolor.greenbullcolor
Negative Deltacolorcolor.fuchsiabearcolor
Transparency #1int0transp1
Transparency #2 (waning momentum)int60transp2
MA for diffstringDEMAmaInput
MA Periodint3periodma
Bullish Fill Color (Signal #1)colorcolor.rgb(118, 167, 120)bullFillcolor
Bearish Fill Color (Signal #1)colorcolor.rgb(227, 122, 245)bearFillcolor
Bullish Color (Signal #2)colorcolor.rgb(117, 145, 237)bullFillcolor2
Bearish Color (Signal #2)colorcolor.rgb(241, 127, 149)bearFillcolor2
MA Reference Transparencyint100transp
Fill Transparencyint50filltransp
Auto Multiplier?stringAutomode_multiplier
Bars in TF Period (Auto Multiplier Manual)int1Multiplier
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.

Similar Pine Scripts

947 stars

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

Indicator v4 Oscillators & momentumMoving averages
Updated 11 days ago · GPL-3.0 GitHub repository of Derivative Oscillator

Beep Boop

by magic8bot
409 stars

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

Indicator v4 Oscillators & momentumTrend
Updated 3 years ago · MIT GitHub repository of Beep Boop

MACD

by Alorse
330 stars

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

Indicator v4 Oscillators & momentumMoving averages
Updated 2 months ago · None stated GitHub repository of MACD
228 stars

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

Indicator v6 Screeners & dashboardsTrend
Updated 3 months ago · None stated GitHub repository of Multi-Timeframe Analysis Suite

MACD-V

by harryguiacorn
220 stars

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

Indicator v5 Oscillators & momentumVolatility & bands
Updated 1 year ago · None stated GitHub repository of MACD-V

KamaFama

by Mastaaa1987
141 stars

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

Indicator v6 Moving averagesOscillators & momentum
Updated 6 weeks ago · MIT GitHub repository of KamaFama

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers