
Kalman Filter EA is an MT5 expert advisor that blends a Kalman-smoothed price series with rate of change, stochastic and TEMA smoothing. It acts on closed bars only and gives each trade a fixed stop loss and take profit.
Get one message the moment it launches, with its price.
Kalman Filter EA is an automated strategy for MetaTrader 5 that looks for the start of a new directional move. It smooths price with a Kalman filter, turns that into a blended momentum line and enters when the line changes direction on a closed candle.
The EA builds its signal in several stages. Each stage is calculated on completed bars, so a candle that is still forming does not trigger an order.
Because the filter needs history to settle, the EA back-fills its internal data when it starts. Confirm in the Strategy Tester that the order direction matches what you expect for each turn of the line.
Every order is sent with a fixed stop loss and take profit measured in points. The EA does not close a position when an opposite signal appears and does not track open trades. It does not use martingale or grid averaging. Before going live, check how it behaves when several signals appear in a row, since this affects total exposure.
The logic was designed with the H1 and H4 charts in mind. It can be applied to major forex pairs, indices and commodities with moderate volatility. Trending conditions give the filter and momentum parts more to work with, while sideways markets may produce fewer or weaker signals. Test any other symbol or timeframe on your broker data first.
| Input | Default | Meaning |
|---|---|---|
| InpLotSize | 0.01 | Fixed lot size for each trade |
| InpTakeProfitPts | 300 | Take profit distance in points |
| InpStopLossPts | 600 | Stop loss distance in points |
| InpMaxSpreadPts | 30 | Largest spread, in points, at which trading is allowed |
The Kalman parameters, ROC length, stochastic periods and TEMA length are fixed in the code and cannot be edited. Point values depend on the symbol and the number of digits your broker quotes, so check what 300 or 600 points means on each instrument. Spread limits may need adjusting for indices and commodities.
Trading carries risk and you can lose more than you expect. Past results, including backtests, do not predict future ones. A stop loss can be filled at a worse price during gaps or fast markets. Test on a demo account and use a lot size that suits your account.
For continuous operation, many traders run the terminal on a VPS. Check your broker's minimum lot, stop level and spread conditions, as these vary between accounts.
| Product type | Expert Advisor |
|---|---|
| Platform | MetaTrader 5 (expert advisor) |
| Strategy focus | Signals, Trend, Momentum |
| Delivery | Download from your account after purchase |
| License key | Not needed |
| Status | Launching soon |
| Category | Expert advisor, automated trading |
| Strategy type | Trend and momentum signals on closed bars |
| Markets | Forex majors, indices and commodities with moderate volatility |
| Timeframes | Designed around H1 and H4; other timeframes can be tested |
| Trade management | Fixed SL and TP in points; no exit on opposite signal |
| Position sizing | Fixed lot size set by the user |
| Requirements | MT5 terminal with Algo Trading enabled; VPS suggested for continuous running |
No reviews yet. Customers who own Kalman Filter EA can review it here.
No. It is built for MetaTrader 5 only and will not load in an MT4 terminal. If you trade on MT4, look for a product made for that platform.
The logic was designed around the one-hour and four-hour charts. It can be attached to other timeframes, but you should test those in the Strategy Tester on your own broker data before using them on a live account.
No. Each position is left to reach its own stop loss or take profit. A new signal can open a further order rather than closing an existing one, so check the behaviour in the tester and size your lots with that in mind.
Not through the inputs. The filter and smoothing lengths are fixed inside the EA. The user inputs are lot size, take profit in points, stop loss in points and the maximum allowed spread in points.
Copy the file into the Experts folder via File, Open Data Folder, MQL5, Experts in MT5. Refresh the Navigator or restart the terminal, drag the EA onto a chart and enable Algo Trading. Then review the inputs before running it.
No. Trading carries risk, you can lose money, and past results do not predict future ones. Test on a demo account first and only trade with funds you can afford to lose.
Kalman Filter EA
Notify me at launchQuestions about this tool?
Ask us on Telegram Install guide for MT4 and MT5 Get a custom version builtFree, practical help with testing, sizing and running expert advisors.
Own Kalman Filter EA? Sign in to review it.