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
ETHBTC MTPI V2.0 combines outputs from DEMA Adaptive Fractal Range, DEMA Supertrend, Schaff Trend Cycle, RMI Trend Sniper, and FDI-Adaptive Supertrend indicators. Long entries trigger when the overall MTPI is positive and buy conditions align, with short entries available in long and short mode. The strategy overlays signals directly on the price chart. It applies 99% equity position sizing per trade and includes no default stop loss. Users toggle individual indicators and adjust parameters like lengths and factors to modify signal sensitivity. Signals generate only on confirmed bars.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Start Date
time
timestamp("2020-01-01")
startDate
Trade Mode
string
Long and Short
tradeMode
Enable DEMA Supertrend
bool
true
dema_enabled
Enable Dema AFR
bool
true
afr_enabled
Enable Schaff Trend Cycle
bool
true
stc_enabled
Enable RMI Trend Sniper
bool
true
rmi_enabled
Enable FDI-Adaptive Supertrend
bool
true
fdi_enabled
Dema Len
int
8
afr_dema_len
Dema Source
source
close
afr_src
Period
int
14
afr_p
Factor
float
1.7
afr_atr_factor
Supertrend Len
int
4
dema_subject
Show all 31 settings
Setting
Type
Default
Variable
Supertrend Multiple
float
4.05
dema_mul
DEMA Length
int
9
dema_demalen
DEMA Source
source
close
dema_src
Length
int
24
stc_length
Fast Length
int
52
stc_fastLength
Slow Length
int
100
stc_slowLength
Signal on Quarters?
bool
true
stc_crossover
AAA
float
0.32
AAA
RMI Length
int
16
rmi_length
Positive above
int
66
rmi_pmom
Negative below
int
39
rmi_nmom
Show Range MA
bool
true
rmi_filleshow
Bull Color
color
#00bcd4
rmi_bull
Bear Color
color
#ff5252
rmi_bear
Source
source
ohlc4
fdi_src
Fractal Period Ingest
int
15
fdi_per
Speed
int
33
fdi_speed
Multiplier
float
3.8
fdi_mult
Make it adaptive?
bool
true
fdi_adapt
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 overlays a trend moving average and Supertrend bands directly on the price chart while calculating Stochastic RSI values internally. Long positions trigger when price exceeds the moving average, Supertrend signals bullish momentum, and the StochR
This trading strategy combines three Exponential Moving Averages (8, 14, and 50 periods by default) with Stochastic RSI and Average True Range (ATR). It enters a long position when EMA 1 is above EMA 2, EMA 2 is above EMA 3, and the Stochastic RSI %K line cros
This strategy combines exponential moving averages (EMA 9, 21, 50), RSI, MACD, and Supertrend indicators to enter long positions. It triggers trades using six dynamic setups based on momentum breakouts, EMA crossovers, and pullbacks. Position sizing is compute
This strategy identifies trend reversals through market structure changes (CHoCH) filtered by MACD momentum. It initiates long positions on bullish structure breaks when MACD is positive and above its signal line, and short positions on bearish breaks when MAC
CombinedBinHAndClucV6 is a trading strategy based on the popular BinHV45 and ClucMay72018 algorithms. It calculates dual Bollinger Bands, Exponential Moving Averages, Relative Strength Index, Average True Range, and volume metrics across primary and one-hour h
LuxAlgo Hybrid Gold Scalper is a price-chart strategy aimed at gold. It stacks a fast, slow, trend and 200-period bias EMA to mark trend direction, then filters strength with RSI, ADX and an intraday VWAP. Swing highs and lows are marked from pivot length. Set