OPEN-SOURCE SCRIPT

NextBarColor

Cập nhật
NextBarColor
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.
Phát hành các Ghi chú
NextBarColor
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.
Phát hành các Ghi chú
Added volume to the pattern check and set 60% match as default.
Candlestick analysis

Mã nguồn mở

Theo tinh thần TradingView thực sự, tác giả của tập lệnh này đã xuất bản dưới dạng nguồn mở để các nhà giao dịch có thể hiểu và xác minh. Chúc mừng tác giả! Bạn có thể sử dụng miễn phí. Tuy nhiên, bạn cần sử dụng lại mã này theo Quy tắc nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?

Thông báo miễn trừ trách nhiệm