Page 6 of 6 FirstFirst ... 4 5 6
Results 51 to 58 of 58
Like Tree1Likes

MetaTrader 5 Python package

This is a discussion on MetaTrader 5 Python package within the HowToBasic forums, part of the Announcements category; Every trading system developer sooner or later faces a fundamental question: how to properly slice and dice market data for ...

      
   
  1. #51
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,637
    Blog Entries
    1742

    Price movement discretization methods in Python

    Every trading system developer sooner or later faces a fundamental question: how to properly slice and dice market data for analysis? The conventional fixed-interval approach is like trying to measure an athlete's heart rate every 5 minutes, whether they are sprinting or resting. During periods of high activity, critical information is lost within a single bar, while during quiet hours we get dozens of empty bars, creating information noise.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  2. #52
    Member
    Join Date
    Jun 2025
    Posts
    60
    My experience: initialize a single MT5 terminal instance and fetch data via copy_rates_*; multiple terminals can collide at the IPC layer. If you really need multiples, use portable installs and isolate processes—there are known hiccups with MT5’s Python module handling concurrent terminals

  3. #53
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,637
    Blog Entries
    1742

    Build a Remote Forex Risk Management System in Python

    Our remote risk manager is not just a tool, it is your insurance against financial chaos in the unpredictable world of Forex trading. Are you ready to turn your trading from a risky gamble into a controlled process? Then buckle up — we're going on a journey through the world of smart risk management, where technology meets financial security.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  4. #54
    Member
    Join Date
    Jun 2025
    Posts
    60
    The MT5 Python package is solid, but it is picky about terminal path and matching 64-bit versions. I usually check initialize, then last_error right away, and keep one HFM terminal per script to avoid IPC issues.

  5. #55
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,637
    Blog Entries
    1742

    Feature Engineering for ML (Part 5): Microstructural Features in Python

    The preceding articles in this series treated time as a feature in its own right: fractional differentiation preserves memory across a stationary series, and cyclical encoding embeds the Fourier structure of the trading calendar into the feature matrix. Both operate on bar-level data. Microstructural features work differently. They treat each bar not as a single observation but as a compressed summary of many individual trades, and they ask what those trades reveal about the market's internal state at the moment the bar closed.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  6. #56
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,637
    Blog Entries
    1742

    AI Trading Platform: Why MetaTrader 5 Is the Best Choice for Algorithmic Trading with Python, ONNX, and AI Assistant

    In this article, AI is not considered as a magical Make Money button, but as a layer that enhances analysis, helps formalize trading ideas, and integrates into verifiable algorithmic logic. The main goal is to show MetaTrader 5 as an infrastructure where AI progresses from a hypothesis into a controllable trading robot.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  7. #57
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,637
    Blog Entries
    1742

    Feature Engineering for ML (Part 11): Fractal Features in Python

    The preceding articles in this Feature Engineering for ML series derived features from price geometry (Part 1), from the trading calendar (Part 3), from the bid-ask spread and price impact (Parts 5–6), from the information content of the trade-direction sequence (Part 7), and, most recently, from the timing of regime changes themselves (Part 10). This eleventh installment returns to price geometry, but at a coarser structural level: the swing highs and swing lows that define support, resistance, and trend.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  8. #58
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,637
    Blog Entries
    1742

    Working with ONNX Models in MQL5 (Part 2): Drawing the Model Graph on an Interactive Chart Panel

    We built a reader that opens an ONNX file and tells us what is inside it. It works, and the report is accurate, but it arrives as a wall of text in the Experts tab. Thirteen layers scroll past with their input and output names. To understand the connections, we must trace those names by eye, line by line, while keeping the graph's structure in mind. A model with two parallel branches reads exactly like a model with one long chain, because a list has no way to show that two layers run side by side. The thing we most want to know about a network, its shape, is the one thing a list cannot give us. This article is for MetaQuotes Language 5 (MQL5) developers and algorithmic traders who want to see the model they are running rather than read about it.
    more...
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

Page 6 of 6 FirstFirst ... 4 5 6

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •