OPEN-SOURCE SCRIPT
Updated Tower Line Indicator

Here is the code of twr indicator
I'v already posted a idea about this indicator. You guys can make this chart more complete if you want.
Complete indicator is just fixed the color align in some price pattern.
The rule is hard to write for me but we have simple version here. :)
Read more about tower line:
Tower line here

Need help about tower line(To add the color align when price expand or other situation)

Detail about tower line

Have you heard about tower line

I'v already posted a idea about this indicator. You guys can make this chart more complete if you want.
Complete indicator is just fixed the color align in some price pattern.
The rule is hard to write for me but we have simple version here. :)
Read more about tower line:
Tower line here

Need help about tower line(To add the color align when price expand or other situation)

Detail about tower line

Have you heard about tower line

Release Notes
Make flat pattern more accurate. (Better color when within bar appears)Release Notes
Make flat top/bottom pattern more better.Previous version don't make 4th flat bars with correct color but this version improved it.
Release Notes
Fixed bugs.Release Notes
Added some indicator.Release Notes
Add new tag for easier search and updated to v4 script. It's same as v3. It doesn't changed anything.Release Notes
Update tagsRelease Notes
Updated colorOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.