SuperTrend KO: Complete Guide for Algorithmic Trading

SuperTrend KO is a trend-following indicator that turns the classic SuperTrend into ready-made buy and sell signals. It follows the version published by trader Kivanç Özbilgiç, and “KO” stands for his initials. In Arrow Algo, it is a single block that tells your strategy when the trend flips.
Correction, 13 November 2026: an earlier version of this guide described “KO” as a knockout filter with inner and outer bands. That was wrong. The block uses one trailing line, as described below.
What Is SuperTrend KO?
SuperTrend KO is a trailing trend line built from price and volatility. In an uptrend, the line sits below price. In a downtrend, it sits above price.
The line only moves in the direction of the trend. In an uptrend, it can rise but never fall. That makes it behave like a trailing stop.
When the close crosses the line, the trend flips. The block then sends a buy signal on a flip up or a sell signal on a flip down.
How It Differs From the Standard SuperTrend Block
Arrow Algo has two SuperTrend blocks. The standard SUPERTREND block outputs the line’s value. You then compare price with it yourself.
The SuperTrend KO block does that comparison for you. It has two outputs, one for buy signals and one for sell signals. It also lets you choose the price source and the ATR method. Our SuperTrend indicator guide covers the standard version.
How Does SuperTrend KO Work?
The calculation has three steps, all handled by the block.
Step 1: measure volatility. The block calculates the Average True Range (ATR). True range is the full movement of a candle, including any gap from the previous close. ATR averages it over a set number of candles.
Step 2: place the line. The block takes the source price and subtracts ATR times a multiplier. That gives the line in an uptrend. Adding the same amount gives the line in a downtrend.
Step 3: trail and flip. Each candle, the line moves up in an uptrend if the new value is higher. It stays put if the new value is lower. When the close falls below the previous candle’s line, the trend flips down. The reverse applies in a downtrend.
A wider multiplier puts the line further from price. That means fewer flips, later exits and bigger swings before a signal.
What Do the SuperTrend KO Settings Do?
The block has four settings and four inputs.
Settings
- ATR period (default 14). The number of candles in the volatility average. Shorter periods react faster to sudden volatility.
- ATR multiplier (default 2). The distance between price and the line, in ATRs. This setting has the biggest effect on how often the trend flips.
- ATR calculation? (default off). Off uses a simple average of true range. On uses the standard smoothed ATR, which reacts more gradually.
- Trend as signal? (default off). Off sends a signal only on the candle where the trend flips. On sends a buy signal on every candle of an uptrend and a sell signal on every candle of a downtrend.
Inputs
The block takes high, low and close, plus a source price. The midpoint of each candle’s high and low is a common source. The close is another option. The source choice matters more than it looks, as the test results below show.
How to Read SuperTrend KO Signals?
Buy signal. The close moved above the line during a downtrend. The trend is now up, and the line moves below price.
Sell signal. The close fell below the line during an uptrend. The trend is now down, and the line moves above price.
No signal. Price is moving but has not crossed the line. The block holds its current trend.
Use the “trend as signal” option when another condition decides timing. For example, an RSI entry can require the SuperTrend KO trend to be up. Use flip signals when SuperTrend KO decides timing itself.
What Are the Best SuperTrend KO Strategies?
Flip-to-flip trend following. Buy on a bullish flip and sell on the next bearish flip. The line acts as the stop. This is the simplest use and the one we tested in our SuperTrend KO strategy post.
Trend filter for another entry. Turn on “trend as signal” and use the buy output as a condition. Another indicator triggers entries, but only while SuperTrend KO says the trend is up. Our post on confluence trading strategy explains how to combine conditions without overfitting.
Higher-timeframe direction. Run SuperTrend KO on daily candles as a filter for four-hour entries. Only allow longs while the daily trend is up.
What the Backtests Showed
We tested flip-to-flip trading on BTC, ETH and SOL four-hour candles from November 2023 to November 2026. With default settings, it beat a 50-candle moving average rule on BTC and ETH, but not SOL.
The bigger lesson was sensitivity. Changing the multiplier from 2 to 4 moved SOL from a 10% loss to a 290% gain in hypothetical tests. Switching the source from candle midpoint to close changed results almost as much. Past results may not repeat.
What Are Common SuperTrend KO Mistakes to Avoid?
Choosing the single best setting. SuperTrend results can jump between neighbouring settings. Pick a setting whose neighbours also work.
Ignoring the source input. Midpoint and close give different lines. Decide which to use before testing, and keep it fixed.
Mixing up the two signal modes. With “trend as signal” on, the buy output stays true for the whole uptrend. Connected straight to a buy action with no flat-position check, it would keep signalling.
Expecting It to Work in Ranges
Trading choppy markets. In a sideways market, price crosses the line back and forth. Each flip costs fees. A trend filter, such as a 200-period EMA, helped every version we tested.
Treating the line as a tight stop. After a volatile run, the line can sit far below price. Drawdowns above 38% appeared in every unfiltered test.
How to Build SuperTrend KO Strategies in Arrow Algo?
The drag-and-drop visual builder needs only a few visual blocks for a flip-to-flip strategy:
- Add the exchange’s candle data and pick a timeframe.
- Connect high, low, close and your chosen source to a SuperTrend KO block.
- Set the ATR period, multiplier and ATR method.
- Join the buy output with a flat-position check using an AND condition block, then connect it to a buy action block.
- Connect the sell output to a sell action block.
For a filter version, turn on “trend as signal”. Then use the buy output as one input to your entry AND block. Backtest across several markets and settings before deciding anything.
No deployment is needed to test it. If you later choose to deploy, your rules signal your own exchange account. The exchange decides whether to execute each order.
What Are the Key Takeaways?
- SuperTrend KO is Kivanç Özbilgiç’s SuperTrend, with buy and sell outputs built in.
- It uses one trailing line, placed ATR times a multiplier away from the source price.
- The block’s defaults are a 14-period ATR, a multiplier of 2 and a simple average of true range.
- “Trend as signal” changes the outputs from one-off flips to a continuous trend state.
- Results are very sensitive to the multiplier and source, so test neighbouring settings.
Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.
Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who've made the switch to systematic trading.