OPEN-SOURCE SCRIPT
Atualizado Ultra Market Structure

The Ultra Market Structure indicator detects key market structure breaks, such as Break of Structure (BoS) and Change of Character (CHoCH), to help identify trend reversals. It plots lines and labels on the chart to visualize these breakpoints with alerts for important signals.
Introduction
This script is designed to help traders visualize important market structure events, such as trend breaks and reversals, using concepts like Break of Structure (BoS) and Change of Character (CHoCH). The indicator highlights internal and external price levels where the market shifts direction. It offers clear visual signals and alerts to keep traders informed of potential changes in the market trend.
Detailed Description
The indicator focuses on detecting "market structure breaks," which occur when the price moves past significant support or resistance levels, suggesting a potential reversal or continuation of the trend.
.........
.........
Detects Break of Structure (BoS) and Change of Character (CHoCH) signals.
Marks internal and external support/resistance levels where market trends change.
Provides visual cues (lines, labels) and real-time alerts for structure breaks.
Offers background and candle color customization to highlight market direction.
Introduction
This script is designed to help traders visualize important market structure events, such as trend breaks and reversals, using concepts like Break of Structure (BoS) and Change of Character (CHoCH). The indicator highlights internal and external price levels where the market shifts direction. It offers clear visual signals and alerts to keep traders informed of potential changes in the market trend.
Detailed Description
The indicator focuses on detecting "market structure breaks," which occur when the price moves past significant support or resistance levels, suggesting a potential reversal or continuation of the trend.
.........
- Type of structure
Internal Structure: Focuses on smaller, shorter-term price levels within the current market trend.
External Structure: Focuses on larger, longer-term price levels that may indicate more significant shifts in the market.
..... - Key events
Break of Structure (BoS): A market structure break where the price surpasses a previous high (bullish BoS) or low (bearish BoS).
Change of Character (CHoCH): A shift in market behavior when the price fails to continue in the same direction, indicating a possible trend reversal.
Once a break or shift is detected, the script plots lines and labels on the chart to visually mark the breakpoints.
It also provides alerts when a BoS or CHoCH occurs, keeping traders informed in real-time.
The indicator can color the background and candles based on the market structure, making it easy to identify the current trend.
..... - Special feature
At news events or other momentum pushes most structure indicators will go into "sleep mode" because of too far away structure highs/lows. This indicator has a structure reset feature to solve this issue.
.........
Detects Break of Structure (BoS) and Change of Character (CHoCH) signals.
Marks internal and external support/resistance levels where market trends change.
Provides visual cues (lines, labels) and real-time alerts for structure breaks.
Offers background and candle color customization to highlight market direction.
Notas de Lançamento
update (added Previous High/Low (Day, Week, Monthadded Fair Value Gap's)
Notas de Lançamento
updateadded premium & discount levels
Notas de Lançamento
bugfixNotas de Lançamento
update chartbildNotas de Lançamento
added a 2-Candle confirmation for internal structure breaksadded a FVG threshold for too small FVG's
Notas de Lançamento
added Auto Fibonacci Retracementthe 2-Candle confirmation feature is working but sometimes it takes the wrong bar to draw from
Notas de Lançamento
added customizable Volume-Weighted-Average-Price indicatorsadded candle color tranparency
added some tooltips
Notas de Lançamento
added a chaos structure channelsolved minor bugfix of the fib
changed the way premium & discount zones are drawn from, they now drawn from the last overbought/oversold seperatly
Notas de Lançamento
added liquidity grabsupdated fib (you can now display both internal and external)
rewrote some parts of the script
Notas de Lançamento
update chart pictureNotas de Lançamento
added day/week/month open lineadded day/week/month session divider
changed the whole day/week/month part for quicker settings selection
Notas de Lançamento
added a customizable FVG thresholdadded customizable labels
Notas de Lançamento
added pivot points and an option to display price at labelsNotas de Lançamento
added pivot points and an option to display price at labelsNotas de Lançamento
added pivot points and an option to display price at labelsNotas de Lançamento
hopefully this will solve the error where x1 argument is too far away!if you encounter this error anyway, please send me a screenshot per private massage with timestamp, timeframe, symbol with data provider and all settings you changed from indicator settings. Thank you!!!
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.
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.
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.