Syed Jawad Hussain Naqvi
Syed Jawad Hussain Naqvi
  • Founder & Quant Developer at Kernelis Capital
  • Pakistan
  • 2369
  • Information
no
experience
4
products
4
demo versions
0
jobs
0
signals
0
subscribers
Founder & Quant Developer at Kernelis Capital
X
Quantitative Developer 🇵🇰

• MQL5 Author — algorithmic trading systems built on statistical modeling, recursive signal processing, and quantitative market analysis
• Technical skills: MQL5, Python, C++, statistical modeling, competitive programming
• Focus: correct engineering — proper recursive state management, honest backtesting, no shortcuts
• Belief: complex mathematics deserves clear, accessible explanations

📊 Working toward a career in quantitative finance

"If you can't explain it simply, you don't understand it well enough." — Albert Einstein
Syed Jawad Hussain Naqvi
Published article Efficient Volatility Estimation with Garman–Klass: From Theory to a Percentile-Based Trading Tool in MQL5
Efficient Volatility Estimation with Garman–Klass: From Theory to a Percentile-Based Trading Tool in MQL5

This article implements the Garman–Klass volatility estimator as an MQL5 indicator that uses OHLC data for higher statistical efficiency than close-to-close measures. A percentile-based squeeze/expansion detector produces breakout signals, and a companion Expert Advisor executes them via iCustom. Implementation details include series-aware indexing, recursive squeeze-state handling in indicator buffers, and a baseline-on-attach rule for the EA, giving a ready-to-use toolkit for volatility-regime trading.

Syed Jawad Hussain Naqvi
Published code Spread Monitor
Spread Monitor is an MQL5 Expert Advisor that draws a colour-coded panel on the chart. The panel shows the current spread of the attached symbol in points, along with the average, minimum, and maximum over a rolling history. It also counts how many stored samples exceeded a warning level, and turns the status row red when the current spread is above that level. The utility does not place orders. Inputs control the warning level, the history size, the refresh interval, and the panel position. Panel objects are removed when the EA is detached.
Syed Jawad Hussain Naqvi
Published article Real-Time Polynomial Regression: A Causal Savitzky-Golay Implementation for MQL5
Real-Time Polynomial Regression: A Causal Savitzky-Golay Implementation for MQL5

We adapt the Savitzky–Golay filter to a strictly causal, real-time form for MQL5 and derive the fixed coefficients for end-point evaluation. The article provides a full indicator and an Expert Advisor, explains the edge-evaluation noise sensitivity, and implements a multi-bar confirmation safeguard. Backtests on several symbols are shown without cherry-picking. You get ready-to-compile code, parameter guidance, and a reduced-lag alternative to moving averages.

Syed Jawad Hussain Naqvi
Published article The Kalman Filter for Price Smoothing: An Exact Implementation in MQL5
The Kalman Filter for Price Smoothing: An Exact Implementation in MQL5

This article implements the scalar Kalman Filter for price smoothing in MQL5 using the standard local-level model and the exact prediction–update equations. It explains how process and measurement noise (Q, R) shape the Kalman gain, builds two independently configured filters into a fast/slow crossover, and provides a complete indicator and Expert Advisor that trade a stability-confirmed signal via iCustom, giving a reproducible baseline for testing and tuning.

Syed Jawad Hussain Naqvi
Published code Adaptive Kalman Trend Filter Indicator
The Adaptive Kalman Trend Filter smooths price fluctuations to highlight the underlying market trend, adapting its responsiveness as market conditions change.
Syed Jawad Hussain Naqvi
Published article Making Custom Indicators for Beginners (Part 2): Fisher-style Indicator
Making Custom Indicators for Beginners (Part 2): Fisher-style Indicator

This article develops a Fisher‑style Indicator in MQL5 from first principles: normalize price within a recent high/low window, smooth and clamp the value, then apply a logarithmic transform. We cover buffer wiring, calculation‑buffer state management across bars, and seeding for stable starts. An accompanying EA implements threshold and reversal confirmation to show how to act on the signal.

Syed Jawad Hussain Naqvi
Added topic Help: Withdrawal declined — "Information about card/address/phone was invalid" — despite matching details
Hi everyone, I'm trying to withdraw earnings from article payments, and every attempt fails with: Payment status: Information about card/address/phone was invalid Here's what I've already checked and confirmed matches: Name : Card and MQL5 profile
Syed Jawad Hussain Naqvi
Published code Fisher Transform Indicator
A Fisher Transform oscillator built from statistical first principles — normalizing price into a bounded range, then applying a logarithmic transform to produce sharp, well-defined reversal signals instead of the gradual turns typical of conventional oscillators. Internal recursive state is handled through proper calculation buffers for reliable, correct behavior across backtests. From the article series "Making Custom Indicators for Beginners."
· 1 2067 305
Syed Jawad Hussain Naqvi
Published code SuperTrend Indicator
A custom SuperTrend indicator built from first principles, combining an ATR-based volatility band with a ratchet mechanism to produce a clean, non-repainting trend line. Internal recursive state is managed through properly registered calculation buffers, avoiding the state-loss bugs common in manually-managed array implementations. From the article series "Making Custom Indicators for Beginners."
· 2 4993 723
Syed Jawad Hussain Naqvi
Published article Making Custom Indicators for Beginners (Part 1): SuperTrend Indicator
Making Custom Indicators for Beginners (Part 1): SuperTrend Indicator

This article builds a robust SuperTrend indicator in MQL5 using ATR-based bands, a ratchet mechanism, and strict series indexing to avoid silent recursion errors and repainting on closed bars. We walk through buffer binding, ATR handle management, seeding, and arrow confirmation logic. A companion EA demonstrates practical integration

Syed Jawad Hussain Naqvi
Added topic What mistakes on MQL5 can lead to a ban? Help please.
Hi everyone, I am new to the MQL5 community and want to make sure I follow all the rules correctly. Could anyone please share what common mistakes or policy violations can get a user banned from this forum? I want to avoid any accidental account
Syed Jawad Hussain Naqvi
Published code PRO SCREENER
Take control of your trading performance with the Pro Dashboard Screener Designed for serious traders, this utility provides a clean, professional, and real-time overview of your account's health directly on your chart.
· 1 2739 347
Syed Jawad Hussain Naqvi Published product

Alexander The Great EA is a premium Expert Advisor developed exclusively for MetaTrader 5. It is designed to automate disciplined trend-following strategies using intelligent market analysis, advanced risk management, and professional trade execution. Unlike traditional Expert Advisors that rely on basic indicator crossovers, Alexander The Great EA combines trend confirmation, execution filters, and structured money management into a reliable automated trading solution. Every component has been

Syed Jawad Hussain Naqvi
Syed Jawad Hussain Naqvi
🚀 Why I Prefer Rule-Based Trading Over Emotional Trading

One of the biggest advantages of algorithmic trading is consistency.

An Expert Advisor doesn't get nervous after a losing trade.
It doesn't become overconfident after a winning streak.
It simply follows the rules it's been programmed to execute.

That's exactly why clear trading logic is so important.

Before writing a single line of MQL code, I always believe a strategy should answer these questions:

✔ What is the exact entry condition?
✔ What invalidates the setup?
✔ Where is the stop loss placed?
✔ When should the trade be closed?
✔ How much capital should be risked?
✔ When should the EA avoid trading?

If any of these questions can't be answered precisely, the strategy isn't ready for automation.

A successful Expert Advisor isn't built on assumptions—it's built on measurable, repeatable rules.

Automation doesn't improve a bad strategy, but it can execute a well-defined strategy with discipline and consistency.

What's one rule in your trading strategy that you think is impossible to automate? I'd love to hear different perspectives.

