fxDreema

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

    Extract Prices from Objects

    Questions & Answers
    2
    4
    552
    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.
    • MrDaisyBates
      MrDaisyBates last edited by

      Hello, All! Another FxDreema nub here!

      Cutting to the chase.

      I have an indicator that draws rectangles on chart above and below current price. These rectangles update at regular intervals, so the objects do get deleted every so often and new ones are constantly forming. These rectangles come in a few varieties, but the ones I'm most interested in have specific object names (certain words are in their titles, distinguishing them from the others). I plan on using them multitime frame, also. (I've never messed with MTF in strategy tester/EA building). In real time, these rectangles update at the interval of the higher time frame.

      Say for instance, I'm building an EA for 15m, but the indicator will be set on the 4 hour time frame. I assume I can run it on a "once per bar" and set it for 4hr bars?

      Mainly, though, I need a way to have the EA, after checking these 4 hour bars, to locate all the rectangles on the chart with either of those two words in the names. I then need it to take the price level for the lowest point and the highest point of those rectangles, and store them in variables.

      I'm most interested in the rectangles closest to the price (above and below) and less worried about the ones above or below that. If there's a way to target those based on price proximity, that's totally fine.

      If not, I can handle all that algebraically once the price levels are all inside variables.

      I would absolutely love a simple explanation on the logic needed to handle this situation. Brownie points if you take the time to include a simple screenshot or something visualizing the nodes and what their flow should look like. I've got virtually no experience with loopy type stuff on here, but I'm a quick learner.

      Thanks so much in advance!

      1 Reply Last reply Reply Quote 0
      • B
        biztet last edited by

        @CDWilder1 , You should explore the Tutorial section. Experts are sharing their knowledge there.
        Try this for your request.
        https://fxdreema.com/forum/topic/4209/tutorial-07-read-prices-from-indicator-objects

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

          Thanks! I didn't see that! I looked through the help pages that have the little categories at the top and, while many were helpful in other ways, I felt the chart stuff was less than ideal. This looks like it might put me on the right track.

          Thanks so much!

          1 Reply Last reply Reply Quote 0
          • B
            biztet last edited by

            You're welcome @CDWilder1 .

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

            Online Users

            J
            B
            A
            T
            M
            E
            C

            17
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors