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
SOLBTC MTPI calculates a composite trend signal using liquidity-weighted moving averages with Supertrend logic, DEMA filters, and normalized regression components. Position entries occur on confirmed indicator signals in a separate chart pane. Users can select trade modes and adjust smoothing factors, ATR parameters, and backtest dates. The strategy lacks a built-in stop loss by default.
Liquidity-weighted moving average Supertrend calculation
Multi-indicator composite scoring system
Configurable Long-Only and Long-and-Short trade modes
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
Today
string
Manual
endDateMode
Trade Mode
string
Long and Short
tradeMode
Supertrend Type
string
Smoothed
supertrendType
Factor
float
1.49
Factor2
Supertrend Length
int
35
Pd2
Fast MA Length
int
22
fast
Slow MA Length
int
52
slow
EMA Small - Value
int
24
emaS_value
EMA Big - Value
int
42
emaB_value
Arrow Up Color
color
color.green
arrowColorUp
Arrow Down Color
color
color.red
arrowColorDown
Show all 29 settings
Setting
Type
Default
Variable
Arrow Size
int
50
arrowSize
Supertrend Len
int
4
dema_subject
Supertrend Multiple
float
4.05
dema_mul
DEMA Length
int
9
dema_demalen
DEMA Source
source
close
dema_src
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
Normalization Data Length
int
64
nlr_len
Learning Rate
float
0.1
nlr_learningRate
Smooth?
bool
true
nlr_smooth
Smooth Length
int
5
nlr_smooth_len
Coefficient b1 (close)
float
0.5
nlr_b1
Coefficient b2 (open)
float
0.4
nlr_b2
Coefficient b3 (high)
float
0.35
nlr_b3
Coefficient b4 (low)
float
0.25
nlr_b4
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
Kenny's Strategy combines multiple exponential moving averages to identify trend changes and generate entry signals. It calculates short, medium, and long EMAs from a user-selected source and checks for alignment within specific zones. A long-term EMA filter r
This strategy combines multiple technical indicator systems into a composite trading setup. It computes an Ichimoku Cloud, an ATR-based trailing stop system (nKRAL) with optional Heikin Ashi smoothing, Bollinger Bands, Parabolic SAR, and higher-timeframe Super
Sentiment 2 is a trend-following strategy that calculates a normalized composite market sentiment score ranging between 0 and 1. It combines exponential and Hull moving average slopes, high/low midpoints, Supertrend distances, and Parabolic SAR metrics. Plotte
This strategy template provides a modular foundation for building TradingView v6 backtests. It uses a placeholder Exponential Moving Average crossover signal combined with customizable filters for higher-timeframe trend alignment, volatility regime thresholds,