OPEN-SOURCE SCRIPT
Diupdate NextBarColor

NextBarColor
This is two-bars pattern search/matching indicator.
and searches for the same combination of 2 bars (current and previous) in the past.
Then shows as % value how many times the next bar went up or down.
Grey bar compares ups and downs with all results, including cases when price did not move.
My testing is showing better results when current and previous bars colors are also used in the search.
This is two-bars pattern search/matching indicator.
- This indicator compares multiple values:
- current bar high with previous bar open
- current bar high with previous bar close
- current bar high with previous bar high
- current bar high with previous bar low
- current bar low with previous bar open
- current bar low with previous bar close
- current bar low with previous bar high
- current bar low with previous bar low
- current bar close/current_price with previous bar high
- current bar close/current_price with previous bar low
- current bar close/current_price with previous bar open
- current bar close/current_price with previous bar close
and searches for the same combination of 2 bars (current and previous) in the past.
Then shows as % value how many times the next bar went up or down.
Grey bar compares ups and downs with all results, including cases when price did not move.
My testing is showing better results when current and previous bars colors are also used in the search.
Catatan Rilis
NextBarColorThis is two-bars pattern search/matching indicator.
- This indicator compares multiple values:
- current bar high with previous bar open
- current bar high with previous bar close
- current bar high with previous bar high
- current bar high with previous bar low
- current bar low with previous bar open
- current bar low with previous bar close
- current bar low with previous bar high
- current bar low with previous bar low
- current bar close/current_price with previous bar high
- current bar close/current_price with previous bar low
- current bar close/current_price with previous bar open
- current bar close/current_price with previous bar close
and searches for the same combination of 2 bars (current and previous) in the past.
Then shows as % value how many times the next bar went up or down.
Grey bar compares ups and downs with all results, including cases when price did not move.
My testing is showing better results when current and previous bars colors are also used in the search.
Catatan Rilis
Added volume to the pattern check and set 60% match as default.Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.