LH-LL/HL-HH Confirmation Trend Line

Based on Dow Theory, a series of successive higher highs (HH) and higher lows (HL) is the sign of an uptrend (bull trend) and a series of successive lower highs (LH) and lower lows (LL) is the sign of a downtrend (bear trend).
So this script indicates the trends using the concept and draws corresponding trend lines .
It took some effort to make it possible for users to see as many trend lines as they wish. Eventually the user could set the number alongside some other options in the indicator settings.
Use the script and send me your thoughts!
Release Notes: Fixed some line calculation bugs!
Release Notes: - A tweak to the line calculations!
Release Notes: Fixed another line calculation bug!
Release Notes: - Added Multi-TimeFrame Capability
Now users could check trend lines from other time frames on the current chart. Trend lines from other time frames may not be as precise as expected on the current time frame, but they are useful for sure.
Release Notes: - Cleaned the code!
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


I think it would be better if make it like a channel, so have a top linear band
informanerd teppi_edmund
@teppi_edmund, I think it's bottom band for downtrends. Nice!
I'm planning to publish another script with more advanced features soon.
Wow bro beautiful. So useful. Thanks lot
informanerd pricechart1336
@pricechart1336, my pleasure.
Thank you, i like it
informanerd LeLyonnais
@LeLyonnais, You're welcome.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter