Lorentzian Classification EA

Lorentzian Classification EA for MetaTrader 5

Lorentzian Classification EA is a machine-learning-based Expert Advisor for MetaTrader 5 designed to classify market conditions and automate trade execution using a structured confirmation process. It combines Lorentzian Distance K-Nearest Neighbors (KNN) classification with kernel regression trend confirmation, then applies multiple market filters and configurable trade management rules before opening a position.

The system was built for traders who want a more adaptive, data-driven approach than fixed-rule indicators alone. Instead of relying on a single signal source, the EA evaluates a multi-feature market state, compares it to historical patterns, and uses confluence logic to reduce weak or low-quality entries.

Core idea behind the system

At the center of the EA is a Lorentzian Distance classifier. For each new closed bar, the system builds a feature vector from technical measurements such as RSI, WaveTrend, CCI, and ADX, then compares the current market state to historical data in order to find similar patterns. Based on how those similar patterns resolved in the past, the classifier produces a directional prediction score.

The Lorentzian Distance approach is used because it compresses large feature differences more gracefully than standard Euclidean distance. In practical terms, this makes the similarity calculation more resistant to outliers and volatility spikes that often distort financial data.

The KNN engine can scan up to 2,000 historical bars, evaluate neighbors using the Lorentzian metric, and generate a bullish or bearish vote based on the outcomes of the nearest historical matches. The resulting prediction score helps determine whether current conditions favor a long or short setup.

Kernel regression confirmation

To avoid acting on raw classification output alone, the EA includes a kernel regression confirmation layer. It uses Rational Quadratic and Gaussian kernel estimates to evaluate trend alignment and to confirm whether a KNN signal is supported by the current directional structure of the market.

If the kernel filter is enabled, long signals require bullish kernel alignment and short signals require bearish kernel alignment. This extra confirmation step is intended to reduce false signals, especially during ranging or unstable conditions.

The same kernel logic can also be used for dynamic exit management. When enabled, trades may be closed based on kernel crossover behavior instead of using only a fixed holding model.

Feature-driven market classification

The EA supports up to five simultaneous features in its classification model. The default configuration uses RSI, WaveTrend, CCI, ADX, and a second RSI with different settings so the algorithm can analyze momentum, deviation, cycle behavior, and trend strength from multiple angles.

Each feature is configurable, allowing the user to tailor the behavior of the classifier to different symbols and timeframes. This makes the EA suitable for traders who want to keep the default research-based structure while still being able to optimize the input profile for their own market selection.

Because the feature set is part of the similarity calculation, changing feature periods or types directly affects how the system interprets historical market states. This gives advanced users room to perform optimization and walk-forward validation without changing the overall architecture of the strategy.

Filter stack for trade quality

After the classifier generates a directional bias, the signal must pass through a configurable filter stack before a trade can be opened. Available filters include a volatility filter, regime filter, ADX filter, EMA trend filter, SMA trend filter, session filter, spread filter, and kernel filter.

The volatility filter is designed to block trades during abnormal spikes, while the regime filter helps distinguish trending conditions from flat market structure. The EMA and SMA filters can be used to keep trades aligned with the broader trend, and the ADX filter can restrict entries to periods with sufficient directional strength.

This layered structure is useful because one condition alone is rarely enough in live markets. The EA is designed so that classification, trend alignment, volatility control, and execution filters can work together rather than depend on a single trigger.

Trade management flexibility

Lorentzian Classification EA includes both basic and advanced trade management options. Users can select fixed lot sizing or risk-based sizing, choose ATR-based or fixed stop loss and take profit models, limit the number of open positions, and define a unique magic number for each chart instance.

Advanced controls include trailing stop, breakeven, partial close, and maximum spread protection. These options make it possible to configure the EA for more aggressive execution, balanced swing trading, or more conservative capital-preservation workflows.

The stop and target framework is designed to adapt to different environments. ATR-based stops can respond to changing volatility, while fixed-pip settings remain available for traders who prefer simple and fully deterministic trade management.

Included set file profiles

