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 NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      54 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      130 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      72 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      44 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X