Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to build an indicator that draws trend channels automatically?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is it possible to build an indicator that draws trend channels automatically?

    Hi experts,

    I am looking at ways to automatically draw the channels consisting of parallel lines shown in the sample illustration:
    Click image for larger version  Name:	samplechannel.png Views:	0 Size:	49.1 KB ID:	1269067


    I am using a manual strategy and wish to automate it fully. Wonder if it is possible to create those trend channels by code.

    #2
    Hello elirion,

    The trend channel drawing tool can be used from code, you can see a sample of its use in the help guide:


    You would have to figure out what criteria you use to draw that tool and then make those type of conditions inside your script and then draw the object using the prices you found.

    Comment


      #3




      nothing works better than diagonal lines. and creating a system that was able to define trend lines automatically is an immense interest for me as well.


      i have thought about posting on reddit about this matter. there are a number of algorithmic - quantitative trading subgroups in reddit and some users are quite knowledgeable. for the most part reddit is a total cesspit, like the entire internet, but it could be possible to receive valuable help or advice there. give it a try.



      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X