Price-Line Channel - A Friendly Support And Resistance Indicator


Lines are the most widely used figures in technical analysis , this is due to the linear trends that some securities posses (daily log SP500 for example), support and resistances are also responsible for the uses of lines, basically linear support and resistances are made with the assumption that the line connecting two local maximas or minimas will help the user detect a new local maxima or minima when the price will cross the line.

Technical indicators attempting to output lines have always been a concern in technical analysis , the mostly know certainly being the linear regression , however any linear models would fit in this category. In general those indicators always reevaluate their outputs values (repainting), others non repainting indicators returning lines are sometimes to impractical to set-up. This is what has encouraged me to make a simpler indicator based on the framework used in the recursive bands indicator that i published.

The proposed indicator aim to be extremely flexible and easy to use while returning linear support and resistances, an option that allow readjustment is also introduced, thus allowing for a "smarter" indicator.

The Indicator

The indicator return two extremities, the upper one aim to detect resistance points while the lower one aim to detect support points. The length setting control the steepness of the line, with higher values of length involving a lower slope, this make the indicator less reactive and interact with the price less often.

The name "price-line" comes from the fact that the channel is dependent on its own interaction with the price, therefore a breakout methodology can also be used, where price is up-trending when crossing with the upper extremity and down trending when crossing with the lower one.

Readjusted Option

The line steepness can be readjusted based on the market volatility , it make more sense for the line to be more steep when the market is more volatile, thus making it converge faster toward the price, this of course is done at the cost of some linearity. This is achieved by checking the "readjustment" option. The effects can be shown on BTCUSD , below the indicator without the readjusted option :

when the "readjustment" option is checked we have the following results :

The volatile down movement on BTCUSd make the upper extremity converge faster toward the price, this option can be great for volatile markets.


The recursive bands indicator prove to be an excellent framework that allow for the creation of lots of indicators, the proposed indicator is extremely efficient and provide an easy solution for returning linear support and resistances without much drawbacks, the readjusted option allow the indicator to adapt to the market volatility at the cost of linearity.

The performance of the indicator is relative to the motion of the price, however the indicator show signs of returning accurate support and resistances points. I hope the indicator find its use in the community.

Thanks for reading !


Respect the house rules, always request permission before publishing open source code. This is an original work, requesting permission is the least you can do.

ลบออกจากสคริปส์โปรด เพิ่มเข้าไปในสคริปส์โปรด

Become a Patreon and get access to exclusive technical indicators!

You can also check out some of the indicators I made for luxalgo :


Super slick my man, very interesting. Can't wait to see what you come up with next.

p.s. to everyone else... respect the man's wishes. don't mess up a good thing.
+3 ตอบกลับ
alexgrover wroclai
@wroclai, Thanks a lot for the support and for acknowledging my note, my hearth feel warmer :D
+2 ตอบกลับ
Thank you Alex. As always, an amazing creation of yours. Very useful. Very effective support and resistance. Yes, I agree with you, this is an excellent framework to create other indicators. Kudos.
+2 ตอบกลับ
alexgrover VirtualJack
@VirtualJack, I'am glad you like the framework, its the core concept of a lot of indicators that will come later. Thanks for your support :)
VirtualJack alexgrover
@alexgrover, I am not surprised that it is the core concept of something else. I can already see how combining this with am effective trend detecting line could help detect those valid timings for buying long when the price is taking off support. That could become the most simple and effective consensus-type algo-trading indicator ever. You are fast becoming a legend - at least on my side ! ;) Again, thanks for your generosity in sharing this.
+1 ตอบกลับ
alexgrover VirtualJack
@VirtualJack, Thanks a lot for your praise, i'll prove to be worthy your trust.
Alex, you are always amazing!
Many Thanks.
+2 ตอบกลับ
alexgrover Old_tom
@Old_tom, Thank you a lot for your support :)
Thanks again, looks very interesting!
+2 ตอบกลับ
alexgrover Junglistt
@Junglistt, Thanks for your interest.
หน้าแรก ตัวช่วยคัดกรองหุ้น ตัวคัดกรองฟอเร็กซ์ ตัวคัดกรองคริปโต ปฏิทินเศรษฐกิจ มันทำงานได้อย่างไร ฟีเจอร์ของชาร์ต อัตราค่าบริการ แนะนำเพื่อน กฎระเบียบการใช้งาน ศูนย์ช่วยเหลือ โซลูชั่นสำหรับเว็บไซต์ & โบรกเกอร์ วิดเจ็ต ชาร์ตโซลูชั่น Lightweight ชาร์ตไลบรารี บล็อก & ข่าว Twitter
โปรไฟล์ ตั้งค่าโปรไฟล์ บัญชีและการเรียกเก็บเงิน เพื่อนที่ชวนมา เหรียญ ตั๋วการขอความสนับสนุนของฉัน ศูนย์ช่วยเหลือ ไอเดียที่เผยแพร่ ผู้ติดตาม ติดตาม ข้อความส่วนตัว แชท ออกจากระบบ