This strategy detects relative performance between Solana and Ethereum using a liquidity-weighted supertrend (LWST) derived from fast and slow weighted moving averages of liquidity times close.
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
SOLETH MTPI plots the Tsl2 trend line in a separate pane and issues buy signals on close crossing above Tsl2 or sell signals on crossing below, active only during the backtest period. The strategy supports long-only or long-and-short trading modes with 100 percent of equity position sizing. Main settings include Supertrend factor, fast and slow MA lengths, and backtest start date. It draws signals in a separate pane.
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
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
Arrow Size
int
50
arrowSize
Show all 28 settings
Setting
Type
Default
Variable
Supertrend Len
int
10
dema_subject
Supertrend Multiple
float
5
dema_mul
DEMA Length
int
15
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
60
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
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 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 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
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