fxDreema

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

    Topics created by moreirajbn

    • M

      PositionCloseBy function
      Questions & Answers • • moreirajbn

      6
      0
      Votes
      6
      Posts
      3192
      Views

      M

      @miro1360

      Excellent Miro...

      I got the concept... my problem was with the initial code. 🙂

      Thanks a lot again.

    • M

      Error when trading with pending limit orders
      Bug Reports • • moreirajbn

      1
      0
      Votes
      1
      Posts
      603
      Views

      No one has replied

    • M

      Filling type: RETURN orders
      Questions & Answers • • moreirajbn

      7
      0
      Votes
      7
      Posts
      1735
      Views

      W

      @wagner
      0_1553452554412_35c0bdd5-db5c-4393-a3ad-27db291fe047-image.png

    • M

      Can't compile fxdreema mq5 file on MetaEditor
      Bug Reports • • moreirajbn

      2
      0
      Votes
      2
      Posts
      1107
      Views

      fxDreema

      Interesting. This function iBars was not present in MQL5 as long as I know and that's why I defined it. On the server the compiler I use is a bit older and that's why it works. On your PC MetaTrader is the newest version and maybe they added this function lately, although I can't find anything about it in the documentation.

    • M

      Technical question: EA behaviour if a market order is not executed at once
      Questions & Answers • • moreirajbn

      3
      0
      Votes
      3
      Posts
      895
      Views

      M

      @fxdreema

      The thing is that there are ticks... there are no deals, but as I understand MT5 considers a "tick" as anything that changes the bid/ask spread or the last deal in the market. So in circuit breakers we see changes in bid/ask, but without any deals, just by placement and cancellations of orders on the order book.... so it's quite different from Forex, where brokers make their own bid/ask spread and decide when it's time to change it.

      The mess gets really ugly on the CFDs, that trade through the broker's own bid/ask, but are arbitraged by the broker's market markers on the centralised markets. So when there is a circuit breaker on the exchange where, let's say Apple stocks are traded, the Apple CFDs will get REAAAAALY ugly...

      Anyways, thanks for the help.

    • M

      Standard deviation of ATR.
      Questions & Answers • • moreirajbn

      2
      0
      Votes
      2
      Posts
      804
      Views

      M

      0_1526931055133_miro1360_test2_1.0.mq4

      0_1526931077450_97527763-c83e-4862-9e85-d7287bf46c49-image.png

    • M

      MT5 projects only: "For each closed position" not working properly when "Buy/sell pending order" blocks are used
      Bug Reports • • moreirajbn

      9
      0
      Votes
      9
      Posts
      2964
      Views

      M

      @fxdreema

      I agree that there is no golden rule on how martingale should work. In my opinion the EA should look at the lot size and overall outcome (profit/loss) of the previous position, independently of how it was open (market or pending order) to decide on the next pending order's lot size, but this is just my opinion.

      Either way, now that the function is working (I've tested a "simple martingale" from pending orders at least) the user can see how the block behaves and decide for himself what to do...

      As always, fxDreema empowering trader's creativity... best tool on the whole internet 🙂

    • M

      Big challenge... for me at least: Count candles crossed by a horizontal line
      Questions & Answers • • moreirajbn

      6
      0
      Votes
      6
      Posts
      2438
      Views

      fxDreema

      Miro, you are a pro 🙂 I would say that this is a job for some custom indicator or a custom block.

    • M

      Block "Check profit (unrealized)" is failing
      Questions & Answers • • moreirajbn

      2
      0
      Votes
      2
      Posts
      649
      Views

      M

      fxDreema fixed it really fast.... 🙂
      thanks

    • M

      MT5 project - Execution price of last trade, in a position with multiple entry levels
      Questions & Answers • • moreirajbn

      1
      0
      Votes
      1
      Posts
      577
      Views

      No one has replied

    • M

      Problem with "check age" function
      Questions & Answers • • moreirajbn

      3
      0
      Votes
      3
      Posts
      1139
      Views

      M

      @miro1360

      Awesome, thanks so much.... works perfectly now.

      I've been struggling with that for hours because the alternative solution is to use the "Delay" block, but for this block to work on the backtest, MT5 must open a .dll file and that was making the backtest intolerably slow (i.e. minutes to run a week on OHLC).

      now it runs perfectly and super-fast 🙂

      thanks again

    • 1 / 1