A trade filter lets the FxMagnetic Scanner take only the signals that agree with a second condition, for example “buy only above the 200 EMA” or “trade only when ADX is above 25”. In FxMagnetic 3.0.2 you set them in the Scanner inputs under TRADE FILTER: choose a filter in (P6a) Trade Filter #1, its timeframe in (P6b) and its settings in (P6c)–(P6e). A second filter, (P7a) Trade Filter #2, can be added on top. The Autotrader in Indicator Sync mode uses the same filters automatically.
In this tutorial, you will learn how to use trade filters with FxMagnetic. These Trade filters help filter out bad trades and pick the trade direction more accurately. By the end of this tutorial, you’ll be able to apply different trade filters and interpret the results accordingly.
Updated for FxMagnetic 3.0.2 (MT4 and MT5). The demonstration below was recorded with an older version (FxMagnetic Onyx), so the screenshots show older setting names. The current names and the full list of filters are in the sections right below. For every filter’s parameters and defaults, see FxMagnetic Trade Filters — Primary, Secondary, and Third Parameters.
About Trade Filters
A trade filter that helps traders narrow down and focus on specific trades based on certain criteria. By nature, filtering something out will filter the bad things and some of the good stuff. It means, for example, sometimes the Trend Filter can filter out good trades as well. However, we have seen that in many cases, the Trend Filter allows the FxMagnetic pattern scanner to pick better trades.
How to Apply the Trade Filters
Trade filters work the same way in every FxMagnetic 3.0.2 app (One, Technical, Candlestick, Alpha and the single Trader apps). The filters marked ($) below use a separate FxMagnetic indicator (Trend, Daily Compass, Hull Shield, SR Levels), which you install from the Download Center like any other app. In this tutorial, we are using FxMagnetic Onyx to demonstrate.
- Drag and drop the FxMagnetic Onyx Indicator to your chart from the Navigator panel on the bottom left.

- To access the trade filter settings, go to the indicator settings and then inputs.

- Look for the TRADE FILTER section: (P6a) Trade Filter #1 and (P7a) Trade Filter #2, each with its own timeframe and parameters.

Trade Filters
To apply a trade filter navigate to the “Trade Filters” option and select from the dropdown list.

Select the trade filter you want. The filters in FxMagnetic 3.0.2:
- No Trend Filter: all signals are taken.
- ($) FxMagnetic Trend (Blue = only Buy / Red = only Sell).
- ($) FxMagnetic Daily Compass (Green = only Buy / Red = only Sell): follows the day’s bias.
- ($) FxMagnetic Hull Shield (Green = only Buy / Purple = only Sell): keeps you out of choppy markets.
- ($) FxMagnetic SR Levels: buy or sell only near support and resistance levels.
- Simple Moving Average (Above = only Buy / Below = only Sell), and the reverse (Above = only Sell / Below = only Buy).
- Exponential Moving Average, the same two versions.
- Bollinger Bands: Buy/Sell when inside; when outside; Buy below / Sell above; Buy above upper / Sell below lower.
- PSAR (Above = only Buy / Below = only Sell), and the reverse.
- MACD Histogram: buy above zero, sell below zero.
- ADX: trade only when ADX is above a level (trend strength).
- ATR is Rising / ATR is Falling: volatility filters.
- RSI Rebound (return from overbought/oversold) and RSI Trend Direction (Buy above / Sell below a level).
- Volume Spike: only when volume is higher than the average of the last X bars.
- Liquidity Sweep: FVG strategies only.
Timeframe
Selecting a timeframe allows users to specify the timeframe for which trade filters should be applied. By selecting a particular timeframe, traders can customize the filtering process, ensuring a trend direction on a higher timeframe.
To apply a specific timeframe, set (P6b) Timeframe for TF #1 (or (P7b) for filter #2).

Following are your available options:
- Current
- 1 minute
- 5 minutes
- 15 minutes
- 30 minutes
- 1 hour
- 4 hours
- 1 day
- 1 week
- 1 month
On MT5 you can also choose the MT5-only timeframes, such as M2, M10, H2, H3, H6, H8 and H12.
Primary, Secondary and Third Parameters
The old “Period for Trade Filter” is now (P6c) TF #1 Primary Parameter (period, step and so on). (P6d) Secondary Parameter (for example the Bollinger deviation) and (P6e) Third Parameter (for example Max Bars Delay of RSI Rebound) use the filter’s default when left at -1. Details for every filter: Trade Filter parameters.
Period for Trade Filters refers to a user-defined parameter that influences how the trade filters operate. This setting represents a variable that traders can adjust to customize the behavior or sensitivity of the trade filter. Traders can refine the filter’s criteria to align with their preferences and trading strategy by adjusting this setting.
Imagine a period for the Moving Average. If you input 10, you get MA based on the last 10 bars. If you input 100, you get MA based on the last 100 bars. So it’s kind of very similar for the FxMagnetic Trend period as well.
To modify the trade filter period, change (P6c) and press Apply in the Scanner panel (or Shift+Enter in the field).

