fxDreema

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

    Heavy EA in backtesting

    Bug Reports
    2
    2
    520
    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.
    • L
      Leandro Allmer last edited by

      I created an EA that is apparently working right, but when running backtesting in "every tick" it is too heavy and takes a long time. Am I perhaps put the blocks in the wrong place? What is the tabs (on init, on timer, on tick, on trade, onchart, on deinit)? I put all the blocks on the "on tick". Does this not let the EA too heavy? thank you.

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

        This is a looooong story and the answer is "It depends". It's true that EA bulders, at least mine, produces big and slow code. I mean... compared to what a professional programmer can do if he code the same strategy manually. What blocks to use and how to connect them matters of course, but I can't tell you which blocks to connect where. It depends. In general, put lightweight blocks on the top... if you know what they are, because most of the time even I don' know. And whenever possible, use less blocks.
        https://fxdreema.com/demo/mt4-events

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

        Online Users

        W
        M

        14
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors