Indicator · Pine Script v6 · Own pane

4 in 1 - MA, MACD, Stochastic and RSI

by eddiebelaval

Combines moving averages, MACD, Stochastic oscillator, and RSI into a single separate indicator pane using vertical offsets.

View on GitHub

GitHub stars7on the repository
Pine versionv6current
Lines of code186
Settings34inputs
LicenceNone stated
Last update3 months ago24 Jul 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

The tool visualizes momentum, trend direction, and overbought or oversold conditions concurrently. Settings allow customization of individual lengths, smoothing types, source inputs, auto-zoom sensitivities, and vertical offsets for clear separation between plots.

Details

Published by

eddiebelaval on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Oscillators & momentum, Moving averages, Trend

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
EMA 1booltrueshow_ema1
len_ema1int5len_ema1
SMA 1boolfalseshow_sma1
len_sma1int21len_sma1
EMA 2booltrueshow_ema2
len_ema2int15len_ema2
SMA 2boolfalseshow_sma2
len_sma2int50len_sma2
EMA 3boolfalseshow_ema3
len_ema3int35len_ema3
SMA 3boolfalseshow_sma3
len_sma3int75len_sma3
Show all 34 settings
SettingTypeDefaultVariable
EMA 4boolfalseshow_ema4
len_ema4int89len_ema4
SMA 4boolfalseshow_sma4
len_sma4int100len_sma4
EMA 5boolfalseshow_ema5
len_ema5int200len_ema5
Fastint12fastLength
Slowint26slowLength
Sigint9signalLength
SourcesourceclosemacdSource
Auto-ZoombooltrueuseAutoZoom
zoomSensitivityfloat20.0zoomSensitivity
V-Offsetint300macdOffset
%K Lengthint14periodK
%K Smoothingint1smoothK
%D Smoothingint3periodD
V-Offsetint120stochOffset
Lengthint14rsiLen
SourcesourceclosersiSrc
TypestringSMAmaType
Lenint14maLen
BB Devfloat2.0bbMult
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

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
218 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

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

MultiIndicator

by capissimo
114 stars

MultiIndicator combines multiple technical indicators into a single separate pane to save chart space. It calculates and displays market regime detection based on ordinary least squares regression, a Holt exponential smoothing crossover, normalized RSI, ADX, a

Indicator v4 Oscillators & momentumTrend
Updated 1 year ago · None stated GitHub repository of MultiIndicator

Elder Impulse System

by mihakralj
99 stars

Elder Impulse System plots a column series in a separate pane. It compares a 13-period exponential moving average with its previous value and a MACD histogram with its previous value. A rising EMA and rising histogram print 1, a falling EMA and falling histogr

Indicator v5 TrendOscillators & momentum
Updated 4 weeks ago · Apache-2.0 GitHub repository of Elder Impulse System
47 stars

This indicator calculates the Williams Gator Oscillator derived from Bill Williams Alligator lines and plots dual histograms in a separate pane. The upper histogram displays the absolute difference between the Jaw and Teeth moving averages, while the lower his

Indicator v6 Oscillators & momentumMoving averages
Updated 8 months ago · MIT GitHub repository of Williams Gator Oscillator

More indicators

Trade Your Charts With a Regulated Broker

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

Compare brokers