This strategy overlays price and combines SuperTrend, ADX, OBV, MACD, directional movement, EMA, and a volatility filter to decide long and short entries.
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
Each filter can be switched on or off, and trading starts only after a chosen date. It can close when enabled signals reverse or when SuperTrend, DI, or MACD flips, depending on those exit switches. Position size is a percentage of equity. Optional lines show SuperTrend, EMA, position, take profit, stop loss, and VWAP. The excerpt does not state a fixed stop distance.
Toggleable SuperTrend, ADX, OBV, MACD and DI filters
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Start
time
timestamp("2025-01-01 00:00 +0900")
start_time
ActLong
bool
true
active_long
ActShort
bool
true
active_short
SuperTrend
bool
true
show_st_line
EMA
bool
false
show_ema_line
Position
bool
true
show_position_line
TP
bool
true
show_tp_line
SL
bool
false
show_sl_line
VWAP
bool
false
show_vwap_line
ST
bool
true
ST_on
ADX
bool
true
ADX_on
OBV
bool
true
OBV_on
Show all 40 settings
Setting
Type
Default
Variable
MACD
bool
true
MACD_on
DI 방향성
bool
true
DI_on
DI 이격도
bool
true
Limit_on
EMA
bool
true
EMA_on
Volatility
bool
true
Volatility_on
VWAP
bool
false
VWAP_on
체크된 신호반전 시 청산 ⇛
bool
true
exit_on_opposite
SuperTrend
bool
false
exit_on_st_flip
DI방향
bool
false
exit_on_di_flip
MACD
bool
false
exit_on_macd_flip
+DI/-DI방향|
bool
true
use_di_filter
DI 길이
int
33
length_di
DI Src
source
close
src_di
DMI DI
int
15
dmiLength
ADX평활
int
22
adxSmoothing
ADX임계
float
22.0
adxThreshold
OBV EMA
int
12
length_obv
기준선(롱)
int
0
Baseline_long
(숏)
int
2
Baseline_short
MACD Fast length
int
21
fastLen_macd
MACD Slow length
int
93
slowLen_macd
EMA Period
int
15
emaPeriod
Lookback Period
int
14
lookbackPeriod_ma
Overbought Level
float
93
overBought_ma
Oversold Level
float
10
overSold_ma
Smoothing Period
int
9
smoothingPeriod_ma
Smoothing Type
string
EMA
smoothingType_ma
25 Percent length
int
25
Percent25
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.
Capital41 Fusion Core Strategy is an overlay trading strategy that combines an exponential moving average trend filter, RSI, Williams %R, and volume/ATR expansion into a composite momentum oscillator. It executes long trades when the smoothed oscillator crosse
This strategy executes trades on gold based on a confluence of Supertrend, RSI, MACD, Bollinger Bands, and volume spikes. It enters long or short positions when trend direction aligns with momentum and price positioning relative to volatility bands, filtered b
This strategy backtests short entry setups by evaluating multiple confluence factors directly on the price chart. It combines price surge detection, RSI overbought conditions with rollover confirmation, Bollinger Band exhaustion, and optional volume spikes alo
This strategy overlays a smoothed moving average on price and combines it with Aroon, Chaikin Money Flow and a Chaikin oscillator to define long and short conditions. Relative Vigor Index and Parabolic SAR values are calculated for exits. Entries can be limite
This strategy calculates MACD, ADX trend strength, ATR, and a rolling VWAP resetting at fixed bar intervals. It plots the VWAP line, stop loss levels, and profit targets directly on the price chart. Long positions enter when MACD crosses above its signal line
This strategy generates trade entries by combining up to five normalized 0-100 technical indicators: Relative Strength Index (RSI with divergence detection), Stochastic RSI, Money Flow Index (MFI), Relative Volatility Index (RVI), and Average Directional Index