fxDreema

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

    CandleSize alway returns 0

    Questions & Answers
    2
    5
    874
    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

      Hi,

      I'm very new to fxDreema and am currently trying to create my first EA. However, I'm putting together fractions that I will later combine for my strategy.
      Anyway, I try to store once per bar the candle size in a variable (in pips) and for the begining just pront the value after modification in the log.
      The result is that it always returns the value 0 regardless of anything. I do the same with ATR as value and that works fine. What am I doing wrong?

      Hope I link this right!

      Bests Guido

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

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

        Btw. see the code in the getAtr Block on onTick tab.

        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

          Two previous questions. What are those 'Pass' block for? I don't see they are useful. And I recommend you to change block IDs 19 and 20 for each other. In their current order your EA is closing buys before opening them.

          (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
          • T
            trader.philipps last edited by

            L'Andorra, thanks for the tipp @IDs

            I'm currently adding fractions that I later want to place in the EA logic. I realized that candle size is Calculated right, but my ATR is not in PIPs. Sorry for any confusion, but the values in the log appear in different order and I don't have a clue yet to mix a number and a string in one log entry line. Well, my first day with fxdreema so nevermind.

            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

              Be sure your current_ATR variable is of a 'double' kind, not string.

              (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

              E
              H
              E
              J
              S
              W

              16
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors