fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    How to get Margin Rates?

    Questions & Answers
    1
    1
    90
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aricanwar last edited by

      Margin Rates.png

      hello, can anyone help me?

      I need the margin rates value which I want to store in the MarginRates variable

      However, it is difficult to do this because you have to use the custom code mql5

      How do you get the margin rates?

      Because there are two types of buy and sell, I only need one of them.

      This is the code I created and it still seems wrong. Is there anyone who can help me?

      My Custom MQL Code :

      SymbolInfoMarginRate(Symbol(), ORDER_TYPE_BUY, MarginRates, MarginRates);

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post

      Online Users

      B
      S
      H
      A
      A
      F
      E

      14
      Online

      146.7k
      Users

      22.4k
      Topics

      122.6k
      Posts

      Powered by NodeBB Forums | Contributors