fxDreema

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

    Counter and Global Var

    Questions & Answers
    2
    2
    287
    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.
    • H
      holygrailfx last edited by

      I use counters and pass after counter and reset blocks in my EA. I want to be able to pass the counter variable as a global variable in order to be able to pick up the last state of the counter when a EA gets disconnected and reattached.

      In short can the counters be made into global terminal variables?

      If so how? Or can you ad the choice to your pulldown menu?

      Thanks

      gideon

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

        @holygrailfx Global variables are terminal variables in FX, if this needs removed for a certain condition you can get the code to add to a custom block from google.

        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

        C
        H

        6
        Online

        146.8k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors