Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 29
Like Tree1Likes

MetaTrader 5 Python package

This is a discussion on MetaTrader 5 Python package within the HowToBasic forums, part of the Announcements category; MetaTrader 5 Python User Group - the summary -------------- The Main Study MetaTrader module for integration with Python - documentation ...

      
   
  1. #1
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,317
    Blog Entries
    1634

    MetaTrader 5 Python package

    • MetaTrader 5 Python User Group - the summary

    --------------

    The Main Study



    ----------------

    The Article




    Metatrader 5 Help



    ----------------

    The CodeBase



    ----------------

    The Forum


    ----------------

    The Blogs

    Something to Read - Python for Finance: Analyze Big Financial Data - the blog post (the book)
    ----------------

    more to follow ..
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  2. #2
    Member
    Join Date
    May 2013
    Posts
    58
    the interesting russian thread on mql5 ( R_UserGroup ) has been deleted.. you should invite everyone here
    Last edited by Dave; 04-11-2019 at 09:53 AM.

  3. #3
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,473
    Blog Entries
    2909
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Quote Originally Posted by Dave View Post
    the interesting russian thread on mql5 ( R_UserGroup ) has been deleted.. you should invite everyone here
    Yes, they deleted everything related to it.
    Seems they are making some big update ...
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  4. #4
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,473
    Blog Entries
    2909
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    It was the reply from the MetaQuotes -

    MetaTrader 5 Python User Group - how to use Python in Metatrader
    Renat Fatkhullin , 2019.04.11 18:58

    R will no longer be supported, we will disconnect it in the next build.

    Python will be supported.
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  5. #5
    Junior Member
    Join Date
    Apr 2019
    Posts
    2
    I would really like to read some personal experiences like the way, you've explained through the above article. I'm glad for your achievements and would probably like to see much more in the near future. Thanks for share.
    [commercial links were deleted by moderator]

  6. #6
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,473
    Blog Entries
    2909
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin

    MetaTrader 5 platform build 2055: Integration with Python, C++ like scope

    MetaTrader 5 platform beta build 2055: Integration with Python, C++ like scope and Strategy Tester improvements

    MetaTrader 5 Client Terminal build 2055

    1. Terminal: Added new API enabling request of MetaTrader 5 terminal data through applications using the Python language.

      Python is a modern high-level programming language for developing scripts and applications. It contains multiple libraries for machine learning, process automation, as well as data analysis and visualization.
      MetaTrader package for Python is designed for efficient and fast obtaining of exchange data via interprocessor communication directly from the MetaTrader 5 terminal. The data received this way can be further used for statistical calculations and machine learning.



      Connection


      1. Download the latest Python version at https://www.python.org/downloads/windows
      2. During Python installation, check "Add Python X.X to PATH%" to enable launch of Python scripts from the command line.
      3. Install the MetaTrader 5 module from the command line
        pip install MetaTrader5

      4. Add matplotlib and pytz packages
        pip install matplotlib
        pip install pytz

      Functions


      • MT5Initialize establishes connection with the MetaTrader 5 terminal
      • MT5Shutdown closes the previously established connection to the MetaTrader 5 terminal
      • MT5TerminalInfo gets status and parameters of the connected MetaTrader 5 terminal
      • MT5Version returns the MetaTrader 5 terminal version
      • MT5WaitForTerminal waits till the MetaTrader 5 terminal connects to the trade server
      • MT5CopyRatesFrom gets bars from the MetaTrader 5 terminal starting from the specified date
      • MT5CopyRatesFromPos gets bars from the MetaTrader 5 terminal starting from the specified index
      • MT5CopyRatesRange gets bars in the specified date range from the MetaTrader 5 terminal
      • MT5CopyTicksFrom gets ticks from the MetaTrader 5 terminal starting from the specified date
      • MT5CopyTicksRange gets ticks for the specified date range from the MetaTrader 5 terminal
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  7. #7
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,317
    Blog Entries
    1634

    New MetaTrader 5 platform build 2085

    New MetaTrader 5 platform build 2085: Integration with Python and Strategy Tester improvements

    Terminal: Added new API which enables request of MetaTrader 5 terminal data through applications using Python language.

    Python is a modern high-level programming language for developing scripts and applications. It contains multiple libraries for machine learning, process automation, as well as data analysis and visualization.

    MetaTrader package for Python is designed for efficient and fast obtaining of exchange data via interprocessor communication, directly from the MetaTrader 5 terminal. The data received via this pathway can be further used for statistical calculations and machine learning.



    Connection

    1. Download the latest Python version at https://www.python.org/downloads/windows
    2. During Python installation, check "Add Python X.X to PATH%" to enable the launch of Python scripts from the command line.
    3. Install the MetaTrader 5 module from the command line
      pip install MetaTrader5
    4. Add matplotlib and pytz packages
      pip install matplotlib
      pip install pytz

    Functions

    • MT5Initialize establishes connection with the MetaTrader 5 terminal
    • MT5Shutdown closes the previously established connection to the MetaTrader 5 terminal
    • MT5TerminalInfo receives status and parameters of the connected MetaTrader 5 terminal
    • MT5Version returns the MetaTrader 5 terminal version
    • MT5WaitForTerminal waits till the MetaTrader 5 terminal connects to the trade server
    • MT5CopyRatesFrom receives bars from the MetaTrader 5 terminal starting from the specified date
    • MT5CopyRatesFromPos receives bars from the MetaTrader 5 terminal starting from the specified index
    • MT5CopyRatesRange receives bars in the specified date range from the MetaTrader 5 terminal
    • MT5CopyTicksFrom receives ticks from the MetaTrader 5 terminal starting from the specified date
    • MT5CopyTicksRange receives ticks for the specified date range from the MetaTrader 5 terminal
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  8. #8
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,317
    Blog Entries
    1634
    MetaTrader module for integration with Python

    Python is a modern high-level programming language for developing scripts and applications. It contains multiple libraries for machine learning, process automation, as well as data analysis and visualization.

    MetaTrader package for Python is designed for convenient and fast obtaining of exchange data via interprocessor communication directly from the MetaTrader 5 terminal. The data received this way can be further used for statistical calculations and machine learning.

    Functions for integrating MetaTrader 5 and Python
    read more here
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

  9. #9
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,473
    Blog Entries
    2909
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  10. #10
    member mql5's Avatar
    Join Date
    May 2013
    Posts
    2,317
    Blog Entries
    1634

    MetaTrader 5.0.7 for Python

    Released an updated version of MetaTrader 5.0.7 for Python.
    You can upgrade as follows:
    Code:
    pip install --upgrade matplotlib
    pip install --upgrade MetaTrader5
    Changes/fixes on the updated version -

    Transition from true / false results to detailed numeric codes.
    Improved standby modes for data availability from the terminal.
    Last edited by mql5; 10-20-2019 at 10:57 AM.
    Metatrader 5 / Metatrader 4 for MQL5 / MQL4 articles preview preview
    Trading blogs || My blog

Page 1 of 3 1 2 3 LastLast

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
  •