fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. greg.pe
    3. Topics
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by greg.pe

    • G

      MT4 to MT5 converting warning "conversion from 'long' to 'int'
      Questions & Answers • • greg.pe

      6
      0
      Votes
      6
      Posts
      783
      Views

      jstap

      Yes but that is not a shared link, to see how everything is connected, may show any problems.

    • G

      No trade if there was already closed trade
      Questions & Answers • • greg.pe

      10
      0
      Votes
      10
      Posts
      334
      Views

      G

      @RGoo thank You for your efford and help. I solved the problem, will explain how for future similar strugles, but firstly will reply regarding Your last comment. "If the block is above the condition, it will only be checked once at the beginning of the day." - and this is exactly what I wanted to achieve. One trade per day and if criteria in the first block are met then open a trade , if not ,then checking criteria in second block (what needs to be mentioned "once per day" are diff time). Problem was that "no trade" checking running trades only. In case where first block (once a day) open trade and SL or TP was hit before time set up in second block "once a day", then second block was processed anyway. In final calc. 2 trades were open in such case.

      How did I solved it ?
      EA checks equity just before trades in first block are open. Second block checks that equity and in case is same then block 2 is processed.dreema5.png

    • G

      Urgent. Unsupported filling mode (10030).Converting EA from MT4 to MT5
      Bug Reports • • greg.pe

      5
      0
      Votes
      5
      Posts
      2056
      Views

      l'andorrà

      Good for you!

    • 1 / 1