Alper is a multi-indicator trading strategy combining a WaveTrend oscillator, RSI, and Squeeze Momentum logic based on Bollinger Bands and Keltner Channels.
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 strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
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
Operating within a user-defined backtest time window, it plots WaveTrend lines, overbought and oversold levels, and momentum crossovers in a separate pane while recoloring price bars on crossover events. Key settings allow adjustment of channel lengths, RSI parameters, momentum filtering thresholds, and trailing stop distances.
WaveTrend oscillator with overbought and oversold levels
Squeeze Momentum calculations using Bollinger Bands and Keltner Channels
Customizable backtesting date range window
Dynamic chart bar coloring based on oscillator crossovers
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
fromMonth
int
5
fromMonth
fromDay
int
24
fromDay
thruMonth
int
12
thruMonth
thruDay
int
31
thruDay
fromYear
int
2021
fromYear
thruYear
int
2021
thruYear
Channel Length
int
9
n1
Average Length
int
20
n2
Length Fast RSI
int
5
len_fast
Length Slow RSI
int
14
len_slow
BB Length
int
14
length
BB MultFactor
float
2.0
mult
Show all 22 settings
Setting
Type
Default
Variable
KC Length
int
17
lengthKC
KC MultFactor
float
1.5
mult_kc
Filter for Momenutum value
bool
true
useMomAverage
Min for momentum
int
20
MomentumMin
Over Bought Level 1
int
70
obLevel1
Over Bought Level 2
int
53
obLevel2
Over Sold Level 1
int
-70
osLevel1
Over Sold Level 2
int
-53
osLevel2
Trailing Stop Loss
int
4000
inpTrailStop
Trailing Stop Loss Offset
int
0
inpTrailOffset
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 strategy captures strong bullish momentum by combining a 200-period SMA baseline, a custom Bollinger Band, the True Strength Index (TSI) smoothed with WMAs, and the ADX trend strength indicator. It initiates long positions when price is above the 200 SMA,
This strategy combines an EMA ribbon with MACD confirmation and plots in a separate pane. It enters when ribbon alignment, optional MACD zero or signal crosses, volume, smart-money, and multi-timeframe filters agree, then exits with percentage stop loss and ta
This Pine Script strategy calculates Bayesian probabilities of price breaking up or down relative to Bollinger Bands and a Simple Moving Average. It plots these breakout and breakdown probability lines as oscillators in a separate pane. Long entries trigger wh
This strategy combines Bollinger Bands, Bollinger Band Width, and the Relative Strength Index (RSI) for mean-reversion trades. It enters long when price crosses below the lower band with oversold RSI, or when band width contracts under low volatility. Short en
AwesomeADX is a Pine Script v4 strategy that combines an Awesome Oscillator, ADX directional movement, and Bollinger percent B with an optional four-length moving-average trend filter. It sizes each position as a percentage of equity and can limit trades to a
This multi-indicator strategy combines the Relative Strength Index (RSI), Choppiness Index, Stochastic Oscillator, and an Arnaud Legoux Moving Average (ALMA). It plots RSI, Stochastic, and Choppiness lines in a separate pane. Long entries trigger when RSI cros