OPEN-SOURCE SCRIPT
VXN filtered CHOCH Pattern Levels

This indicator is based on other open source scripts. It identifies Change of Character (CHOCH) patterns on Nasdaq futures (NQ and MNQ) charts, using pivot points to detect potential trend reversals.
Signals (horizontal levels) are filtered by VXN background color: bullish levels only on green background, bearish on red.
If a CHOCH occurs on the wrong background, it is remembered (pending), and triggered when the background aligns. The last CHOCH signal is remembered to avoid wasting it.
It plots horizontal levels anchored to the extreme points of CHOCH patterns (lowest low for bullish, highest high for bearish), using the labeling and line-drawing style from the VXN Anchored VWAP indicator.
Lines are drawn as polylines (horizontal) with labels at the anchor point and current bar showing the level value.
The VXN index provides background color for market sentiment (green for bullish, red for bearish).
Historical levels are plotted semi-transparently when a new filtered signal is confirmed (on detection if aligned or on trigger).
Enjoy this indicator? Consider a donation to support development! buymeacoffee.com/louisgph
Signals (horizontal levels) are filtered by VXN background color: bullish levels only on green background, bearish on red.
If a CHOCH occurs on the wrong background, it is remembered (pending), and triggered when the background aligns. The last CHOCH signal is remembered to avoid wasting it.
It plots horizontal levels anchored to the extreme points of CHOCH patterns (lowest low for bullish, highest high for bearish), using the labeling and line-drawing style from the VXN Anchored VWAP indicator.
Lines are drawn as polylines (horizontal) with labels at the anchor point and current bar showing the level value.
The VXN index provides background color for market sentiment (green for bullish, red for bearish).
Historical levels are plotted semi-transparently when a new filtered signal is confirmed (on detection if aligned or on trigger).
Enjoy this indicator? Consider a donation to support development! buymeacoffee.com/louisgph
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с открытым кодом
В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.