Sahil Bagdi
Sahil Bagdi
  • Manager at National Stock Exchange of India Limited
  • Hindistan
  • 8858
4.7 (70)
  • Bilgiler
5+ yıl
deneyim
0
ürünler
0
demo sürümleri
83
işler
0
sinyaller
0
aboneler
Manager at National Stock Exchange of India Limited
👋 Hi, I’m Sahil Bagdi.

I build MQL5 tools for traders, including Expert Advisors, custom indicators, debugging utilities, profiling tools, and strategy-testing frameworks. My work focuses on clean code, practical trading logic, and reliable execution.

You can review my articles, CodeBase contributions, and client feedback to understand my development style and project experience.

📚 Articles:
https://www.mql5.com/en/search#!author=SahilBagdi&module=mql5_module_articles

🧩 CodeBase:
https://www.mql5.com/en/search#!author=SahilBagdi&module=mql5_module_codebase

💼 Invite me to your MQL5 project:
https://www.mql5.com/en/job/new?prefered=SahilBagdi

⭐ Client feedback:
https://www.mql5.com/en/users/sahilbagdi/feedbacks
Sahil Bagdi
"Custom Debugging and Profiling Tools for MQL5 Development (Part III): Regression Gates for Performance and Trading Rules" makalesini yayınladı
Custom Debugging and Profiling Tools for MQL5 Development (Part III): Regression Gates for Performance and Trading Rules

This article adds a regression gate to the MQL5 debugging and profiling workflow. It keeps the Part II profiler, TestLite runner, and trading math helper as contracts, then compares current profiler evidence with an accepted baseline. The workflow also adds symbol-aware assertions, compact status files, and report tables so performance drift, missing tests, and broker-assumption problems are visible before a build is accepted.

Sahil Bagdi
"Custom Debugging and Profiling Tools for MQL5 Development (Part II): Profiling EAs and Testing Trading Logic" makalesini yayınladı
Custom Debugging and Profiling Tools for MQL5 Development (Part II): Profiling EAs and Testing Trading Logic

We build a compact profiler that records calls, min/max/average times, and slow-call counts to CSV, and a simple test runner that writes deterministic pass/fail reports. The article explains where to place measurements in an EA, how to sample ticks, and how to keep pure calculations testable. Running the script first and the profiling EA second provides repeatable evidence for regression analysis.

Sahil Bagdi
"Custom Debugging and Profiling Tools for MQL5 Development (Part I): Advanced Logging" makalesini yayınladı
Custom Debugging and Profiling Tools for MQL5 Development (Part I): Advanced Logging

Learn how to implement a powerful custom logging framework for MQL5 that goes beyond simple Print() statements by supporting severity levels, multiple output handlers, and automated file rotation—all configurable on‐the‐fly. Integrate the singleton CLogger with ConsoleLogHandler and FileLogHandler to capture contextual, timestamped logs in both the Experts tab and persistent files. Streamline debugging and performance tracing in your Expert Advisors with clear, customizable log formats and centralized control.

2
Sahil Bagdi
"Building a Custom Market Regime Detection System in MQL5 (Part 2): Expert Advisor" makalesini yayınladı
Building a Custom Market Regime Detection System in MQL5 (Part 2): Expert Advisor

This article details building an adaptive Expert Advisor (MarketRegimeEA) using the regime detector from Part 1. It automatically switches trading strategies and risk parameters for trending, ranging, or volatile markets. Practical optimization, transition handling, and a multi-timeframe indicator are included.

Sahil Bagdi
"Building a Custom Market Regime Detection System in MQL5 (Part 1): Indicator" makalesini yayınladı
Building a Custom Market Regime Detection System in MQL5 (Part 1): Indicator

This article details creating an MQL5 Market Regime Detection System using statistical methods like autocorrelation and volatility. It provides code for classes to classify trending, ranging, and volatile conditions and a custom indicator.

Sahil Bagdi
"Advanced Memory Management and Optimization Techniques in MQL5" makalesini yayınladı
Advanced Memory Management and Optimization Techniques in MQL5

Discover practical techniques to optimize memory usage in MQL5 trading systems. Learn to build efficient, stable, and fast-performing Expert Advisors and indicators. We’ll explore how memory really works in MQL5, the common traps that slow your systems down or cause them to fail, and — most importantly — how to fix them.

Sahil Bagdi
"Mastering JSON: Create Your Own JSON Reader from Scratch in MQL5" makalesini yayınladı
Mastering JSON: Create Your Own JSON Reader from Scratch in MQL5

Experience a step-by-step guide on creating a custom JSON parser in MQL5, complete with object and array handling, error checking, and serialization. Gain practical insights into bridging your trading logic and structured data with this flexible solution for handling JSON in MetaTrader 5.

1
Sahil Bagdi
"Mastering File Operations in MQL5: From Basic I/O to Building a Custom CSV Reader" makalesini yayınladı
Mastering File Operations in MQL5: From Basic I/O to Building a Custom CSV Reader

This article focuses on essential MQL5 file-handling techniques, spanning trade logs, CSV processing, and external data integration. It offers both conceptual understanding and hands-on coding guidance. Readers will learn to build a custom CSV importer class step-by-step, gaining practical skills for real-world applications.

