OPEN-SOURCE SCRIPT
Aggiornato

Internal Market Structure

1 087
Internal Market Structure Indicator (Based on Bearish/Bullish Candle Patterns)

This custom market structure indicator is designed to help traders identify key shifts in market pressure based on bullish and bearish candle patterns. The indicator tracks consecutive bullish and bearish candles and identifies significant points where the price action suggests a potential reversal or continuation of the current market trend.

Key Features:

1. Bullish & Bearish Candle Recognition: The indicator monitors individual candles to determine if they are bullish (close > open) or bearish (close < open), and uses this information to track price direction over consecutive candles.

2. Consecutive Candle Tracking: It tracks consecutive bullish and bearish candles, giving insight into the strength of the prevailing trend. The number of consecutive candles can be adjusted to refine the analysis based on market conditions.

3. Engulfing Candle Detection: The indicator identifies Bullish and Bearish Engulfing signals when a reversal pattern is detected. These are plotted as triangle shapes on the chart:
-Bullish Engulfing: Indicates a potential reversal or continuation of an upward move, where a bullish candle fully engulfs the previous bearish candle.
-Bearish Engulfing: Indicates a potential reversal or continuation of a downward move, where a bearish candle fully engulfs the previous bullish candle.

4. Internal Shifts: The indicator also tracks Internal Shifts, which occur when the price closes beyond the highest or lowest levels of previous bullish or bearish sequences, signaling a potential trend change:
-Bullish Internal Shift: A shift indicating the market may be turning bullish.
-Bearish Internal Shift: A shift indicating the market may be turning bearish.

5. Alerts: Custom alerts are included to notify traders when any of the above conditions are met:
-Bullish Pressure Change Alert
-Bearish Pressure Change Alert
-Bullish Internal Shift Alert
-Bearish Internal Shift Alert


Plotting:
The indicator visually marks these key price levels with shapes on the chart:
-Green Triangle Up: Bullish Engulfment
-Red Triangle Down: Bearish Engulfment
-Blue Triangle Down: Bearish Internal Shift
-Orange Triangle Up: Bullish Internal Shift

Usage:
This indicator can be used to spot potential reversals, continuation patterns, and shifts in market sentiment. Traders can combine these signals with other technical indicators to form a more robust trading strategy.

By focusing on candle patterns and market structure, this indicator offers a clear, actionable framework for understanding market behavior and making more informed trading decisions.

*NOTE*
The polyline and horizontal trend lines drawn are not included in this indicator, but are there to show how this indicator can be used to illustrate the internal market structure of the given timeframe.
Note di rilascio
-Logic updated from engulfing high/low values to engulfing candle open values.
-Visual illustration updated

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.