fxDreema

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

    GMT Timestamp to Server / Chart Time *** SOLVED ***

    Questions & Answers
    3
    5
    1454
    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 trader.philipps

      I'm currently working on the next Version of the Tutorial EA. At this time I'm integrating the icefx Newsinfo indicator (off-topic: "that bloody bitch!!!"). I'm quiet done at the moment, but want to draw a rectangle on the chart when there is a news time ahead. That works also quiet well so far, but all the nes times are in GMT. When I simply calculate my news before and news after thresholds, I have 2 time values to draw the rectangle.

      0_1580912868603_8efa1870-a6ac-4b23-9251-46eed9136153-image.png

      However, the chart is in server time (not local time) and the my timestamps are all in gmt time.
      Is there a smart way to convert my gmt timestamps into servertime? The case that during that period a change between summer and winter time may happen I neglect at this point.

      Btw. that's how the new version looks right now.

      0_1580912940104_3690eeb0-60f7-46fe-ab81-738b2791f1c4-image.png

      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 Found it by myself. Like that:

        0_1580917445648_dcc1d16c-a5cc-466a-ad97-6f2aabb622e2-image.png

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

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

          An impressive work. 😮

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

            @trader-philipps Are the values "TimeCurrent()" and "TimeGMT()" inherent to all scripts? I am trying to also code a news filter and I want to use chart data from a news indicator. When selecting a text object on the objects list, I can click the object and see the Name on one tab, and the Parameters tab to see Time. The time is in format like this "2020.02.19 06:30". Is that format a string something else?

            Thanks for your help

            N 1 Reply Last reply Reply Quote 0
            • N
              nmbruno @nmbruno last edited by

              @nmbruno Nevermind, I believe I figured this out. I need to use Epoch time in seconds...

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

              Online Users

              B
              T
              P
              C
              S
              T
              I
              B
              A

              25
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors