Free: indicator teardowns, a repaint checker and open-source scripts. No buy/sell signals, ever.

Taught to TradeSystems over signals.

Explainers / SSL Hybrid

SSL Hybrid, explained from the source

SSL Hybrid by Mihkel00 is the most-boosted SSL script on TradingView. It was built for the NNFX way of trading, and its own header says it is meant for daily charts. It stacks four lines on the price chart, colours the bars, draws arrows and diamonds, and adds a small "Risk" table. People mostly ask for its best settings. The code shows something more useful first: what each line actually is, and that two of the settings people tune do not touch the line they think they do.

The one rule behind every SSL line

An SSL line is two moving averages, one of the highs and one of the lows. The rule is the same for every SSL line in this script:

In an up state the line is drawn on the average of the lows; in a down state, on the average of the highs. That is why it jumps from one side of price to the other when the state flips.

The four lines

LineWhat it is (defaults)Its settings
Baselinea moving average of close, HMA 60, with a thin channel of 0.2 x the 60-bar average true range either sideBaseline Type, Baseline Length, Channel Multiplier
SSL1the SSL rule on an HMA 60 of highs and lowsnone of its own: it always uses the Baseline Type and Length
SSL2 (dots)the SSL rule on a fast "JMA" 5 of highs and lowsSSL2 Type, SSL2 Length, Continuation ATR Criteria
Exit (arrows)the SSL rule on an HMA 15 of highs and lowsExit Type, Exit Length

So if you change "SSL2 Type" hoping to change the thick SSL1 line, nothing happens to it. To change SSL1 you have to change the Baseline as well.

The bars are coloured by the Baseline channel: above the channel, the bullish colour; below it, the bearish colour; inside it, grey. The "JMA" option is a public approximation of a Jurik-style smoother, not Jurik Research's own JMA.

The arrows, the dots and the diamond

What the Risk table measures

The table sits in the bottom-right corner, where TradingView's own badge can cover part of it.

Does SSL Hybrid repaint?

Closed bars do not change. The script makes no higher-timeframe requests, so history stays put.

The live bar does. Every state, bar colour, dot colour, arrow and alert is worked out from the current price, so they can appear and disappear while the bar is still forming. On random-walk prices (our simulation, 230,000 bars, SSL Hybrid's default rules re-implemented and replayed tick by tick inside each bar), an exit arrow showed up during the bar and was gone at the close on about 11% of bars, against about 15% of bars that kept one. Roughly four in ten arrows you might see live would not survive the close. Set alerts to fire once per bar close if you want only the ones that stay. More in what repainting is.

How often it changes its mind

In the same simulation, at the default settings:

Eventhow often
Exit arrow (close crosses the Exit line)one every 7 bars
Next exit arrow within 5 barsafter 43% of arrows
SSL1 changes stateevery 15 bars
Bar coloured grey (inside the Baseline channel)8-9% of bars
White diamond6% of bars

Random-walk prices have nothing to predict, so these numbers describe how the rules react to noise, not how they trade. They are a floor for how busy the chart will look.

Where it fails

Also explained: Hull Suite · QQE MOD · Range Filter · Repainting

Educational only. Not financial advice. Nothing here is a recommendation to buy or sell anything. SSL Hybrid is by Mihkel00 on TradingView; this page explains its published open-source code and is not affiliated with the author.

Also explained: Repaint checker, VWAP, Supertrend, RSI, UT Bot Alerts, Nadaraya-Watson Envelope, Squeeze Momentum, What is repainting on TradingView?, Is TradingView backtesting accurate?, Chandelier Exit, WaveTrend Oscillator, QQE MOD, Pivot highs and lows, Hull Suite, Range Filter, Twin Range Filter, HalfTrend, ZigZag++, CM MacD Ultimate MTF, Volume Profile / Fixed Range, ADX and DI, Support Resistance Channels, Market Structure Break & Order Block, Order Block Finder, Pivot Point SuperTrend, Trendlines with Breaks [LuxAlgo], Divergence for Many Indicators, TradingView script selling terms, Support and Resistance Levels with Break, Liquidity Swings [LuxAlgo], Pine Script errors, Breakout Probability (Expo), Did ChatGPT or Claude write your Pine Sc, Lorentzian Classification, SuperTrend AI (Clustering), Machine Learning Adaptive SuperTrend, Dynamic Swing Anchored VWAP, Support and Resistance Power Channel by , Support and Resistance (High Volume Boxe, Trendline Breakouts With Targets by Char, Breakout Finder by LonesomeTheBlue

Next steps

  • Get a script fixed. Compiles but behaves differently live, or changes after a reload? In a Pine Script Audit, an AI model reads every line and writes a report on what to fix for $49, or also fixes those problems for $149. It cannot prove a script is safe.
  • Check your own script. Paste its source into the free repaint checker. It runs in your browser and flags known patterns.
Subscribe to the Teardown Letter: $19/moBack to Taught to Trade

No TradingView account yet? This affiliate link gives you a $15 coupon toward a paid plan, and we earn a commission if you buy one. The free plan is enough to follow this page.