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
Melona OB Strategy 6th Update (by 3dots) calculates channel moving averages to generate oscillator lines, plotting customizable overbought and oversold levels alongside crossover signal points. Users can toggle additional filter components including RSI, MACD, Stochastic, and ADX DI to refine signal conditions. Inputs allow full customization of ATR periods, channel multipliers, Bollinger Bands, and Keltner Channel lengths.
WaveTrend oscillator with overbought and oversold zones
Squeeze Momentum tracking using Bollinger and Keltner channels
Supertrend calculation with adjustable ATR length and factor
Optional signal switches for RSI, MACD, Stochastic, and ADX
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Channel Length
int
10
n1
Average Length
int
21
n2
Over Bought Level 1
int
60
obLevel1
Over Bought Level 2
int
53
obLevel2
Over Sold Level 1
int
-60
osLevel1
Over Sold Level 2
int
-53
osLevel2
ATR Length
int
10
atrPeriod
Factor
float
2.5
factor
Source
source
close
source
Bollinger Bands Length
int
20
bbLength
Bollinger Bands MultFactor
float
2
bbMult
Keltner's Channel Length
int
20
kcLength
Show all 40 settings
Setting
Type
Default
Variable
Keltner's Channel MultFactor
float
1.5
kcMult
Use TrueRange (Keltner's Channel)
bool
true
useTrueRange
Signal Length
int
5
signalLength
Components of the Squeeze Indicator
bool
false
components
Lower Threshold
float
-1.0
lowerThreshold
Upper Threshold
float
1.0
upperThreshold
Enable Trend Change Alert
bool
true
alertTrendChange
RSI
bool
false
swr
Length RSI
int
14
len
MACD
bool
false
swm
fastLength
int
12
fastLength
slowLength
int
26
slowLength
signalLength2
int
9
signalLength2
STOCHASTIC
bool
true
sws
K
int
14
periodK
D
int
3
periodD
Smooth
int
3
smoothK
ADX DI
bool
false
swx
DI Length
int
14
lenx
ADX Smoothing
int
14
lensig
threshold
int
25
th
Commodity Channel Index
bool
false
swc
length
int
20
length
Source
source
close
scc
MA Bullish
color
#2962FF
maColorUp
MA Bearish
color
#b42a2a
maColorDn
Period for Std Dev
int
20
period
Standard Deviation Scaler
int
5
stdDevScaler
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.
This indicator plots a TTM Squeeze momentum oscillator in a separate pane. It compares a Bollinger Band offset to a Keltner Channel offset and marks the zero line white when the difference is non-negative and black when the bands are inside the channel. A line
Calculates dynamic modeling values by applying a mathematical logistic differential equation to price change over a specified lookback length. It measures price momentum relative to the recent high-low price range. The script plots positive and negative logist
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
This indicator detects a Bollinger Band squeeze when the bands sit inside Keltner Channels, marking low volatility. It plots red dots during a squeeze and green dots when the bands are outside, in a separate pane. An optional histogram shows momentum as the cl
This indicator generates trade entry signals and target levels optimized for 1-hour timeframes, designed for external signal extraction. It calculates 7-period and 16-period EMAs alongside 10-period RSI and ATR filters. Long signals occur when the fast EMA cro
The Bubbles Indicator measures volatility squeezes and expansion bursts using Bollinger Bands combined with a sinusoid oscillator and RSI divergence. It processes price data through scaled Bollinger Bands to highlight volatility changes while confirming trend