fxDreema

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

    How can I store the date of a candle identified by the ZigZag indicator?

    Questions & Answers
    3
    3
    173
    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.
    • M
      m.aghilian last edited by

      How can I store the date of the candle at h0 in the ZigZag indicator in a variable? I want to use this date as the first time for the Fibonacci levels (time 1). Essentially, my goal is to draw a Fibonacci level from h0 that continuously adjusts with the live market price so that I can open trades based on specific conditions when the price touches the desired levels. The 100 level should be drawn from h0, and the 0 level should move with the price.

      I would greatly appreciate your guidance, as I have many questions about building this bot with this scenario.

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @m.aghilian last edited by

        @m-aghilian You can do it this way:

        01.png

        (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
        • H
          hasanrockefeller last edited by

          I've done something similar before where I needed to track a key candle for drawing dynamic levels. What worked for me was storing the time of the h0 candle from the ZigZag indicator using something like Time[ZigZagPeak]. Once you've got that timestamp, you can use it as your reference point for the Fibonacci. I made it so the 100% level stays fixed at h0, while the 0% level adjusts with the current market price. You just need to update the 0% level with the live price in your on-tick loop. It took a bit of trial and error to get it to update smoothly, but once it’s set up, it’s super handy for catching those touch trades.

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

          Online Users

          F
          R
          S
          D
          V
          O

          18
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors