fxDreema

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

    check age

    Questions & Answers
    4
    8
    2220
    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.
    • S
      skytrader last edited by

      I'm trying to find the answer from this forum but couldn't.
      I'm curious is "check age" block also include weekend (when market closed) as part of calculation?

      I worry it calculates and include weekend which doesnt make sense for me because if i have logic "close trades if floating more than 24 hours" and trade was opened on friday night. it means it will close trades on monday morning at beginning of market.

      any clue on how "check age" works?

      thanks

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

        Yes, it includes weekends. I think I can add some code to exclude the weekends, at least I can try.

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

          You know what, it turns out that I already wrote this code, but I never uploaded it. I remember that we were talking with someone about this problem some time ago and I wrote everything, but I forgot why I decided to not upload it. Well, I didn't rejected it as well, so now I uploaded it. I hope that I'm not missing something important and this will not break someone's rules.

          S 1 Reply Last reply Reply Quote 0
          • J
            josecortesllobat last edited by

            Hi @fxDreema

            We were discussing that on this post

            https://fxdreema.com/forum/topic/6346/position-s-expiration/6

            1 Reply Last reply Reply Quote 0
            • S
              skytrader @fxDreema last edited by

              @fxdreema that is awesome! thanks so much.

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

                @fxdreema can you make it as option to include/exclude weekend in "check age" block?

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

                  Now my question is why, because weekend days are not supposed to be there, markets don't work Saturday and Sunday. But yes, sometimes those days appear on the chart, I can see that. I think that on Monday some data is filled for the last day or two, but not always.

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    Xanderrooi9 @fxDreema last edited by

                    @fxdreema can you please add weekends to check age some of us trade on weekends with deriv broker trading synthetic indices.

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

                    Online Users

                    E
                    B
                    A
                    N
                    L
                    A
                    M
                    E

                    23
                    Online

                    146.6k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors