fxDreema

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

    Topics created by GiovanniBumbo

    • G

      How to delete a pending order after x seconds... precisely
      Questions & Answers • • GiovanniBumbo

      2
      0
      Votes
      2
      Posts
      405
      Views

      fxDreema

      I would try this: For each Pending Order -> check age -> close

      But remember that if you work under "on Tick", then you will not always get a tick coming exactly 10 seconds after the order. They come when they want, they don't care about time. So if you want precise time, you need to work under "on Timer". It's period can be set from the project settings (the bench icon). But note that "on Timer" does not work in the Tester, because the Tester works with it's generated ticks

    • G

      Can trailing stop override initial stop loss?
      Questions & Answers • • GiovanniBumbo

      2
      0
      Votes
      2
      Posts
      368
      Views

      fxDreema

      I expect that SL will move only on positive movements, this is how it should work. But if you find that SL moves backwards, report this to me

      This Step of 0.1 pips... isn't this too low? It's actually possible to have value of 0 there, which means that SL will be able to move on every tick, but this will result in many requests to the server and the chance is that your broker will start to hate you 🙂

    • G

      2 different trailing stop logics
      Questions & Answers • • GiovanniBumbo

      2
      0
      Votes
      2
      Posts
      376
      Views

      fxDreema

      Try the Start options in the Trailing stop blocks. I think if you have 2 Trailing stop blocks and one of them has certain Start, it will work, and no pink blocks will be needed

    • G

      Warning: Too short SL requested...
      Questions & Answers • • GiovanniBumbo

      5
      0
      Votes
      5
      Posts
      908
      Views

      fxDreema

      Brokers often have limits. The EA is checking the minimum distance where SL/TP can be placed and if the requested value is lower, the minimum is taken. I think this is the better way, because otherwise you will get error messages such as 130 Invalid Stops

      Take a look below StopLevel Minimum Distance Limitation here - https://book.mql4.com/appendix/limits

    • G

      Don't open any other trade in this candle after SL reached
      Questions & Answers • • GiovanniBumbo

      3
      0
      Votes
      3
      Posts
      434
      Views

      G

      Yes, I used "Once per bar", but checking the age of the latest trade is perfect. Thanks

    • G

      Again on Trailing stop...
      Questions & Answers • • GiovanniBumbo

      14
      0
      Votes
      14
      Posts
      4949
      Views

      fxDreema

      I tried this and it works fine for me - http://prntscr.com/b0bmms
      I even tried with spread as big as 6 pips, but then each trade is closed as soon as it is created

    • 1 / 1