fxDreema

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

    press button and draw horizontal line

    Questions & Answers
    2
    2
    108
    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.
    • _
      __mohammad__maleki last edited by

      Hello
      I want to put a button on the chart and by pressing the button
      Mark the highest and lowest prices of the past 20 candles with a horizontal line.
      But....
      There is a problem....
      The button appears on the chart, but pressing it does not change anything.
      where am i going wrong?
      Here is the link:
      https://fxdreema.com/shared/WrepvcFO

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

        Do this on tick, this way works on back test, condition block, object on chart with button name==1, this is for button on, do required settings, redraw button off, use if testing block above, once working copy on yo on trade tab without if testing.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

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

        Online Users

        N
        L
        R
        D
        J
        B
        T
        J
        B
        E

        15
        Online

        147.0k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors