fxDreema

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

    Topics created by MStrade

    • M

      Time filters not working on the desktop app
      Questions & Answers • • MStrade

      2
      0
      Votes
      2
      Posts
      634
      Views

      M

      Never mind .. Figured out the API function TimeFromString had changed. Seems to be working fine now.

    • M

      Printing multiple trades to a log.
      Questions & Answers • • MStrade

      3
      0
      Votes
      3
      Posts
      454
      Views

      fxDreema

      For each Trade is the important block here. You can run this block once, and it's orange output will be active 10 times in a row if you have 10 trades. Of course, this is not mandatory, because the block has filter settings, so you can choose to skip some of the trades. And in your case the block runs on every tick.

      Then you have once per trade/order - this one monitors trades/orders that For each Trade is loading and it will pass once for every unique ticket number. It has something like private database where it writes ticket numbers that were passed once. Note that this private database is deleted when you reload the EA 🙂

      So, even if block 2 passes 10 times per tick, on every tick, the check profit block is reached only few times. As many times as many trades are created. For example, 10 times for the whole lifetime of that EA

    • 1 / 1