fxDreema

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

    Heavy EA in backtesting

    Questions & Answers
    2
    2
    502
    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
      • M
        miro1360 last edited by

        you was right to put into "on tick", and if it is slow, it is because on every tick runs all your blocks in "on tick" event, if you will speed up it in tester, you can try you conditions with candle ID[1 and >1] runs with block "once per bar" 😉

        Between trading and gambling is a very small gap, be careful.

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

        Online Users

        D
        T
        M
        E
        F
        M
        K
        E
        E
        O

        19
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors