fxDreema

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

    Debugging / Backtesting an EA

    Questions & Answers
    3
    3
    419
    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.
    • J
      JRod78 last edited by

      Hey Guys. I have done a fair bit of EA building with FX Dreemer and other software in the past, however it has been 2-3 years since I've done any algo trading.

      What is the best way to debug an EA you have built in fxdreemer? I have built something that I think should work (noting it has been a while!), however when I try to backtest in MT4 it doesn't take any trades. How do I best debug where the logic is falling down?

      1 Reply Last reply Reply Quote 0
      • R
        RazordLid last edited by

        Hi - I am also new so going though debug testing. I use comment blocks to check that each block is being triggered as expected, and move it down until it stops getting triggered. That has helped me find a few issues with the logic I have been trying to build.

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

          I mostly use "Draw Arrow", "Draw Line", "Comment", "Delay" or "Terminate" blocks.

          The first 3 are similar, they output something graphical, or print some text.

          The "Delay" block doesn't output anything graphical, but because it pauses the EA for few seconds, I have enough time to actually pause the Tester and investigate something at the time it happens.

          I use the "Terminate" block to just stop the EA when the EA does enough of what I want. Maybe I want just 2 trades or whatever. This block allows me to run the EA on the fastest speed, stop it when I have enough info, and if I run in multiple times, It would be stopped at the same time.

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

          Online Users

          A
          T
          M
          E
          C
          B

          18
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors