A strategy that combines an AlphaTrend style volatility core with a MACD condition, higher-timeframe background, three consolidation layers with volume profile buckets, candlestick and macro pattern labels, and a forecast with Bayesian lookback.
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
Cross-asset synergy against three large technology stocks can be required or relaxed, and a maximum trade count and a confidence-interval stop multiplier are exposed. It draws many boxes, lines and labels on the price chart, and the exact entry rules are hard to audit.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Vol Coeff
float
1.5
b_cf
Period
int
14
al_pr
Source
source
close
al_sr
HTF TF
timeframe
15
hf_in
L1 Len
int
20
c_l1
L2 Len
int
40
c_l2
L3 Len
int
80
c_l3
VP Buckets
int
10
vp_bk
Brk Mult
float
1.618
bk_ml
Show Candle Labels
bool
true
sh_cp
Draw Macro Lines
bool
true
sh_mp
Pivot Lookback
int
10
pv_lb
Show all 40 settings
Setting
Type
Default
Variable
Tolerance
float
0.02
st_tl
Bull Color
color
color.new(color.lime,0)
p_clB
Bear Color
color
color.new(color.red,0)
p_clR
Fcast Horizon
int
20
fc_hz
Learn Rate
float
0.1
lr_rt
Bayes LB
int
500
by_lb
Mean Rev
bool
true
en_mr
Weight Matrix
text
1.0 0.5 0.2
0.2 1.0 0.5
0.5 0.2 1.0
wt_in
Require Synergy
bool
true
rq_syn
Relaxed MACD
bool
true
rl_md
Fast Len
int
12
f_ln
Slow Len
int
26
s_ln
Sig Len
int
9
sg_ln
Sec 1
symbol
NASDAQ:AAPL
s_1
Sec 2
symbol
NASDAQ:MSFT
s_2
Sec 3
symbol
NASDAQ:GOOG
s_3
Max Trades
int
3
mx_tr
CI Mult SL
float
1.1
rk_bf
Target RR
float
2.0
rw_ml
Risk-Free Rate
float
0.05
rf_rt
Days to Exp
float
30.0
t_ex
Strike Mult
float
1.0
st_ml
Show HUD
bool
true
sh_tb
Smooth Curves
bool
true
curvP
Show MC Paths
bool
true
sh_mc
Show Consolidations
bool
true
sh_co
Show Ghost Bars
bool
true
sh_gb
LTF Noise TF
timeframe
1
ltf_s
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.
Mean Reversion Strategy is an overlay strategy that identifies pullbacks using a long-term EMA, RSI, and candlestick patterns. It generates long signals when a bullish engulfing candle forms below the EMA while RSI is oversold, and short signals when a bearish
This strategy combines Ichimoku Kinko Hyo components, a Stochastic oscillator, and specific candlestick patterns to generate trade signals. It identifies Kumo twists and range breakouts while evaluating candle body shapes using Fibonacci threshold filters. Tra
This strategy combines candlestick price action with Exponential Moving Average, RSI, and MACD filters to identify short-term trend trades. A long signal occurs when a bullish candle engulfs the previous open while price remains above the EMA, RSI stays below
A strategy version of an ATR pullback scanner. It requires a strong, rising ADX with directional indicators to set the trend direction, and an optional daily SMA 50 and 200 filter. A pullback zone is measured in ATR units from the recent swing. A toggle choose
Tweezer Lyfe is a TradingView strategy that identifies Tweezer reversal patterns on the price chart. It plots Bollinger Bands with RSI and stochastic indicators for momentum confirmation. Bullish signals require a prior bearish candle closing near the lower ba
2 EMA/SMA + RSI Strategy [Alorse] combines three configurable moving averages with a short-period Relative Strength Index filter. It plots fast, slow, and trend moving averages on the price chart. Long entries trigger when the fast moving average is above the