The EA is delivered with seven pre-configured set file profiles to provide structured starting points for different trading styles and time horizons. These profiles include M15 Scalping, M30 Intraday, H1 Swing, H4 Position, D1 Long-Term, H1 XAUUSD Gold Specialist, and H4 Conservative / Prop Account.

The H4 Position profile is the primary recommended starting point because the underlying Lorentzian framework was originally designed and tested around higher intraday to swing-style timeframes. The other profiles are intended for traders who prefer faster execution, gold-specific tuning, long-term trend participation, or lower-risk funded-account style operation.

These profiles are not presented as fixed final settings. They are designed as structured baselines that traders can further test and refine for their own broker conditions, symbols, and execution style.

How entries are generated

A buy setup requires a positive classification outcome and confirmation from all enabled filters. Depending on the current configuration, this can include trend alignment with EMA or SMA filters, acceptable spread conditions, valid trading session timing, and bullish kernel confirmation.

A sell setup follows the same logic in the opposite direction. The EA also checks that the signal is new rather than a continuation of the previous state, which helps prevent repetitive entries from the same directional bias.

Exits can be handled through fixed trade duration logic, kernel-based dynamic exits, stop loss, take profit, trailing stop, breakeven, or partial close behavior. This makes the execution model adaptable without requiring changes to the signal-generation engine itself.

Chart dashboard and visual tools

The EA includes an on-chart dashboard that displays the current signal state, prediction score, kernel trend status, filter pass/fail conditions, feature values, spread information, position details, and internal trade statistics tracked since startup.

Optional signal arrows can also be displayed on the chart to make historical entries easier to review visually. These elements are intended to help traders understand why a trade was or was not taken and to simplify testing, validation, and ongoing parameter review.

For VPS or optimization environments, the dashboard can be disabled to reduce visual overhead. The display layer is informational and does not change the trading logic itself.

Backtesting and optimization use

The EA was documented with backtesting and optimization in mind. It is intended to be tested in MetaTrader 5 using "Every tick based on real ticks" so that traders can evaluate the classifier, filters, and trade management logic under more realistic simulation conditions.

The manual also outlines a phased optimization workflow covering feature tuning, neighbor count, filter calibration, and ATR-based trade management refinement. This is especially useful for traders who want to adapt the EA to specific pairs without optimizing every parameter at once.

Walk-forward analysis is strongly recommended when refining settings. The goal is not simply to find attractive backtest results, but to identify parameter combinations that remain stable when tested on unseen market data.

Who this EA is built for

This Expert Advisor is suitable for traders who want a structured, research-driven system that blends machine-learning classification with practical market filters and configurable execution management. It can be used by traders who prefer automated operation, as well as by advanced users who want a framework they can study, optimize, and deploy across multiple pairs or timeframes.

The included profiles cover everything from lower-timeframe execution to higher-timeframe position trading, including a dedicated XAUUSD profile and a conservative funded-account style profile. This gives the product flexibility without forcing every user into the same setup.

Main features

  • Lorentzian Distance KNN classification engine for pattern-based directional analysis.
  • Kernel regression confluence using Rational Quadratic and Gaussian estimators.
  • Configurable feature pipeline with RSI, WaveTrend, CCI, and ADX inputs.
  • Multi-layer filter stack including volatility, regime, ADX, EMA, SMA, session, spread, and kernel filters.
  • ATR-based or fixed-pip stop loss and take profit management.
  • Optional trailing stop, breakeven, and partial close functions.
  • Risk-based lot sizing and support for multiple deployment profiles.
  • Seven pre-configured set files for different styles, symbols, and risk preferences.
  • On-chart dashboard with signal state, filter status, feature values, and trade statistics.
  • Designed for systematic backtesting, phased optimization, and walk-forward validation.

Important usage notes

  • The EA requires historical data to warm up the classification engine before signals can be generated.
  • Different brokers, spreads, execution speed, and symbol specifications can affect live behavior compared with tester results.
  • For lower timeframes and gold trading, broker quality and spread control are especially important.
  • Unique magic numbers should be used when running multiple instances on the same account.
  • Demo testing and forward validation are recommended before live deployment.
Plus de l'auteur
White Rabbit EA
Michael Prescott Burney
4 (4)
White Rabbit EA : Un système de trading sécurisé et propriétaire pour trader l’EUR/USD sur la plateforme MT5 (lancé plus tôt ce mois-ci). White Rabbit EA       Ce produit est fabriqué avec une grande précision.       Il s'agit de notre système de trading EUR/USD sécurisé et exclusif.       Cette plateforme est spécialement conçue pour les traders qui souhaitent pratiquer le trading automatisé et systématique, respecter scrupuleusement leurs stratégies de trading et gérer eux-mêmes leurs niveaux
FREE
Gold Strategy Matrix EA
Michael Prescott Burney
Le système Gold Strategy Matrix est un système de trading automatisé conçu spécifiquement pour la paire de devises XAUUSD (or/dollar américain) sur le graphique H1 de la plateforme MetaTrader 5. Ce système propose une stratégie de trading de l'or automatisée, systématique et rigoureuse, privilégiant la stabilité, la gestion des risques et l'exécution cohérente des ordres. Cette stratégie analyse les mouvements de prix sur le graphique H1 de la paire XAUUSD et identifie les opportunités de tradin
FREE
Deep Mines EA
Michael Prescott Burney
1 (1)
Deep Mines MT5 est un système de trading automatisé spécialement conçu pour la paire de devises XAUUSD, utilisant des graphiques horaires (H1) sur la plateforme MetaTrader 5. Ce système privilégie la simplicité d'utilisation et la fiabilité d'exécution des ordres, offrant ainsi une solution optimisée et performante pour le trading automatisé de l'or. Cette stratégie analyse les mouvements de prix sur le graphique H1 de la paire XAUUSD et exécute des transactions selon une logique interne prédéfi
FREE
Prop Stars EA
Michael Prescott Burney
2 (1)
Prop Stars FX est un système de trading automatisé conçu spécifiquement pour le trading de la paire de devises USD/CAD sur la plateforme MetaTrader 5, avec des graphiques horaires (H1). Il propose une approche de trading automatisée systématique et rigoureuse, privilégiant la stabilité, la gestion des risques et une exécution des ordres cohérente. Contrairement aux modèles à signal unique, cette stratégie utilise une architecture multi-stratégies qui analyse les conditions de marché sous différe
FREE
Kaiju X EA
Michael Prescott Burney
4.5 (2)
Kaiju X est un système de trading automatisé basé sur les graphiques H1, conçu spécifiquement pour la paire de devises USD/JPY. Il offre aux traders une approche systématique et rigoureuse du marché, reposant sur une logique de trading qui privilégie la cohérence, la stabilité et la simplicité d'utilisation. Ce système est destiné aux traders recherchant une solution spécialisée pour l'une des paires de devises les plus activement négociées sur le marché des changes. Cette stratégie repose sur u
FREE
Euraura EA
Michael Prescott Burney
3.13 (8)
Introducing the EURAURA EA, a revolutionary trading assistant designed specifically for the EURUSD H1 chart. At the heart of EURAURA EA lies a robust collection of 300 meticulously crafted strategies, each fine-tuned for optimal performance. This extensive strategy index is the result of relentless pursuit of trading perfection, combining classical trading principles with cutting-edge analytical techniques. EURAURA EA is tailored for traders who value both high profitability and consistent mark
FREE
Crystal Ice EA
Michael Prescott Burney
Crystal Ice EA: Precision Trading on the GBPUSD M15 Chart Introducing Crystal Ice EA, a revolutionary Expert Advisor tailored for traders focusing on the GBPUSD market on the M15 chart. Crystal Ice EA embodies the essence of precision, efficiency, and ease of use, offering a streamlined approach to trading with a powerful reversal feature and meticulously pre-determined Take Profit (TP) and trailing Stop Loss (SL) for each trade. Key Features: Reversal Feature for Every Trade: Crystal Ice EA le
FREE
The Gold Digger EA
Michael Prescott Burney
2.33 (9)
Gold Digger FX : Il s'agit d'un robot de trading d'or à court terme pour la plateforme MT5. Le risque de trading de la paire XAUUSD était relativement faible au cours du premier semestre de cette année. Gold Digger FX   est un robot de trading d'or très précis et à faible risque, conçu pour la plateforme MT5.   Il est destiné aux traders recherchant une exécution d'ordres rapide, systématique et maîtrisée des risques sur   le marché XAUUSD H1   . Ce conseiller expert (EA) a été développé exclusi
FREE
Prop Farmers EA
Michael Prescott Burney
3.6 (15)
Prop Farmers EA est un service de conseil en investissement à faible risque qui permet aux utilisateurs de trader la paire EUR/USD sur leurs comptes de trading personnels. Prop Farmers EA   est un Expert Advisor (EA) hautement performant, optimisé pour la paire de devises EUR/USD et particulièrement adapté aux comptes de trading pour compte propre à faible risque   .   Il a été développé pour les traders recherchant une automatisation systématique, une exécution rigoureuse et une gestion des ri
Prop Masters EA
Michael Prescott Burney
4.27 (11)
Prop Masters FX – Conseiller expert à faible risque pour les paires de devises GBP/USD destinées aux comptes de trading propriétaires (Lancé au premier semestre de l'année) Prop Masters FX       Il a été fabriqué avec précision.       Système de trading automatisé GBP/USD à faible risque utilisant des comptes de trading propriétaires.       Cette plateforme est spécialement conçue pour les traders qui exigent une exécution précise des ordres, une gestion efficace des risques et une réalisation c
Straight Pippin EA
Michael Prescott Burney
3 (2)
Introducing the New and Enhanced Straight Pippin EA for EURUSD H1 Dive into the next evolution of the Straight Pippin EA, reimagined for EURUSD H1 and backed by the strength of extensive data and analysis. Features & Benefits : Deep Data Analysis : Our EA is designed using insights from EURUSD data dating back to 2007, ensuring a robust foundation for the strategies it employs. Tenfold Strategic Approach : Straight Pippin now boasts 10 rigorously optimized and time-tested strategies, each contri
FREE
Flaming Dragon EA
Michael Prescott Burney
3 (5)
Introducing the new Flaming Dragon EA for USDJPY on the 5-minute chart – your cutting-edge trading algorithm designed to ignite your forex trading with unparalleled precision and control. Harness the might of 100 unique trading strategies, each crafted to operate independently yet in perfect synchrony, providing a robust and diversified approach to the USDJPY pair. The Flaming Dragon EA is an exhibition of trading prowess, opening up to 100 positions when the stars align, and the precise conflue
FREE
Lifter EA
Michael Prescott Burney
BUY ONE GET ONE FREE WITH ANY PURCHASE! Introducing Lifter EA: A Revolutionary Approach to USDCAD M15 Trading Unlock the potential of the USDCAD M15 chart with the innovative Lifter EA, designed for traders seeking a comprehensive solution to conquer market volatility. Engineered with precision, Lifter EA encompasses a dynamic array of 30 strategies, meticulously curated to harness the power of trend analysis, hedging techniques, and scalping strategies. This expert advisor is your key to navig
FREE
Cosmos EA
Michael Prescott Burney
COSMOS EA: Your Gateway to Advanced EURUSD Trading on the H1 Chart COSMOS EA is a cutting-edge Expert Advisor meticulously designed for the EURUSD market on the H1 timeframe. Engineered with precision, it incorporates a diverse arsenal of 30 strategies, making it a versatile tool for traders aiming to capitalize on the volatility and trends of one of the most traded currency pairs in the forex market. Strategic Diversity and Precision At the heart of COSMOS EA lies its comprehensive strategy su
FREE
The Olympus EA
Michael Prescott Burney
3.67 (3)
BUY ONE GET ONE FREE WITH ANY PURCHASE! Introducing Olympus EA, a pioneering expert advisor crafted for the SPX500 (USA500) on the H1 chart. This advanced system transcends traditional stop loss (SL) and take profit (TP) mechanisms, opting instead for a sophisticated exit signal strategy. By monitoring a series of specific conditions on the chart, Olympus EA identifies the optimal moment to exit trades, ensuring decisions are made with precision and efficiency. Understanding the volatility and
FREE
Medusa EA
Michael Prescott Burney
1 (1)
UPDATED AS OF 3.17.2024 WITH NEW QUALITY CONTROL UPDATE FOR PERFORMANCE VALIDATION! "Unleash the power of "Medusa," a cutting-edge EA designed for the USDCHF H1 chart. With 300 brand-new strategies meticulously crafted for optimal performance, Medusa offers a unique approach to trading that is both innovative and effective. Since March 16, 2021, to March 16, 2024, Medusa has maintained an impressive 90% win rate, showcasing its ability to identify profitable trading opportunities with precision
FREE
The Indice Suites EA
Michael Prescott Burney
BUY ONE GET ONE FREE WITH ANY PURCHASE! The Indices Suites EA is a sophisticated trading tool designed for the US30 H1 chart, embodying a diverse arsenal of 74 strategies that leverage trend analysis, hedging techniques, and scalping methods. Uniquely, this EA discards the conventional use of stop loss (SL) and take profit (TP) limits, instead employing a dynamic reversal mechanism as a strategic alternative to mitigate drawdown (DD). This innovative approach allows for a more fluid and respons
Prop Sickle EA
Michael Prescott Burney
1 (1)
Key Features of the Prop Sickle EA: Tailored for AUDCAD H1 Market : Expertly designed for the AUDCAD pair, the Prop Sickle EA leverages unique market insights and behaviors, offering traders a specialized tool for this currency pair. Diverse Strategy Arsenal : The EA boasts a comprehensive collection of 30 optimized strategies. These strategies have been rigorously tested and refined to ensure they meet the high standards required for successful trading in prop firm environments. Prop Firm Acc
The Fireball EA
Michael Prescott Burney
Discover the unmatched prowess of Fireball EA, your new indispensable tool for the EURUSD M15 market. Since its inception in 2020, Fireball EA has consistently demonstrated an exceptional win rate, setting a new benchmark in automated trading efficiency. Engineered with meticulous attention to detail, this Expert Advisor combines advanced trading algorithms with unparalleled drawdown (DD) control, ensuring your capital is managed with the utmost precision. Fireball EA is equipped with a state-o
Time Travel EA
Michael Prescott Burney
BUY ONE GET ONE FREE WITH ANY PURCHASE! Introducing Time Travel EA, a cutting-edge expert advisor engineered for the EURUSD M5 chart. This powerful tool employs an advanced blend of 18 distinct strategies, incorporating scalping, hedging, and trend methodologies to masterfully navigate the forex market. Time Travel EA is designed to optimize your trading experience, ensuring every move on the chart is capitalized upon. Its scalping strategy is perfect for traders looking to profit from small pr
Safari EA
Michael Prescott Burney
4 (1)
Introducing the reimagined Safari RX – a testament to the relentless pursuit of perfection and a nod to one of the original visions in our lineup of Expert Advisors (EAs). Originally pulled for enhancements, Safari EA has now triumphantly returned, fully optimized and more powerful than ever, with a specific focus on heavy drawdown (DD) control while maximizing profits on the GBPUSD M5 chart. The Revival of Safari EA Safari EA holds a special place in our history as one of the first ideas that
Galaxy Quest EA
Michael Prescott Burney
EURJPY (1H CHART) Trading Performance Summary This trading account has shown remarkable performance with a detailed breakdown of various key statistics. Let's take a closer look at the insights provided by these numbers: Historical Data Quality : The data spans over an extensive 23,535,520 bars, indicating robust backtesting and analysis. Initial Deposit : The trading journey started with an initial deposit of $3,000. Total Net Profit : Over time, the total net profit has grown to an impressive
Rip Tide EA
Michael Prescott Burney
2.33 (3)
UPDATED AS OF 3.17.2024 WITH NEW QUALITY CONTROL UPDATE FOR PERFORMANCE VALIDATION! Title: Riptide EA – The Pinnacle of NZDUSD H1 Trading Overview: Harness the dynamic nature of the forex market with Riptide EA, meticulously crafted for the NZDUSD H1 chart. This Expert Advisor is the result of an extensive and rigorous development process, combining state-of-the-art indicators with a proven track record of profitability and stability. Designed to elevate your trading strategy, Riptide EA provid
Apollo EA
Michael Prescott Burney
1 (1)
Introducing Apollo RX Remaster: a fearless evolution of the original, designed for those who dare to trade with audacity. This isn't just an update; it's a complete overhaul, boasting an entirely new strategy index crafted for an unconventional currency pair. With wider stop loss (SL) and take profit (TP) placements, Apollo RX demands a trader's full commitment to each maneuver on the market. The system's core is built for the thrill of the chase, for traders who thrive on the pulse of aggressi
Pegasus EA
Michael Prescott Burney
Introducing "PEGASUS EA," a refined trading assistant for the UK100 on the H1 timeframe. With a suite of 100 diverse strategies, PEGASUS EA is designed to navigate the complexities of the market. Its focus lies in providing a balanced approach, catering to various trading scenarios while maintaining stability. The tool is especially crafted for those with a deep understanding of market dynamics, suitable for larger accounts that are comfortable with leveraging their positions. PEGASUS EA stands
Odyssey EA
Michael Prescott Burney
Meet "ODYSSEY EA," a specialized trading tool for Brent Crude Oil on the H1 timeframe. Designed with a focus on strategy diversity, it features 100 carefully developed approaches to adapt to various market scenarios. Notably, ODYSSEY EA emphasizes a reduced drawdown after initiation, aiming to create a more stable trading environment. This aspect is particularly useful in managing sudden market shifts, providing users with time to assess and respond strategically. Tailored for experienced trade
Betty White EA
Michael Prescott Burney
Introducing the "BETTY WHITE Expert Advisor" – your automated solution for trading the USD/JPY currency pair on the 15-minute (M15) timeframe. This powerful EA comes with a range of features and benefits that cater to both novice and experienced traders: **Key Features and Benefits:** 1. **Efficient Trading Automation:** The BETTY WHITE EA is designed to streamline your trading process. It can analyze market conditions and execute trades on your behalf, saving you time and effort. 2. **Custo
The Kraken EA
Michael Prescott Burney
**Introducing the Kraken EA for USDCAD on the 15M Chart!** Are you a day trader looking to seize opportunities in the ever-volatile USDCAD market? Look no further! The Kraken EA is here to provide you with a sophisticated, AI-driven trading solution. **Key Features:** **Five Handcrafted Strategies:** The Kraken EA is armed with not one, but **five unique trading strategies** meticulously designed to cater to different market conditions. This versatility ensures that you can capitali
Collider EA
Michael Prescott Burney
Revitalizing the trading scene with the freshly redesigned Collider EA, we are proud to introduce an innovative tool tailored for the EURUSD on the 5-minute chart. The Collider EA emerges with a distinct strategy focused on precision and accuracy, setting a new standard for algorithmic trading. Strategic Precision in Trading Each trade executed by Collider EA is meticulously calculated, aiming for a 2:1 risk-to-reward ratio, with an approximate 20 pip stop loss and a 10 pip take profit. This st
Dax Dynamo
Michael Prescott Burney
BUY ONE GET ONE FREE WITH ANY PURCHASE! Introducing Dax Dynamo EA, a revolutionary expert advisor meticulously engineered for the GER30 H1 chart. With an arsenal of 47 uniquely integrated strategies, Dax Dynamo transcends conventional trading methods by employing scalping, hedging, and trend trading techniques. This fusion of strategies empowers the EA to navigate through the market's volatility, adapt to its fluidity, and capitalize on its movements with unmatched precision. Dax Dynamo sets it
Filtrer:
Aucun avis
Répondre à l'avis