# Ehlers' SuperSmoother

> Description and configuration of the SuperSmoother indicator on Veles platform

**SuperSmoother** (Ehlers SuperSmoother) is an advanced filter by John Ehlers that clears the chart of market noise with virtually no lag compared to classic moving averages (MA).

## How it works
1. Select **SuperSmoother** in the standard bot filters or configure it in the flexible indicators.
2. When using it in standard filters specify the **Interval** (timeframe) and **Type**. Use **reverse filter** option, if needed.
3. The default **Period** of the filter is **10**.
4. In flexible indicators, you can use the price comparison against the indicator line — **Candle greater than SuperSmoother** (similar to other moving averages).
5. Also, in flexible settings, the **SuperSmoother** indicator itself is available with advanced parameters: **Period** (from 5 to 500), **Interval**, **Method**, and **Shift**.
6. The algorithm filters out market noise and generates signals, reacting faster to trend changes.

SuperSmoother uses a 2-pole low-pass filter that mathematically processes prices to suppress high-frequency noise.

## Limitations
- In flexible settings, the minimum period is 5 and the maximum is 500.
- During strong flat (sideways) markets, the indicator may produce false signals.

## Examples

**Example 1: Standard Filter (Long)**
You set up a bot for BTC/USDT spot trading on a 15m timeframe. In standard filters, you select SuperSmoother with a period of 10. The bot waits for the price to go above the indicator line and opens a long position at the very beginning of the uptrend, avoiding the delays typical of a classic SMA.

**Example 2: Flexible Indicator (Short)**
You launch a short bot on ETH/USDT futures on a 1h timeframe and use flexible indicators. You select the `SuperSmoother` indicator with a period of 20 and specify the required method and shift. The bot uses the smoothing algorithm to filter out noise and opens a short position upon a confirmed downward price reversal.

## Impact on strategy
Using SuperSmoother provides a significant advantage in the bot's reaction speed. By eliminating lag, the bot enters a trade at the early stages of a trend, capturing the maximum price movement.

However, the high sensitivity of the indicator requires caution in markets without a clear direction. In sideways trends, the algorithm may react to micro-breakouts, so it is better not to use it alone.

:::caution[Important]
Always test SuperSmoother settings on backtests before running the bot with real funds and combine it with oscillators (e.g., RSI).
:::

## Using in Veles Bots (Flexible Indicator)

Available settings:

- Period - the number of candles for calculation. Range: 5–500, default 10.
- Interval - the candle timeframe.
- Method - the calculation type. By bar close (only on the selected interval) or by minute (once per minute for any interval).
- Shift - shifts the requested indicator value back by the specified number of candles.

## Summary
- **Fast Entries:** A perfect replacement for moving averages (MA) to minimize delays.
- **Various Modes:** Available as a standard filter, a `Candle > SuperSmoother` condition, and a full-fledged flexible indicator.
- **Noise Filtering:** Effectively smooths the chart, cutting out random price spikes.
- **Recommendation:** Use as the main trend filter in conjunction with confirming indicators.
