Strategy · Pine Script v5 · Own pane

SOLBTC MTPI

by Mikelkulla

SOLBTC MTPI is a Pine Script strategy designed to gauge whether Solana is outperforming Bitcoin to determine market allocation.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code374
Settings29inputs
LicenceNone stated
Last update1 year ago27 Apr 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new strategy, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

Mikelkulla on GitHub

Type

Strategy, Pine Script v5

Draws

Separate pane below the chart

Category

Trend, Moving averages, Volatility & bands

Markets

Crypto

Timeframes

Any timeframe

Risk Notes

  • The strategy enters trades without a stop loss

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Start Datetimetimestamp("2020-01-01")startDate
TodaystringManualendDateMode
Trade ModestringLong and ShorttradeMode
Supertrend TypestringSmoothedsupertrendType
Factorfloat1.49Factor2
Supertrend Lengthint35Pd2
Fast MA Lengthint22fast
Slow MA Lengthint52slow
EMA Small - Valueint24emaS_value
EMA Big - Valueint42emaB_value
Arrow Up Colorcolorcolor.greenarrowColorUp
Arrow Down Colorcolorcolor.redarrowColorDown
Show all 29 settings
SettingTypeDefaultVariable
Arrow Sizeint50arrowSize
Supertrend Lenint4dema_subject
Supertrend Multiplefloat4.05dema_mul
DEMA Lengthint9dema_demalen
DEMA Sourcesourceclosedema_src
Dema Lenint8afr_dema_len
Dema Sourcesourcecloseafr_src
Periodint14afr_p
Factorfloat1.7afr_atr_factor
Normalization Data Lengthint64nlr_len
Learning Ratefloat0.1nlr_learningRate
Smooth?booltruenlr_smooth
Smooth Lengthint5nlr_smooth_len
Coefficient b1 (close)float0.5nlr_b1
Coefficient b2 (open)float0.4nlr_b2
Coefficient b3 (high)float0.35nlr_b3
Coefficient b4 (low)float0.25nlr_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.

Similar Pine Scripts

106 stars

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,

Strategy v4 TrendOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of ADX_TSI_Bol Band Trend Chaser

EMA Ribbon MACD

by iamrichardD
57 stars

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

Strategy v6 TrendMoving averages
Updated 1 year ago · Apache-2.0 GitHub repository of EMA Ribbon MACD

Kenny's Strategy

by jerryinyang
5 stars

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

Strategy v4 TrendMoving averages
Updated 2 years ago · None stated GitHub repository of Kenny's Strategy

WaveTrend with Crosses [LazyBear]

by avatar-lavventura
2 stars

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

Strategy v4 TrendVolatility & bands
Updated 7 months ago · None stated GitHub repository of WaveTrend with Crosses [LazyBear]

Sentiment 2

by ggamer5555
1 stars

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

Strategy v6 TrendMoving averages
Updated 5 months ago · None stated GitHub repository of Sentiment 2

Strategy Template

by MoDarK-MK
1 stars

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,

Strategy v6 TrendMoving averages
Updated 7 weeks ago · MPL-2.0 GitHub repository of Strategy Template

More strategys

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers