fxDreema

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

    Best posts made by moreirajbn

    • RE: USING THE TESTERWITHDRAWAL() FUNCTION FOR MODELING THE WITHDRAWALS OF PROFIT

      @vinicius-pereira

      I haven't tried it, but you can add a custom optimization criteria to your EA.... if you set that to "profit minus withdrawal" you'll probably get what you need.

      CREATING CUSTOM CRITERIA - https://www.mql5.com/en/articles/286

      I'm not a programer and haven't had enough time to dig into and it to my EA's, but it's something I'm interested in as well (also trade BMF in Brazil). So if you know how to add it to the EA code, I really appreciate if you could show me the way...

      thanks a lot.

      posted in Questions & Answers
      M
      moreirajbn
    • RE: Condition not working

      @leksand

      This is not a bug... just a technical glitch in your logic.

      It happens because it's technically impossible to have an "Ask" quote below the lowest price from candle ID 0 to candle ID 10. In Forex candles are in most cases constructed with "Bid" quotes, and because "Ask" is always above Bid, it's impossible that any Ask quote in candle 0 goes below the lowest Bid price. If candle 0 makes a new low of the last 11 candles (from 0 to 10 we have 11 candles), the lowest price will be a "Bid" quote... so even if you choose Bid, it will never be below the lowest price.... So, the lowest Bid will be equal to (but not lower than, "<") the lowest price..

      On the other hand, the ">" signal works because the Ask quote can be above the highest price, because the highest price comes from a "Bid" quote and, again, Ask is always above Bid..

      I suggest you to choose candle IDs from 1 to 10, not from 0 to 10... then it should work

      posted in Bug Reports
      M
      moreirajbn
    • RE: Time bomb back testing

      @fxdreema

      Hello.. you say "The lowest timeframe is 1 Minute and all ticks inside that minute are generated", but in MT5 we can in fact use real ticks from the broker in strategy tester, so I assume we can actually trust time bomb blocks as long as real ticks are used. What do you think?

      As far as I noticed, the real ticks have millisecond resolution, matching the exact time they occurred in the market, and also account for spread changes. See image below:

      0_1523573638080_Screen Shot 2018-04-13 at 00.53.06.png

      posted in Questions & Answers
      M
      moreirajbn
    • RE: Lines and Pending orders

      @steffen31

      this should work

      0_1527361605364_Screen Shot 2018-05-26 at 21.06.25.png

      posted in Questions & Answers
      M
      moreirajbn
    • RE: How do i get the parabolic sar to work on 3 candles?

      @vin135

      Make a condition (Parabolic SAR > candle high) that will change a variable (+1) when it passes, then make another condition that passes (and executes the trade) when the variable hits 3. If the "Parabolic SAR" condition doesn't pass, the variable is reset to zero.

      posted in Questions & Answers
      M
      moreirajbn
    • 1 / 1