Important Notice
Please disable the input parameter PassMql5 before running this Expert Advisor on your own charts.
This parameter was used solely to pass the MQL5 Market validation process because the EA relies on visual chart data (graphical trendlines and on-chart analysis). It is not required for live or demo trading and should be set to false for optimal performance.
TrendlineTrader + Prop Firm Protection EA
Developer: Shema Cedric Landry / The Quant Pulse
Core Strategy: Automated Trendline Trading using Mean Least Squares Fit (LS-Fit)
Target Audience: Prop Firm Challengers and Algorithmic Trend Traders
Overview
TrendlineTrader + Prop Firm Protection EA is a quantitative trading system designed to autonomously detect and trade verified trendline bounces and breaks with exceptional precision.
Unlike conventional EAs that rely solely on standard indicators, this system uses the Mean Least Squares Fit (LS-Fit) method to construct mathematically optimal trendlines, ensuring maximum accuracy and eliminating noise. Each trendline—whether support or resistance—is statistically validated for reliability, producing cleaner and higher-probability trade setups.
In addition, the EA integrates comprehensive Prop Firm Protection mechanisms, specifically designed to help traders comply with proprietary firm rules while maintaining controlled risk exposure and consistent performance.
Prop Firm Protection & Risk Management
Engineered for professional and prop-firm traders, this EA includes advanced tools for monitoring and maintaining compliance with typical funding-program restrictions:
Prop Firm Rule Tracking: Continuously monitors key performance metrics relative to firm limits, including:
Maximum Daily Drawdown (MaxDDay)
Maximum Weekly Drawdown (MaxDDweek)
Maximum Total Drawdown (MaxDDTotal)
Profit Target (profitTarget)
Initial Balance Anchor: Records the initial account balance (InitialBalance) to calculate drawdowns precisely from the equity high-water mark.
Equity High Tracking: Dynamically updates and tracks equity highs across multiple timeframes (EqHigh_1D, EqHigh_7D, etc.) to evaluate drawdowns and profit performance in real time.
Additional Controls & Customization
Trading Schedule:
Enables time-based filtering, allowing trading only on selected weekdays (AllowedMonday through AllowedFriday).
News Filter:
A customizable news-filtering module that automatically suspends trading during high-impact events. Users can specify key terms, time buffers, and resume intervals (NewsFilterOn, KeyNews, StopBeforeMin, StartTradingMin).
Visual Controls:
Offers complete control over on-chart elements, including dashboard layout, trendline display, touch-point markers, and color schemes. Options are available to automatically delete expired objects and adjust graphical visibility.
About The Quant Pulse
The Quant Pulse is a trading technology brand founded by Shema Cedric Landry, focused on building precision-driven algorithmic systems grounded in quantitative research and practical trading application.
Our goal is to empower traders with tools that combine scientific accuracy, strategic discipline, and visual clarity.