OPEN-SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
update (added Previous High/Low (Day, Week, Monthadded Fair Value Gap's)
Phát hành các Ghi chú
updateadded premium & discount levels
Phát hành các Ghi chú
bugfixPhát hành các Ghi chú
update chartbildPhát hành các Ghi chú
added a 2-Candle confirmation for internal structure breaksadded a FVG threshold for too small FVG's
Phát hành các Ghi chú
added Auto Fibonacci Retracementthe 2-Candle confirmation feature is working but sometimes it takes the wrong bar to draw from
Phát hành các Ghi chú
added customizable Volume-Weighted-Average-Price indicatorsadded candle color tranparency
added some tooltips
Phát hành các Ghi chú
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
Phát hành các Ghi chú
added liquidity grabsupdated fib (you can now display both internal and external)
rewrote some parts of the script
Phát hành các Ghi chú
update chart picturePhát hành các Ghi chú
added day/week/month open lineadded day/week/month session divider
changed the whole day/week/month part for quicker settings selection
Phát hành các Ghi chú
added a customizable FVG thresholdadded customizable labels
Phát hành các Ghi chú
added pivot points and an option to display price at labelsPhát hành các Ghi chú
added pivot points and an option to display price at labelsPhát hành các Ghi chú
added pivot points and an option to display price at labelsPhát hành các Ghi chú
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!!!
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.