fxDreema

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

    Pre-Run EA in Live Market/ Start EA from past to also consider older price levels in Live Trading

    General Discussions
    2
    6
    1182
    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.
    • umbrellamaker
      umbrellamaker last edited by umbrellamaker

      Hello guys,

      My EA stores those price levels in variables as soon as it detects them. Is it somehow possible to pre-run the EA (e.g. on the ON INIT tab) to get all the price levels stored in variables before the EA actually runs? I need those detetcted price levels, which of course got detected while backtesting 15 years of data, BUT they are missing if I would just start the EA in live markets.

      I want the EA to start in the past just as I would have started it in the backtester and continue to let the EA run in the present.

      Sometimes a price level will be traded months later after its creation due to price moving far away.

      That is quite a hot topic and probably very well in demand for most demand & supply traders.

      Appreciate your ideas!

      @fxDreema/ @l-andorrĂ : Might be a limitation within FxDreema and rather something for a coder to implement that feature?

      Cheers and thanks for the opportunity to use that marvelous software!

      S 1 Reply Last reply Reply Quote 0
      • S
        seb 0 @umbrellamaker last edited by

        @umbrellamaker
        You can do it with the "pass once" block on tick tab. Give it block id 1.
        So your EA will have 2 entries : 1."pass once" and the other filter you choose like 2."once per bar".

        1 Reply Last reply Reply Quote 1
        • umbrellamaker
          umbrellamaker last edited by umbrellamaker

          @seb-0
          I'm not sure if I got right. Could you elaborate a bit more?

          Maybe I was unclear with my description of the problem. Don't know it, yet.

          1 Reply Last reply Reply Quote 0
          • S
            seb 0 last edited by seb 0

            @umbrellamaker
            I guess you need a closed loop to check a certain amount of past candles, which will pass once when you launch the EA. And as much variables as price levels, to load their value.
            Do you have a predefined number of price levels ?

            umbrellamaker 1 Reply Last reply Reply Quote 0
            • umbrellamaker
              umbrellamaker @seb 0 last edited by

              @seb-0
              I got this kind of loop, that storages price levels. Quite a big thingy to create.

              I recognized I need max. 10 variables on the long site and 10 on the short site.

              BUT I do not know how to make the EA start like 10 years into the past and check the price until 31.12.2020 to get all the price levels, which might be still valid, you know?

              S 1 Reply Last reply Reply Quote 0
              • S
                seb 0 @umbrellamaker last edited by seb 0

                @umbrellamaker
                In this example, you have 3 variables that will take the value of the 3 last tops preceding their relative MA cross:
                https://fxdreema.com/shared/CcPfiN0me
                This loop "search" in the past once.

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

                Online Users

                E
                D
                O
                A
                J
                M
                R
                F

                23
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors