fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. angelo2
    3. Topics
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 17
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by angelo2

    • A

      candle size count in pips
      Questions & Answers • • angelo2

      4
      0
      Votes
      4
      Posts
      184
      Views

      A

      Calculations can vary a lot from one broker to another, especially with indices.
      The only reliable way to know how a particular broker calculates pips, points, and lot sizes is to do your own testing by opening positions and seeing what happens.
      Unless you are very courageous and ready to make costly mistakes, test on a demo account of the broker you use.

    • A

      EA Progetto
      Questions & Answers • • angelo2

      4
      0
      Votes
      4
      Posts
      78
      Views

      A

      I created an EA with a supply and demand indicator, and it's a power plant. He only has one flaw that always calculates an area for me. For example, if the market is in supply and opens the sale, and closes the operation in profit, if the market falls into that area it recalculates it. I would like you to calculate it only once. Once the operation is opened, the supply/demand zone should no longer be valid.

    • A

      take profit modified into martingale strategy
      Questions & Answers • • angelo2

      3
      0
      Votes
      3
      Posts
      169
      Views

      J

      The code you provided calculates the take profit price for a strategy using the Martingale approach. Here’s a breakdown:
      NormalizeDouble() ensures that the value is within the allowed range of double values in MQL4/MQL5.
      last_open(OP_BUY) gets the Open price of the last opened buy order.
      TakeProfitPointPOINTX is a constant that represents the take profit value in points.
      Digits is the number of decimal places used for the symbol’s price.
      Calculation:
      The take profit price is calculated by adding the TakeProfitPointPOINTX value (in points) to the Open price of the last buy order and then normalizing the result to ensure it’s within the allowed range.

    • A

      SUP DEM EA
      Questions & Answers • • angelo2

      18
      0
      Votes
      18
      Posts
      417
      Views

      jstap

      If you still have the orange blocks they might be causing this because they are a loop. My EAs never open more than 1 trade, without there being something wrong.

    • 1 / 1