OPEN-SOURCE SCRIPT
Balanced/Unbalanced Market

When market chooses to go uptrend or downtrend, the equilibrium between buyers and sellers vanishes and the trend with the different qualifications forms. The number of balanced and unbalanced periods of a trend can relate to it's weakness/strength.
Using indicators like ichimoku can initially help us to simply understand these concept.
So simply:
1- When Kj (Kijunsen=Ichimoku baseline) become flat, it shows the equilibrium between buyers and sellers. In line 13 of the script code, we can see the condition for this. In this case, better to use Kj=52 as it's closer to the concept of equilibrium market and contains more flat periods.
Also we can use Kj[0]==Kj[1] and Kj[KP]==Kj[KP+1] instead, to filter the balanced bars more.
2- When Kj stand higher or lower than it's previous value, it can be used as determiner for bullishness and bearishness of the market. In lines 16,19 of the script code, we can see the conditions for this. In this case, better to use Kj=26 as it's closer to the concept of trend market.
Using indicators like ichimoku can initially help us to simply understand these concept.
So simply:
1- When Kj (Kijunsen=Ichimoku baseline) become flat, it shows the equilibrium between buyers and sellers. In line 13 of the script code, we can see the condition for this. In this case, better to use Kj=52 as it's closer to the concept of equilibrium market and contains more flat periods.
Also we can use Kj[0]==Kj[1] and Kj[KP]==Kj[KP+1] instead, to filter the balanced bars more.
2- When Kj stand higher or lower than it's previous value, it can be used as determiner for bullishness and bearishness of the market. In lines 16,19 of the script code, we can see the conditions for this. In this case, better to use Kj=26 as it's closer to the concept of trend market.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。