fxDreema

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

    Creating a button

    Questions & Answers
    3
    5
    248
    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.
    • N
      nasserminaei last edited by

      I'm trying to add a button to my EA that whenever I click on that it closes all the open positions. I should put 'draw button' block on chart tab but I don't know how to connect the close the positions with hitting that button on the chart.

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

        If you search the forum you will find lots of info on this. Generally draw button off oninit, read button ontick, if on activate a close block, and redraw the button off

        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! 😊

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

          @nasserminaei You will need to use blocks on 2 tabs as jstap suggested: oninit, on chart and deinit. Like this:

          https://fxdreema.com/shared/vneajAc8b

          (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.

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

            @jstap thanks,
            I have tried but couldn't find anything. probably I was checking wrong keywords

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

              @l-andorrà
              thanks, I have checked the example you mentioned. it was very clear. now i know how to do that.
              thanks a lot

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

              Online Users

              J
              B
              A
              T
              M
              E
              C

              16
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors