fxDreema

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

    comment block

    Questions & Answers
    3
    6
    604
    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.
    • R
      Robotman last edited by

      How can I store high n low current day at comment block, and reser it everyday?

      TipsyWisdom 1 Reply Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @Robotman last edited by

        @robotman said in comment block:

        How can I store high n low current day at comment block, and reser it everyday?

        1. *create new variables *var1(ydayhigh) & var2 (ydfaylow)
          once per bar, daily
          modify variables like my picture
          0_1649419345971_84c7819e-4ffe-48f7-b371-a8b0e9cc5986-image.png
          then go put var 1 in the first and var2 in the second.
          Comment block below. done.
        1 Reply Last reply Reply Quote 0
        • G
          Gol D Hendry last edited by

          https://fxdreema.com/shared/6NEDcGqve
          I'm just doing like your instruction. Sorry if I'm wrong. I run it, but it show a yesterday high and low0_1649422948005_fxdreema posting.png

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

            hah, my bad...just change it to C0 then.

            It will reset every time there is a new day with a new high or new low, just remove once per bar.

            R 1 Reply Last reply Reply Quote 0
            • R
              Robotman @TipsyWisdom last edited by

              @tipsywisdom C0? Candle ID 0?

              TipsyWisdom 1 Reply Last reply Reply Quote 0
              • TipsyWisdom
                TipsyWisdom @Robotman last edited by

                @robotman said in comment block:

                @tipsywisdom C0? Candle ID 0?

                Yes, C0 is current.

                But you only asked for it once per day...well, its going to make a new high and new low more than once per day so I dont know how that logic is going to work. I think thats why I assumed you meant Yesterdays Candle info

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

                Online Users

                D
                A
                M
                K
                M
                B

                19
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors