fxDreema

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

    Why code blocks get executed on on Tick tab but not on on Timer tab

    Questions & Answers
    3
    8
    1403
    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.
    • T
      trader.philipps last edited by

      It's really anoying! I'm searching and searching for the issue why my code is not executed. So I placed it on the on Tick tab and it worked fine. What do I have to configure that it works on on Timer tab?

      0_1580655225010_95811acb-33c3-4f89-9ac4-079188c88974-image.png

      Are there any secrets I'm missing?

      I like to share my knowledge, but expect the others to contribute as well.

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @trader.philipps last edited by ambrogio

        @trader-philipps I didn't look at your project, but last weekend I noticed that some blocks in" on timer " tab don't work in baktest but in demo/real yes, does this help you?
        Do closed and/or open markets influence? Brokers server on/off?

        1 Reply Last reply Reply Quote 1
        • l'andorrà
          l'andorrà last edited by

          Please look at the final post of this thread:

          https://fxdreema.com/forum/topic/3009/I-want-to-create-a-simple-EA/3

          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

          T 1 Reply Last reply Reply Quote 0
          • T
            trader.philipps @l'andorrà last edited by

            @l-andorrà @ambrogio Thanks for your answers. Good to know that it works on demo/real, but I am working to make news available on tester 😕

            Need more investigation, but will go with the on tick tab for now.

            I like to share my knowledge, but expect the others to contribute as well.

            A 1 Reply Last reply Reply Quote 0
            • A
              ambrogio @trader.philipps last edited by ambrogio

              @trader-philipps Oh it would be good, so far no expert is able to recreate the news in the tester (AFAIK), good luck and good work 😉

              T 1 Reply Last reply Reply Quote 0
              • T
                trader.philipps @ambrogio last edited by trader.philipps

                @ambrogio Well, so far I am struggling with it as well. The icefx offers a solution to do this. And (if nit in tester) the approach really works. The manual says ...

                The program provides an opportunity to display news in the appropriate moment in “Backtest
                mode”. To use this feature Expert Advisor (EA) running in “Backtest mode” has to be able to pass
                directly the current time in backtest (backtest time) to the indicator. To do this, any Expert Advisor
                (EA) has to put the current time to global variable called ”NEWS_EURUSD_TIMEOVERRIDE”
                before calling the indicator (EURUSD indicates the currency pair in the test). The program will read
                this value and displays the news accordingly.

                So, if you do so in normal mode, it really works. Set a global variable with a unix timestamp of your choice and than drag the indicator on the chart and it displays the comming up news according the the indi settings. But if I set the global variables in tester with fxdreema, the indicator doesn't seem to realize the global variable.
                Next approach I might use mql code instead of the blocks and check if they make a difference.

                I like to share my knowledge, but expect the others to contribute as well.

                T 1 Reply Last reply Reply Quote 1
                • T
                  trader.philipps @trader.philipps last edited by

                  @trader-philipps Okay, I digged deeper into this. It looks like the time is interpreted correctly, but the news are downloaded each day from the current week. So it seems to be an issue with NewsInfo and/or the data provider. I opened a ticket at blackmoonfx or however they are called now. Let's see if there'll be an answer.
                  If someone uses this indicator already in live account, he might check the cache folder if there are some news files and provide them. So I think I could do some more testing and development.

                  I like to share my knowledge, but expect the others to contribute as well.

                  1 Reply Last reply Reply Quote 0
                  • l'andorrà
                    l'andorrà last edited by

                    Thank you for your impressive effort trader.philipps. 😉

                    (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                    (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                    (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                    Online Users

                    S
                    M
                    H
                    S
                    J
                    P
                    B

                    15
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors