NEWCard payments are live · from $18/month, USDT also acceptedSee plans
COINPRED / STRATEGY LIBRARY

ETH SSL + Wave Trend: Long when SSL Channel and Wave Trend both cross up, with baseline, Keltner, candle-size and 200-EMA filters; ATR stop and a 2.5R target. Shorts are symmetric

kevinmck100's open-source trend script (MPL 2.0), titled SSL + Wave Trend Strategy. A long needs an SSL Channel cross up and a Wave Trend wt1-over-wt2 cross, plus default filters for the SSL Hybrid baseline, a bar inside Keltner, a modest body, and a target that would not cut the 200 EMA first. The stop uses ATR; the target is 2.5 times that risk. Both sides are used. The author's chart is BYBIT:ETHUSDT.P, 15-minute. Rules follow the source; this page invents no backtest figures.

Illustrated guidesPine Script®Included with monthly & annual plans
← All strategies
kevinmck100 · 1.0 · 2026-12-05 · Trend following
ETH SSL + Wave Trend: Long when SSL Channel and Wave Trend both cross up, with baseline, Keltner, candle-size and 200-EMA filters; ATR stop and a 2.5R target. Shorts are symmetric

The idea

This is kevinmck100's open-source strategy, published as SSL + Wave Trend Strategy. Besides the MPL 2.0 header and © kevinmck100, the source credits LazyBear's WaveTrend Oscillator, ErwinBeckers' SSL Channel, Mihkel00's SSL Hybrid, ceyhun's Keltner bands, FreeReveller's candle-height method, and sueun123's NNFX ATR. Direction comes from the SSL Channel cross, Wave Trend has to flip the same way, and the remaining filters are there to skip oversized candles, bars that sit outside the Keltner Channel, or trades whose target would hit the 200 EMA first.

The SSL Channel cross and the Wave Trend cross are hard conditions; there is no input to turn either of them off. The default extra filters are: close above the SSL Hybrid baseline channel for a long (or below it for a short), the entry bar inside the Keltner Channel (wicks included by default), a candle body within the size cap, and a take-profit that would not cross the 200-period EMA first. The stop is ATR times 1.7, the target is 2.5 times that risk, and position size is set from a 1% equity risk. The author's chart is BYBIT:ETHUSDT.P, 15-minute. The date filter defaults to 1 January 2022 through 1 January 2100.

Author chart of kevinmck100 SSL + Wave Trend Strategy on BYBIT:ETHUSDT.P 15-minute
Author chart: BYBIT:ETHUSDT.P, 15-minute, from the script's publication page. The image shows the SSL Channel, baseline, Keltner Channel, and trade marks; it is only a visual example, not a live or backtest track record. / 作者展示:BYBIT:ETHUSDT.P,15 分钟图,取自作者发布页主图。

How the lines are built

  • Wave Trend follows the usual LazyBear construction: an EMA of hlc3, then ci, then wt1, with wt2 a 4-period simple average of wt1. Defaults are channel length 10 and average length 21. A bullish flip is ta.crossover(wt1, wt2); a bearish flip is a crossunder. The chart can color the candle body pink or orange on those flips.
  • The SSL Channel defaults to period 10, using averages of highs and lows and switching sslChUp and sslChDown by which side is on top. A long needs sslChUp crossing above sslChDown; a short is the reverse.
  • The SSL Hybrid baseline defaults to a 60-period HMA, then a narrow channel around it (default multiplier 0.2). The long filter is close above the upper rail upperk; the short filter is close below lowerk. The source also includes other baseline types and parameters that only apply to those types. The default is HMA, so those extra inputs do not change the default baseline.
  • The Keltner Channel defaults to length 20, multiplier 1.5, and ATR length 10. Wicks are included by default: the high must be below the upper band and the low above the lower band. If Include Wicks is off, open and close both have to sit inside the channel instead.
  • A 200-period EMA is used to test the take-profit. If price is still below that average but the long target already sits above it, the signal is skipped; shorts are symmetric.
  • Candle height is (close-open)/open*100 for an up bar and (open-close)/close*100 for a down bar. Both must stay at or under 1.0 by default. A comment in the source mentions 0.6, but the input default is 1.0.
  • The stop ATR defaults to length 14, RMA smoothing, then multiplication by the Stop Loss ATR Multiplier (default 1.7).

Entry rules

  • Longs and shorts are both used. A long needs the bar to fall inside the date range; close above upperk if the SSL Hybrid filter is on (it is, by default); an SSL Channel cross up; a Wave Trend cross up; a valid candle height; the bar inside the Keltner Channel; a take-profit that would not cut the 200 EMA first; and an internal state that is not already long.
  • Shorts are symmetric: close below lowerk, an SSL Channel cross down, a Wave Trend cross down, the same remaining filters, and a state that is not already short.
  • If the strategy is already in the opposite position, a new entry order flips the side.
  • When those conditions hold, the script calls strategy.entry('Long') or strategy.entry('Short') with a quantity from the risk formula below.

Exits and position size

  • At entry the script turns the stop distance into a percentage of close, sets the target at that distance times Risk : Reward (default 2.5), and converts both into profit and loss points for strategy.exit('TP/SL').
  • Quantity is sized for a 1% equity risk: the script takes the stop as a percentage and backs out a size that would lose about 1% of equity if that stop is hit.
  • Commission is set to 0.02%, initial_capital to 1000, and currency to NONE. The order size comes from the formula above, not from a fixed default cash quantity.
  • The chart can draw take-profit and stop boxes, plus exit labels. Those drawings are visual only and do not change the orders.

Inputs (defaults in the source)

InputDefaultWhat it does
Use SSL Hybrid ConditiontrueRequires close above the baseline upper rail for a long, or below the lower rail for a short.
Use Keltner Channel ConditiontrueRequires the entry bar to sit inside the Keltner Channel.
Keltner Channel Include WickstrueWicks must also stay inside the channel by default.
Target not touch EMA ConditiontrueSkips a signal if the take-profit would cut the 200 EMA first.
Use Candle Height Condition / Thresholdtrue / 1.0The body size in percent must stay at or under this cap.
Stop Loss ATR Multiplier1.7Stop distance = ATR times this multiplier.
Risk : Reward2.5Target distance = stop distance times 2.5.
Portfolio Risk %1Position size is backed out from a 1% equity risk.
Start Date / End Date2022-01-01 / 2100-01-01Entries are only allowed inside this date range.
Wave Trend Channel / Average Length10 / 21Wave Trend channel length and average length.
SSL Channel Period10Lookback for the SSL Channel.
SSL Hybrid Baseline Type / LengthHMA / 60The default baseline is a 60-period HMA.
Base Channel Multiplier0.2Width of the channel around the baseline.
EMA Length200Average used to filter the take-profit.
Keltner Length / Multiplier / ATR Length20 / 1.5 / 10Keltner length, multiplier, and ATR length.
NNFX ATR Length / Smoothing14 / RMALength and smoothing used for the stop ATR.

Caveats

  • The SSL Channel cross and the Wave Trend cross cannot be switched off in the inputs; they are always part of the entry. Only the baseline, Keltner, candle-height, and 200-EMA filters are optional.
  • A comment in the source mentions a 0.6 candle-height cap, but the input default is 1.0. Tests should follow the input default.
  • The date filter starts in 2022 by default. If you move that start date later, earlier history will not take trades.
  • The stop and target are converted to points at entry and placed with strategy.exit. If ATR changes later, the working order is not automatically resized.
  • The source comments mention a public teaching video. This page explains only the script and does not repeat any return or backtest figures.
  • The author's chart is an ETH perpetual, 15-minute. The same channel lengths and 1.0 body cap will feel different on a much longer or shorter timeframe.
  • SSL Hybrid includes many inputs that only apply to other baseline types such as JMA, VAMA, or EDSMA. The default baseline is HMA; read those extra inputs before switching type.

Install it on TradingView

  1. Download the .pine file from Coinpred (a current membership is required; see the page) or check the original publication for a newer revision.
  2. Open the symbol and timeframe you want in TradingView, open the Pine Editor, paste the source, and add it to the chart.
  3. Leave the default filters, 1.7 ATR stop, and 2.5 reward multiple in place first so you can see entries when SSL Channel and Wave Trend flip together, then decide whether to turn a filter off or change the multiples.
  4. The source sizes positions for a 1% equity risk, sets initial capital to 1000, and commission to 0.02%. Live order routing has to be set separately.
  5. Crypto trades around the clock. The tester's timezone and session settings may differ from your venue by several hours.

About backtest figures

Source, license, and version

  • Source: https://www.tradingview.com/script/J0urw1QI-SSL-Wave-Trend-Strategy/
  • Author: kevinmck100 (header © kevinmck100; also credits LazyBear, ErwinBeckers, Mihkel00, ceyhun, FreeReveller, and sueun123)
  • License: Mozilla Public License 2.0. Redistribution must keep the original copyright and license notices; if you modify the source file, the modified file must remain under MPL 2.0. Coinpred ships the unmodified source.
  • Version: 1.0 in the publication record and pine-facade. scriptAccess is open_no_auth.

Source, license and version

Licensed under MPL 2.0 per the source header, © kevinmck100. Redistribution must keep the copyright and license notices; modified files must remain under MPL 2.0. Coinpred ships the unmodified source.

View original source ↗

Check the script license and your TradingView account features. Historical results do not guarantee future performance.

More strategies

All strategies →