fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Problem opening orders in MT5 for my EA

    Bug Reports
    2
    3
    1013
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tcanuto
      tcanuto last edited by

      Problem opening orders in MT5 for my EA.

      Hello fxDreema

      I created a simplified version of an example of how I want my EA open an order, but not working.

      Here is my project for analysis: http://fxdreema.com/shared/7dQZO9Tpd

      Example based on my strategy topic/1883

      I look back!

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        There is a big difference when you put blocks in this order "Once per.. -> Condition", or like this "Condition -> Once per...". Maybe the arrangement is not correct. Also, "Once per positions" may wants to have positions in order to work. I made it to not pass until the positions count is not enough. Buy the way "Time bomb" blocks are not suitable for backtesting, don't believe any backtest results using these blocks. This is because they work with time, but in backtesting (even with real ticks data) the time is not exactly the same as in the real world.

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          Actually I think that "Once per positions" is not suitable to be used before the general Buy now or Sell now. Once per positions means "When there are X positions, then pass once", but you need to have positions from somewhere.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          E
          S
          A
          T
          A
          A
          M
          A
          M
          E
          E
          F
          E

          30
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors