OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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.
Notas de Lançamento
Added volume to the pattern check and set 60% match as default.Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Para acesso rápido no gráfico, adicione esse script para seus favoritos — saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.