fxDreema

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

    Global Variable/Multi Time Frame

    Questions & Answers
    2
    5
    520
    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.
    • Pan4Pips
      Pan4Pips last edited by

      I can't seem to find anything of consistency - with detailed explanations or examples in building a variable that reads a set of conditions on a chart to be used in governing the trading on the lower time frame.

      Anyone with experience writing global variables? Seems the tutorials on here are always left vague.

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

        @pan4pips I can possibly help you with this but are you sure you need to use global variables? A standard variable can be used to record something on a different TF or even just a condition block.

        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
        • Pan4Pips
          Pan4Pips last edited by

          That's a good question. I have custom measures of net currency values that are fed in through a DLL/Connection. I use the conditions on the M1 to trade but want to automate it so the same conditions are also used on the M5 as a governing factor.

          When m1 aligns with same condition on m5 allow trade

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

            @pan4pips So these DLL values go into the global variables of the platform?

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

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

              @jstap No, the DLL's just feed the data into the terminal, there's a couple indicators that allow/draw the data.. I can use them like any custom indicator with buffers etc.

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

              Online Users

              T
              J
              J
              P
              M
              M
              E
              M
              A
              H

              13
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors