Sahil Bagdi
Sahil Bagdi
👋 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
已发布文章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.

2
Álex Mendoza
Álex Mendoza 2025.05.15
Alex Mendoza
Sahil Bagdi
已发布文章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
已发布文章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
已发布文章MQL5中的高级内存管理与优化技术
MQL5中的高级内存管理与优化技术

探索在MQL5交易系统中优化内存使用的实用技巧。学习构建高效、稳定且运行速度快的智能交易系统(EA)和指标。我们将深入探究MQL5中内存的实际运作方式、致使系统运行变慢或出现故障的常见陷阱,以及——最为关键的是——如何解决这些问题。

Sahil Bagdi
已发布文章JSON 从入门到精通: 创建自己的 MQL5 版本 JSON 解读器
JSON 从入门到精通: 创建自己的 MQL5 版本 JSON 解读器

体验分步指南,创建自定义的 MQL5 版本 JSON 解析器,囊括对象和数组处理、错误检查、及序列化。通过这款灵活的解决方案,在 MetaTrader 5 中处理 JSON,获取桥接交易逻辑与结构化数据的实用见解。

Sahil Bagdi
已发布文章精通 MQL5 文件操作:从基础 I/O 到构建自定义 CSV 读取器
精通 MQL5 文件操作:从基础 I/O 到构建自定义 CSV 读取器

本文聚焦于 MQL5 文件处理的核心技术,涵盖交易日志、CSV 处理以及外部数据集成。它既提供概念性理解,也包含实用的编程指导。读者将逐步学习如何构建一个自定义的 CSV 导入器类,从而掌握适用于实际应用的实用技能。

Sahil Bagdi
已发布文章改编版 MQL5 网格对冲 EA(第 IV 部分):优化简单网格策略(I)
改编版 MQL5 网格对冲 EA(第 IV 部分):优化简单网格策略(I)

在第四篇中,我们重新审视了之前开发的“简单对冲”和“简单网格”智能系统(EA)。我们的专注点转移到通过数学分析和暴力方式完善简单网格 EA,旨在优化策略用法。本文深入策略的数学优化,为在以后文章中探索未来基于编码的优化奠定了基础。

Sahil Bagdi
已发布文章改编版 MQL5 网格对冲 EA(第 III 部分):优化简单对冲策略(I)
改编版 MQL5 网格对冲 EA(第 III 部分):优化简单对冲策略(I)

在第三部分中,我们重新审视了早前开发的简单对冲和简单网格智能系统(EA)。我们的重点转移到通过数学分析和蛮力方式完善简单对冲 EA,旨在实现最优策略用法。本文深入探讨了该策略的数学优化,为在日后文章中探索未来基于编码的优化奠定了基础。

Sahil Bagdi
已发布文章改编版 MQL5 网格对冲 EA(第 II 部分):制作一款简单的网格 EA
改编版 MQL5 网格对冲 EA(第 II 部分):制作一款简单的网格 EA

在本文中,我们探讨了经典的网格策略,详解 MQL5 的智能交易系统的自动化,并初步分析回测结果。我们强调了该策略对高持有能力的需求,并概括了在未来分期分批优化距离、止盈和手数等关键参数的计划。该系列旨在提高交易策略效率,以及针对不同市场条件的适配性。

Sahil Bagdi
已发布文章改编版 MQL5 网格对冲 EA(第 1 部分):制作一个简单的对冲 EA
改编版 MQL5 网格对冲 EA(第 1 部分):制作一个简单的对冲 EA

我们将创建一个简单的对冲 EA,作为我们更高级的 Grid-Hedge EA 的基础,它将是经典网格和经典对冲策略的混合体。在本文结束时,您将知晓如何创建一个简单的对冲策略,并且您还将知晓人们对于该策略是否能真正 100% 盈利的说法。

Sahil Bagdi
已发布文章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
已发布文章利用 MQL5 的交互式 GUI 改进您的交易图表(第 III 部分):简易可移动交易 GUI
利用 MQL5 的交互式 GUI 改进您的交易图表(第 III 部分):简易可移动交易 GUI

加入我们的《利用 MQL5 的交互式 GUI 改进您的交易图表》系列的第 III 部分,我们将探索将交互式 GUI 集成到 MQL5 中的可移动交易仪表板之中。本文建立在第 I 部分和第 II 部分的基础上,指导读者将静态交易仪表板转换为动态、可移动的。

Sahil Bagdi
已发布文章利用 MQL5 的交互式 GUI 改进您的交易图表(第 II 部分):可移动 GUI(II)
利用 MQL5 的交互式 GUI 改进您的交易图表(第 II 部分):可移动 GUI(II)

依靠我们的以 MQL5 创建可移动 GUI 的深度指南,在您的交易策略和实用程序中解锁动态数据表达的潜力。深入研究面向对象编程的基本原理,并探索如何在同一图表上轻松高效地设计和实现单个或多个可移动 GUI。

Sahil Bagdi
已发布文章利用 MQL5 的交互式 GUI 改进您的交易图表(第一部分):可移动 GUI(I)
利用 MQL5 的交互式 GUI 改进您的交易图表(第一部分):可移动 GUI(I)

凭借我们的利用 MQL5 创建可移动 GUI 的综合指南,令您的交易策略或实用程序焕发出呈现动态数据的力量。 深入了解图表事件的核心概念,并学习如何在同一图表上设计和实现简单、多个可移动的 GUI。 本文还探讨了往 GUI 上添加元素的过程,从而增强其功能和美观性。

Sahil Bagdi
留下反馈给客户为工作 Looking for Python Developer
Sahil Bagdi
留下反馈给客户为工作 Pro coder require to fix existing EA
Sahil Bagdi
留下反馈给客户为工作 Scalping algo based on previous candle (IN OUT IN OUT) type trading
Sahil Bagdi
已发布代码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
738
Sahil Bagdi
留下反馈给客户为工作 Create a custom symbol
Sahil Bagdi
留下反馈给客户为工作 SIMPLE EA that automatically creates buy/sell stops at specified points from my manually placed position. Must include take profit and stop loss and stop to breakeven