#MQL5 #MQL4 #ExpertAdvisor #AlgorithmicTrading #MetaTrader #Forex #TradingBots #Automation
Syed Jawad Hussain Naqvi
Syed Jawad Hussain Naqvi
💡 A Good Expert Advisor Is More Than Just Buy and Sell Signals

Many traders focus only on entry conditions when designing an Expert Advisor.

In reality, professional algorithmic trading is about much more than finding the perfect entry.

A robust EA should answer questions like:

✅ When should trading stop after reaching a daily loss limit?

✅ Should the EA avoid trading during high-impact news?

✅ What happens if the spread suddenly doubles?

✅ How many positions can be open at the same time?

✅ Should trades be filtered by the higher timeframe trend?

These aren't "extra features"—they're part of building a reliable trading system.

I've found that the difference between a basic EA and a professional one is often the attention given to execution, risk control, and adaptability rather than the entry signal itself.

When developing an automated strategy, think beyond "When do I buy?" and start asking "How will this system behave in every market condition?"

A strong trading algorithm isn't just about generating signals—it's about making smart decisions consistently.

Which feature do you think every professional Expert Advisor should include?

#MQL5 #MQL4 #ExpertAdvisor #MetaTrader #AlgoTrading #Forex #Automation #TradingSystems
Syed Jawad Hussain Naqvi
Syed Jawad Hussain Naqvi
📊 Backtesting Success Doesn't Always Mean Live Trading Success

One of the biggest misconceptions in algorithmic trading is believing that an excellent backtest guarantees future profits.

A strong backtest is important—but it's only the beginning.

Here are a few reasons why live results can differ:

✅ Spread Changes – Historical spreads are often lower than live market conditions.

✅ Slippage – Orders may execute at different prices during high volatility.

✅ Execution Speed – Network latency and broker execution can affect entries and exits.

✅ Market Evolution – Markets change over time. A strategy that worked well in one period may struggle in another.

✅ Over-Optimization – Tuning an EA too closely to historical data can create impressive backtests that fail in real trading.

When developing an Expert Advisor, I believe the goal isn't to create the "perfect" backtest—it's to build a system that remains consistent and robust across different market conditions.

A reliable trading algorithm should prioritize stability, disciplined risk management, and realistic testing over impressive historical statistics.

Would you rather have an EA with a 95% backtest that fails in live trading, or one with a realistic 70% backtest that performs consistently over time?

#MQL5 #MQL4 #ExpertAdvisor #AlgoTrading #Forex #MetaTrader #Backtesting #AlgorithmicTrading
Syed Jawad Hussain Naqvi
Syed Jawad Hussain Naqvi
⚡ Why Most Trading Strategies Fail After Automation

A trading strategy may perform well manually, but that doesn't mean it will work the same as an Expert Advisor.

The biggest challenge isn't the strategy—it's translating it into precise code.

Here are a few common issues:

🔹 Ambiguous Rules
"Buy after a strong bullish candle" is not a programming rule. The EA needs exact conditions, such as candle size, timeframe, and confirmation criteria.

🔹 Repainting Indicators
Some indicators look perfect on historical charts but change their signals after a candle closes, leading to unrealistic backtests.

🔹 Execution Differences
Manual traders can interpret market conditions. An EA executes only the logic it's given, with no assumptions.

🔹 Missing Risk Controls
A robust EA should include features like spread filters, maximum daily loss, trading session controls, and proper position sizing—not just entry and exit rules.

🔹 Lack of Testing
Successful automation requires thorough backtesting, forward testing, and optimization before going live.

A reliable Expert Advisor isn't just a coded strategy—it's a complete trading system built with clear logic, disciplined risk management, and stable execution.

What do you think is the hardest part of turning a manual strategy into an automated one?

#MQL5 #MQL4 #ExpertAdvisor #AlgoTrading #MetaTrader #ForexTrading #Automation #Programming
12