Strategy · Pine Script v5 · Own pane

ETHBTC MTPI

by Mikelkulla

ETHBTC MTPI is a multi-indicator trend-following strategy designed for crypto pairs to determine relative market strength.

View on GitHub

GitHub stars1on the repository
Pine versionv5runs as is
Lines of code380
Settings33inputs
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

ETHBTC MTPI combines up to five toggleable components: Liquidity-Weighted Supertrend, dual exponential moving averages, DEMA Supertrend, DEMA AFR, and Non-Linear Regression. The strategy generates long or short entries based on the combined directional bias and plots in a separate pane. Users can customize indicator parameters, toggle individual sub-indicators, and select trade modes. By default, the strategy operates without hard stop-loss or take-profit exits.

Details

Published by

Mikelkulla on GitHub

Draws

Separate pane below the chart

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
Trade ModestringLong and ShorttradeMode
Enable LWSTbooltruelwst_enabled
Enable Michael's EMAbooltrueema_enabled
Enable DEMA Supertrendbooltruedema_enabled
Enable Dema AFRbooltrueafr_enabled
Enable Non-Linear Regressionbooltruenlr_enabled
Supertrend TypestringSmoothedsupertrendType
Factorfloat1.49Factor2
Supertrend Lengthint33Pd2
Fast MA Lengthint19fast
Slow MA Lengthint42slow
Show all 33 settings
SettingTypeDefaultVariable
EMA Small - Valueint24emaS_value
EMA Big - Valueint42emaB_value
Arrow Up Colorcolorcolor.greenarrowColorUp
Arrow Down Colorcolorcolor.redarrowColorDown
Arrow Sizeint50arrowSize
Supertrend Lenint4dema_subject
Supertrend Multiplefloat4.05dema_mul
DEMA Lengthint9dema_demalen
DEMA Sourcesourcehlc3dema_src
Dema Lenint8afr_dema_len
Dema Sourcesourcecloseafr_src
Periodint14afr_p
Factorfloat1.7afr_atr_factor
Normalization Data Lengthint50nlr_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 8 weeks ago · MPL-2.0 GitHub repository of Strategy Template

More Trend scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers