fxDreema

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

    Why doesnt this code work

    Questions & Answers
    2
    3
    524
    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.
    • U
      uchiha last edited by

      have a look at it please. between a given period it draws the lines, it is supposed to draw an arrow when a candle opens above the lower line and closes below it.
      https://fxdreema.com/shared/lHrHvOfnd

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

        Here is something that still does not work, but I'm using variables here instead of formula blocks and I also use the newest "Draw Line" block to draw lines. I also added "Indicator tester" for you to actually see where the low price is. The problem is that it is recalculated on every tick and look at what value it gets: http://prntscr.com/7kghqw Candle 0 is used in this calculation!

        https://fxdreema.com/shared/rWudNCFYc

        1 Reply Last reply Reply Quote 0
        • U
          uchiha last edited by

          After countless repetitions, it finally worked! I needed to multiply the values by 1.0 instead of 1 😕 😄 don't know why but it works that way...thanks.

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

          Online Users

          H
          S
          E
          J
          H

          9
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors