OPEN-SOURCE SCRIPT

Market Structure (Intrabar) [LuxAlgo]

The Market Structure (Intrabar) indicator is designed to automatically detect and highlight real-time intrabar market structures, a core component of the Smart Money Concepts methodology.

🔶 USAGE

snapshot

The proposed indicator gives a detailed picture of the most recent candle lower timeframe trends, highlighting market structures within them.

This can be particularly useful to assess the price dynamic within the most recent candle. For example, we can see how pronounced a trend is by the number of opposite bullish/bearish market structures formed within the candle.

Users can select the intrabar timeframe of interest from the "Intrabar Timeframe" setting, using a timeframe significantly lower than the chart timeframe will return more intrabar candles and potentially more market structures.

🔹 Dashboard

snapshot

Users have access to a dashboard returning useful statistics such as the number of formed CHoCH's and BOS's from the intrabar prices. These can be indicative of how predominant a trend is within the intrabar data or if there exist multiple trends.

🔶 DETAILS

snapshot

Market structures allow determining trend continuations as well as trend reversals in the market through two distinct structures:

🔹 Change of Character (CHoCH)

A change of character (CHoCH) refers to a shift in the market behavior of a security that is driven by changes in the underlying supply and demand dynamics. CHoCH's are indicative of confirmed reversals.

🔹 Break of Structure (BoS)

The break of structure (BoS) refers to the point at which a key level of support or resistance is broken. BOS's are indicative of confirmed trend continuations.

🔶 SETTINGS

🔹Inside the Bar Market Structure

  • Intrabar Timeframe: Lower timeframe setting option, if set to 'Auto' the script will determine the lower timeframe based on the chart timeframe.
  • Intrabar Market Structure, Length: Toggles the visibility of the break of structures and change of characters. Length defines the detection length of the swing levels.
  • Intrabar Swing Levels: Toggles the visibility of the swing levels, including a color customization option for highs and lows.
  • Intrabar Statistics: Toggles the visibility of the dashboard. Some further statistical details are presented in the tooltips of the table cells


🔹 General

  • Market Structure Colors: Color customization option for the break of structure and change of character lines and labels.
  • Intrabar Candle Colors: Color customization option for intrabar candles.
  • Intrabar Candles Horizontal Offset: Adjusting the intrabar candles horizontal position
  • Dashboard: Dashboard position and size customization option


🔶 LIMITATIONS

Please note that seconds-based intervals are available for premium and professional plan holders, which implies that the seconds-based intervals usage of the indicator may not be available for all users depending on their subscription plan.

🔶 RELATED SCRIPTS

Smart-Money-Concepts
ICT-Concepts
BOSbreakofstructurechangeofcharacterchochictintrabarluxalgomarketstructuresmartmoneyconceptTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Também em:

Aviso legal