Sahil Bagdi
Sahil Bagdi
4.7 (68)
  • Information
3 years
experience
0
products
0
demo versions
81
jobs
0
signals
0
subscribers
👋 Hi, I’m Sahil Bagdi
👀 I’m interested in all the codes


📫 How to reach me:
📨 Email: sahilbagdi.dev200@gmail.com
💬 Telegram: @sahilDev200


🏳 Want to give me any job?
💼 Give me the job directly using this Link: https://www.mql5.com/en/job/new?prefered=SahilBagdi

👤 Feedbacks: https://www.mql5.com/en/users/sahilbagdi/feedbacks
Sahil Bagdi
Published article Custom Debugging and Profiling Tools for MQL5 Development (Part I): Advanced Logging
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.

Álex Mendoza
Álex Mendoza Thursday
Alex Mendoza
Sahil Bagdi
Published article Building a Custom Market Regime Detection System in MQL5 (Part 2): Expert Advisor
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
Published article Building a Custom Market Regime Detection System in MQL5 (Part 1): Indicator
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
Published article Advanced Memory Management and Optimization Techniques in MQL5
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
Published article Mastering JSON: Create Your Own JSON Reader from Scratch in MQL5
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.

Sahil Bagdi
Published article Mastering File Operations in MQL5: From Basic I/O to Building a Custom CSV Reader
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
Published article Modified Grid-Hedge EA in MQL5 (Part IV): Optimizing Simple Grid Strategy (I)
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
Published article Modified Grid-Hedge EA in MQL5 (Part III): Optimizing Simple Hedge Strategy (I)
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
Published article Modified Grid-Hedge EA in MQL5 (Part II): Making a Simple Grid EA
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
Published article Modified Grid-Hedge EA in MQL5 (Part I): Making a Simple Hedge EA
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
Published article Market Reactions and Trading Strategies in Response to Dividend Announcements: Evaluating the Efficient Market Hypothesis in Stock Trading
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
Published article Improve Your Trading Charts With Interactive GUI's in MQL5 (Part III): Simple Movable Trading GUI
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
Published article Improve Your Trading Charts With Interactive GUI's in MQL5 (Part II): Movable GUI (II)
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
Published article Improve Your Trading Charts With Interactive GUI's in MQL5 (Part I): Movable GUI (I)
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
Left feedback to customer for job Looking for Python Developer
Sahil Bagdi
Left feedback to customer for job Pro coder require to fix existing EA
Sahil Bagdi
Left feedback to customer for job Scalping algo based on previous candle (IN OUT IN OUT) type trading
Sahil Bagdi
Published code How to Disable/Enable Auto/Algo-Trading in both MT5 and MT4.
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
Sahil Bagdi
Added topic How to get price of ellipse points?
I think I have explained everything in image. OBJPROP_PRICE4 doesn't exist, I wrote that in image by mistake, sorry about that. Can someone help me with this problem of ellipse? Thanks for your time
Sahil Bagdi
Left feedback to customer for job Create a custom symbol