Page 6 of 6 FirstFirst ... 4 5 6
Results 51 to 55 of 55
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,616
    Blog Entries
    1732

    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,616
    Blog Entries
    1732

    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,616
    Blog Entries
    1732

    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

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
  •