Demonstration
Let’s see how the Trade Filters work in real time:
No Trade Filter
For this demonstration, “No Trend Filter” is selected. Selecting “No Trend Filter” means the Scanner (indicator) will not use any Trend Filter and will also ignore timeframe and period variables, which will have no effect.
Settings:

Results:

FxMagnetic Trend
In this demonstration, the FxMagnetic Trend V1.0.0 filter is applied, and the filter settings are set to use a 1-day timeframe. Additionally, the period of the trade filter has been set to 2.
Settings:

Results:

Using the trade filter helps the indicator decide when and where to trade. Combining the Onyx and FxMagnetic Trend indicators helps manage trades better and avoid exiting too soon. Setting the timeframe and period for the FxMagnetic Trend keeps a good winning rate. With this, the Fxmagnetic Onyx indicator finds better trade directions, avoiding leaving trades too early. In other words, the FxMagnetic Onyx indicator ensures trend direction on a higher timeframe with the FxMagnetic Trend indicator and only takes trades in that direction. Some trades might close early due to changes in trends, but overall, the result is positive because of big take-profit trades, leading to more pip gains.
As you know, FxMagnetic always exits trades earlier if we get an opposite signal if it’s set to scan for BUY and SELL trades (Regular or Reverse strategies). You’ll notice this behavior without a Trend filter or a Trend filter with a small period.
If you set the Trend filter to be applied to a higher timeframe (or the same timeframe but a high period value), naturally, what happens is that FxMagnetic will be forced to scan only for BUY or SELL trades for an extended period and ignore the opposite signals. Imagine the price being above the Daily Trend filter for 3 months. That will force FxMagnetic to look for BUY trades only and ignore any SELL trades, meaning it will not exit BUY trades earlier during this period.
FxMagnetic Trend Indicator
To observe the Onyx indicator’s function, drag and attach the trend indicator to the chart with the same settings used for selecting the filter. Navigate to Inputs, and set the timeframe to 1 day, and the lookback to 2.

If the bottom of your chart appears red, it means the indicator is only looking for a Sell trade, and on the other hand, if it’s blue then the indicator is only looking for a Buy trade. During the sell trade, you won’t see any buy trade until you enter one.

Bollinger Bands
For the Bollinger Bands filter, after selecting the filter, the timeframe is set to current, and the period is set to 30.
NOTE: Bollinger Bands have two additional parameters, but here we can control only the Period. The other parameters always stay default where the Bands width is 2.0 and the Price applied to is “Close price”.

The results may not look good initially, but you can use optimization for better results.
To view the bands:
- Click the Indicator list Icon

- Go to “Trend,” and select “Bollinger.”

From the Parameters section set the period to 30, keep deviations at 2. You can also select from the different styles.

The strategy is to buy and sell only within the Bollinger Bands, ensuring signals are inside the bands. Opting for the reverse strategy gives signals when patterns appear outside the bands.
Note: Removing the indicator doesn’t impact Onyx’s trend filter as it operates behind the scenes.
Simple Moving Average
After selecting the Simple Moving Average trade filter, the timeframe is set to current, and the period is set to 100.

If you want the visual representation of this filter:
- Go to the Indicator list icon

- Then, go to Trend and select Moving Average.

- From the Parameters section, set the period to 100.
Note: To use the Moving Average (MA) method correctly, select “Simple” for a visual representation of the Simple Moving Average trade filter. On the other hand, if you opt for the Exponential Moving Average as your trade filter, choose “Exponential” as the MA Method for the visual representation.

Prices above the moving average will allow a buy signal and prices below will allow a sell trade signal. If the price is above the simple moving average and there is a sell signal Onyx will disregard it according to the selected filter.
Using Two Filters
FxMagnetic has two filter slots (since version 1.9.0). A signal is taken only when both filters agree. A common pair is one direction filter and one strength filter, for example EMA 200 on H4 as Trade Filter #1 and ADX above 25 as Trade Filter #2. Each filter removes some good trades too, so compare the statistics with and without the second filter before you keep it.
FAQ
Does the Autotrader use the same trade filters?
Yes. In Indicator Sync mode it takes the filters from the Scanner on the same chart. In Independent mode, enter the same filters in its inputs.
Do I need to keep the filter indicator on the chart?
No. The filter works in the background. Add the indicator only if you want to see it.
Wrapping Up
Trade filters optimize signals according to specific strategies. You can choose from various filters and adjust the settings tailored to your approach. By using these trade filters you can filter out trades and adjust trade direction accordingly. Experiment with various filters before settling on one for a more effective approach!