Sahil Bagdi
"Modified Grid-Hedge EA in MQL5 (Part IV): Optimizing Simple Grid Strategy (I)" makalesini yayınladı
Modified Grid-Hedge EA in MQL5 (Part IV): Optimizing Simple Grid Strategy (I)

In this fourth part, we revisit the Simple Hedge and Simple Grid Expert Advisors (EAs) developed earlier. Our focus shifts to refining the Simple Grid EA through mathematical analysis and a brute force approach, aiming for optimal strategy usage. This article delves deep into the mathematical optimization of the strategy, setting the stage for future exploration of coding-based optimization in later installments.

Sahil Bagdi
"Modified Grid-Hedge EA in MQL5 (Part III): Optimizing Simple Hedge Strategy (I)" makalesini yayınladı
Modified Grid-Hedge EA in MQL5 (Part III): Optimizing Simple Hedge Strategy (I)

In this third part, we revisit the Simple Hedge and Simple Grid Expert Advisors (EAs) developed earlier. Our focus shifts to refining the Simple Hedge EA through mathematical analysis and a brute force approach, aiming for optimal strategy usage. This article delves deep into the mathematical optimization of the strategy, setting the stage for future exploration of coding-based optimization in later installments.

Sahil Bagdi
"Modified Grid-Hedge EA in MQL5 (Part II): Making a Simple Grid EA" makalesini yayınladı
Modified Grid-Hedge EA in MQL5 (Part II): Making a Simple Grid EA

In this article, we explored the classic grid strategy, detailing its automation using an Expert Advisor in MQL5 and analyzing initial backtest results. We highlighted the strategy's need for high holding capacity and outlined plans for optimizing key parameters like distance, takeProfit, and lot sizes in future installments. The series aims to enhance trading strategy efficiency and adaptability to different market conditions.

Sahil Bagdi
"Modified Grid-Hedge EA in MQL5 (Part I): Making a Simple Hedge EA" makalesini yayınladı
Modified Grid-Hedge EA in MQL5 (Part I): Making a Simple Hedge EA

We will be creating a simple hedge EA as a base for our more advanced Grid-Hedge EA, which will be a mixture of classic grid and classic hedge strategies. By the end of this article, you will know how to create a simple hedge strategy, and you will also get to know what people say about whether this strategy is truly 100% profitable.

Sahil Bagdi
"Market Reactions and Trading Strategies in Response to Dividend Announcements: Evaluating the Efficient Market Hypothesis in Stock Trading" makalesini yayınladı
Market Reactions and Trading Strategies in Response to Dividend Announcements: Evaluating the Efficient Market Hypothesis in Stock Trading

In this article, we will analyse the impact of dividend announcements on stock market returns and see how investors can earn more returns than those offered by the market when they expect a company to announce dividends. In doing so, we will also check the validity of the Efficient Market Hypothesis in the context of the Indian Stock Market.

Sahil Bagdi
"Improve Your Trading Charts With Interactive GUI's in MQL5 (Part III): Simple Movable Trading GUI" makalesini yayınladı
Improve Your Trading Charts With Interactive GUI's in MQL5 (Part III): Simple Movable Trading GUI

Join us in Part III of the "Improve Your Trading Charts With Interactive GUIs in MQL5" series as we explore the integration of interactive GUIs into movable trading dashboards in MQL5. This article builds on the foundations set in Parts I and II, guiding readers to transform static trading dashboards into dynamic, movable ones.

Sahil Bagdi
"Improve Your Trading Charts With Interactive GUI's in MQL5 (Part II): Movable GUI (II)" makalesini yayınladı
Improve Your Trading Charts With Interactive GUI's in MQL5 (Part II): Movable GUI (II)

Unlock the potential of dynamic data representation in your trading strategies and utilities with our in-depth guide to creating movable GUIs in MQL5. Delve into the fundamental principles of object-oriented programming and discover how to design and implement single or multiple movable GUIs on the same chart with ease and efficiency.

Sahil Bagdi
"Improve Your Trading Charts With Interactive GUI's in MQL5 (Part I): Movable GUI (I)" makalesini yayınladı
Improve Your Trading Charts With Interactive GUI's in MQL5 (Part I): Movable GUI (I)

Unleash the power of dynamic data representation in your trading strategies or utilities with our comprehensive guide on creating movable GUI in MQL5. Dive into the core concept of chart events and learn how to design and implement simple and multiple movable GUI on the same chart. This article also explores the process of adding elements to your GUI, enhancing their functionality and aesthetic appeal.

Sahil Bagdi
Looking for Python Developer işi için müşteriye geri bildirim bıraktı
Sahil Bagdi
Pro coder require to fix existing EA işi için müşteriye geri bildirim bıraktı
Sahil Bagdi
Scalping algo based on previous candle (IN OUT IN OUT) type trading işi için müşteriye geri bildirim bıraktı
Sahil Bagdi
How to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. kodunu yayınladı
Just simple codes to Disable/Enable Auto/Algo-Trading in both MT5 and MT4. Of course, DLLs must be allowed, This cannot be done without DLLs