OPEN-SOURCE SCRIPT

Market Structures by The Noiseless Trader

162
Market Structure by The Noiseless Trader is an indicator that highlights simple candle-based market structure patterns: Market Structure Low (MSL) and Market Structure High (MSH). It is designed to make these shifts visible directly on the chart.

Pattern Logic

MSL (Market Structure Low)
  • Candle 2: Bearish
  • Candle 1: Bearish, closing below Candle 2’s close
  • Candle 0: Bullish, closing above Candle 1’s open
  • Candle 0 must also have a minimum body size (default = 2%)

MSH (Market Structure High)
  • Candle 2: Bullish
  • Candle 1: Bullish, closing above Candle 2’s close
  • Candle 0: Bearish, closing below Candle 1’s open
  • Candle 0 must also have a minimum body size (default = 2%)


Features
  1. Label plotting: When a pattern forms, the script places an “MSL” or “MSH” label slightly offset from Candle 0 so that the signal is visible but does not overlap the bar.
  2. Bar coloring: Optionally, the script colors the signal candles for faster visual recognition (green for MSL, red for MSH).
  3. Repaint protection: A setting allows the user to confirm signals only on bar close. This ensures the label does not disappear once plotted, though it delays the signal until the candle closes.
  4. Customizable inputs: Users can set the minimum body size threshold (in % of price) and adjust the label offset distance to their preference.
  5. Alerts: TradingView alerts can be created for both MSL and MSH events, making it possible to receive notifications when patterns appear.


How to Use
  • MSL labels mark potential swing lows where bearish pressure is followed by a bullish reversal.
  • MSH labels mark potential swing highs where bullish pressure is followed by a bearish reversal.

These patterns are most useful for studying shifts in short-term trend structure. Traders can monitor them as potential areas of interest, but they are not standalone entry or exit signals.

This indicator should be used as part of a broader trading framework. For example, some traders may combine MSL/MSH with trend filters, higher-timeframe analysis, or support/resistance zones or even classical pattern clubbed with MSL/MSH.

Notes
  • This tool highlights specific three-candle formations. It does not generate buy/sell recommendations.
  • It is intended for educational and analytical purposes only.
  • Past appearances of MSL or MSH patterns do not guarantee future performance.
  • Always confirm with your own market analysis before taking trading decisions.

Developed by The Noiseless Trader.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.