已更新
Higher High Lower Low Strategy (With Source Code)

More exclusive indicators from LonesomeTheBlue
Subscribe to LonesomeTheBlue Pro Trading Suite for $49.99/month to get exclusive indicators by this author. You pay right on TradingView and can use them on your charts straight away.
Explore LonesomeTheBlue Pro Trading SuiteThis script finds pivot highs and pivot lows then calculates higher highs & lower lows. And also it calculates support/resistance by using HH-HL-LL-LH points.
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
source code of :
Generally HH and HL shows up-trend, LL and LH shows down-trend.
If price breaks resistance levels it means the trend is up or if price breaks support level it means the trend is down, so the script changes bar color blue or black. if there is up-trend then bar color is blue, or if down-trend then bar color is black. also as you can see support and resistance levels change dynamically.
If you use smaller numbers for left/right bars then it will be more sensitive.
source code of :

發行說明
upgraded to v4added color options
發行說明
Lines are used instead of plot() for S/R levelsfix: right bar is used instead of left bar for the labels/lines (Thanks to hankoman for the feedback)
發行說明
line style and line width options added🎓 Free Mini Course:
lonesometheblue.com/
🤝 Telegram community:
t.me/LonesomeTheBlue_Official
💰 Subscription to Pro indicators:
Tradingview.com/spaces/LonesomeTheBlue/
lonesometheblue.com/
🤝 Telegram community:
t.me/LonesomeTheBlue_Official
💰 Subscription to Pro indicators:
Tradingview.com/spaces/LonesomeTheBlue/
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
🎓 Free Mini Course:
lonesometheblue.com/
🤝 Telegram community:
t.me/LonesomeTheBlue_Official
💰 Subscription to Pro indicators:
Tradingview.com/spaces/LonesomeTheBlue/
lonesometheblue.com/
🤝 Telegram community:
t.me/LonesomeTheBlue_Official
💰 Subscription to Pro indicators:
Tradingview.com/spaces/LonesomeTheBlue/
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。