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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.