fxDreema

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

    Trendline EA, how do?

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

      Hello fxDreema. Have had tried once, but could not. How do I make an EA based on the lines of the graph?

      Could you provide me a sample project to work on how to build it?

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

        What about those lines? You know... trendline is just an object by itslef and you can get some data from it. But in fxDreema it still can't be created. I started to make this block to create objects, but then I started something else and... nothing 🙂 Well, if you manually create those lines you can read data from them in 2 ways - by selecting the object by name or by searching the object by properties (like type, color...). It depends on what needs to be done.

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

          Are trend lines, as LTA, LTB and horizontal lines. How do I do this? Qualis blocks and block sets? Could you please make a sample project?

          More soon, maybe automate these lines is not? One idea is based on the last 2 fractals. But that for later.

          The important thing now is to recognize the lines I draw on the chart.

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

            How can I answer to general question like this - "Show me how to work with trendlines?". Trendlines what... Create trendlines? Modify tendlines? Read from trendlines? It's too general.

            No, trendlines are different than horizontal lines. I don't even know what is LTA and LTB.

            Otherwise in fxDreema you can read object's properties and there are 2 ways to select an object. Because objects are identified by name (there are no 2 objects with the same name) you can select the object by name. Go in "Condition" -> "Object on the chart" to do that.

            Or do something like this: https://fxdreema.com/shared/NoypePCLd

            Well, I have to update "For each Object" to be able to select objects by name or to create another block to select an object by specific name. Obviously I didn't pay much attention to object functions 🙂

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

              And as an object, trendlines have 2 points, start point and end point. Let's call them 1 and 2. Each of them has Time and Price coordinate. So point 1 is located at T1,P1 and point 2 is located at T2,P2.
              Horizontal lines are infinite, they have only 1 coordinate - the price level. Vertical lines have only time coordinate because they are infinite vertically.

              In short, to draw a trendline you have to calculate 4 values. Let's say that EAs are not born to do this thing, but there are some indicators like this one: http://www.truetl.com/true-trendline-indicator.html

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

              Online Users

              M
              A
              E

              14
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors