Trading Indicator

Two Pole Butterworth Filter for Automated Trading

Learn how the Two Pole Butterworth Filter can turn smoothed price data into rule-based crossover, trend, and momentum-filter tests in Tradeworks.

Two Pole Butterworth Filter smoothing price data for automated trading rules

Understanding the Two Pole Butterworth Filter

The Two Pole Butterworth Filter is a smoothing indicator designed to reduce noise in price data. By smoothing short-term fluctuations, it can help traders define cleaner price/filter crossover rules and trend context.

For automated trading, the useful part is the measurable condition: whether price crosses above or below the filter line, whether price stays on one side of the filter, or whether the filter confirms another trend or momentum rule.

  • Filter Line: The smoothed value used as a comparison level
  • Noise Reduction: The filter smooths price data so rules do not react to every minor movement
  • Shorter Lag: The source describes it as shorter-lag than the Three Pole Butterworth Filter
  • Tradeoff: The Two Pole version is less smoothed than the Three Pole version
  • Automation Use: Filter crosses and filter-side conditions should be explicit and measurable

Tradeworks indicator source: The Two Pole Butterworth Filter aims to smooth out prices. It has a shorter lag than the Three Pole Butterworth Filter, while the data is less smoothed.

Price/filter crossover

Strategy 1: Two Pole Butterworth Filter Crossover Strategy

Two Pole Butterworth Filter crossover strategy showing price crossing the filter line

This Two Pole Butterworth Filter strategy tests whether price crossing the smoothed filter line can act as a rule-based direction change condition. The crossover should be paired with exit rules so it does not rely on the filter alone.

Setup in Tradeworks:

  1. Add Two Pole Butterworth Filter to your strategy
  2. Confirm the editor exposes the filter line or value
  3. Configure entry conditions:
  • Open Position Buy Signal: Strategy symbol ASK price crosses from below to above Two Pole Butterworth Filter
  • Open Position Sell Signal: Strategy symbol BID price crosses from above to below Two Pole Butterworth Filter

Trade Management

  • Stop Loss Exit Signal:
    • For longs: Strategy symbol BID price crosses from above to below Two Pole Butterworth Filter
    • For shorts: Strategy symbol ASK price crosses from below to above Two Pole Butterworth Filter
  • Take Profit Exit Signal:
    • For longs: Strategy symbol BID price is greater than entry price plus (ATR x 2.0)
    • For shorts: Strategy symbol ASK price is less than entry price minus (ATR x 2.0)
  • Common Timeframe: 1-hour to 4-hour charts for smoother filter tests
  • Suitable Pairs: EUR/USD, GBP/USD, AUD/USD

Trend-filtered smoothing strategy

Strategy 2: Two Pole Butterworth Filter Strategy with Trend Filter

Two Pole Butterworth Filter strategy with EMA trend filter

A Two Pole Butterworth Filter strategy can reduce raw crossover noise by adding a trend filter. This version only tests bullish filter conditions when price is above a moving average and bearish filter conditions when price is below it.

Setup in Tradeworks:

  1. Add Two Pole Butterworth Filter
  2. Add Exponential Moving Average (EMA) with period 50
  3. Configure entry conditions:
  • Open Position Buy Signal: Strategy symbol ASK price is greater than Two Pole Butterworth Filter AND Strategy symbol ASK price is greater than EMA(50)
  • Open Position Sell Signal: Strategy symbol BID price is less than Two Pole Butterworth Filter AND Strategy symbol BID price is less than EMA(50)

Trade Management

  • Filter Recross Exit: For longs, test exiting when Strategy symbol BID price crosses from above to below the filter. For shorts, test exiting when Strategy symbol ASK price crosses from below to above the filter.
  • Stop Loss Exit Signal: Use ATR-based exits as in Strategy 1
  • Take Profit Exit Signal: Use ATR-based exits as in Strategy 1
  • Common Timeframe: 30-minute to 4-hour charts depending on signal frequency
  • Suitable Pairs: EUR/USD, EUR/GBP, GBP/USD

Smoothing and momentum confirmation

Strategy 3: Butterworth Filter Trading Strategy with Momentum Confirmation

Butterworth filter trading strategy with RSI momentum confirmation

This Butterworth filter trading strategy combines the smoothed filter line with RSI momentum context. The goal is to avoid treating every filter cross as a complete trading signal.

Setup in Tradeworks:

  1. Add Two Pole Butterworth Filter
  2. Add Relative Strength Index (RSI) with period 14
  3. Configure entry conditions:
  • Open Position Buy Signal: Strategy symbol ASK price crosses from below to above Two Pole Butterworth Filter AND RSI(14) is greater than 50
  • Open Position Sell Signal: Strategy symbol BID price crosses from above to below Two Pole Butterworth Filter AND RSI(14) is less than 50

Trade Management

  • Momentum Exit: For longs, test exiting when RSI crosses from above to below 50. For shorts, test exiting when RSI crosses from below to above 50.
  • Stop Loss Exit Signal: Use ATR-based exits as in Strategy 1
  • Take Profit Exit Signal: Use ATR-based exits as in Strategy 1
  • Common Timeframe: 1-hour and 4-hour charts for cleaner confirmation tests
  • Suitable Pairs: EUR/USD, GBP/USD, AUD/USD

For Bot Developers: Implementation Tips

Two Pole Butterworth Filter strategies should be converted into explicit comparisons against the filter value. Avoid vague turning-point descriptions unless the condition can be expressed as a measurable rule in the editor.

  • Confirm the exact Two Pole Butterworth Filter output value in the editor
  • Use EMA or SMA for trend filtering
  • Use RSI for momentum confirmation
  • Use ADX to filter weak-trend conditions
  • Use ATR for volatility-aware exits
  • Backtest raw filter-cross and trend-filter logic separately before combining filters

Manageable Beginner Setup

A manageable Two Pole Butterworth Filter setup keeps the logic simple: one filter condition, one trend or momentum filter, and one exit framework.

  1. Use price crossing the Two Pole Butterworth Filter as the main condition
  2. Add EMA(50) or RSI(14) as a filter
  3. Use ATR-based Stop Loss Exit Signal and Take Profit Exit Signal rules
  4. Test EUR/USD or GBP/USD before adding more symbols
  5. Review losing trades to see whether entries came from sideways markets or late filter signals
?

Questions

Frequently Asked Questions

What is the Two Pole Butterworth Filter? +

The Two Pole Butterworth Filter is a smoothing indicator that reduces price noise and creates a filter line traders can test against price. In automated trading, it can be used for crossover, trend-filter, and turning-point context rules.

What is a Two Pole Butterworth Filter strategy? +

A Two Pole Butterworth Filter strategy uses measurable conditions such as price crossing above or below the filter line, often combined with trend, momentum, and exit filters. The rules should be tested before use in automation.

Can the Two Pole Butterworth Filter be automated in Tradeworks? +

The Two Pole Butterworth Filter can be used in automated rules when the editor exposes the filter value. Common tests include price crossing the filter line, price staying above or below the filter, or the filter confirming another trend condition.

How is the Two Pole Butterworth Filter different from the Three Pole version? +

The source description says the Two Pole Butterworth Filter has shorter lag than the Three Pole Butterworth Filter, but the data is less smoothed. That tradeoff can make it useful when traders want a more responsive smoothing input to test.

Which indicators combine well with a Butterworth filter trading strategy? +

A Butterworth filter trading strategy can be combined with EMA or SMA for trend direction, RSI for momentum confirmation, ATR for volatility-aware exits, and ADX for trend-strength filtering.

Try it in Tradeworks

Want to test a Two Pole Butterworth Filter strategy in Tradeworks?

Build the rules visually, connect them to your MetaTrader setup, and test how smoothed filter conditions behave before using them in live automation.

Volume Indicators

Volume indicators measure the strength of price movements by analyzing trading volume. They help confirm trends and identify potential reversals.

Volatility Indicators

Volatility indicators measure the rate of price change. They help traders set stop losses, determine risk levels, and identify potential breakouts.

Bill Williams Indicators

A collection of indicators developed by Bill Williams for trend identification, momentum analysis, and fractal pattern recognition.

Note: This content is for educational purposes only. Past performance does not guarantee future results. Trading involves risk of loss.