Selected Hour Open Lines & LabelsThis Pine Script v6 indicator, titled "Selected Hour Open Lines & Labels", draws customizable horizontal lines and optional labels at the opening price of user-selected hours on the chart.
Core Functionality
Users select specific hours (00:00 to 23:00) via boolean inputs to mark.
When a selected hour begins (in the chosen timezone), the script draws a horizontal line starting from that bar at the exact open price of the bar where the hour starts.
Lines extend forward for a configurable number of bars (default: 7).
Optional labels display the time (HH:MM) and/or the open price next to the line.
Timezone Handling
Choose between the chart's exchange timezone or a custom UTC offset (e.g., UTC-5 for EST).
This ensures accurate hour detection across different markets or sessions (e.g., London open, New York open, or any custom hour like Asian session starts).
Customization Options
Lines — Toggle visibility, color, width, style (solid/dashed/dotted), length in bars, and maximum number of lines (to prevent clutter; oldest lines delete automatically).
Labels — Toggle visibility, text format (time only or time + price), text color/size, background color, horizontal position (left/center/right along the line), vertical position (at line, above, or below with adjustable distance based on ATR), and maximum number of labels.
Compatibility and Limitations
Works best on intraday timeframes (5-minute to 2-hour+ charts); disables drawing on 1-minute or daily+ charts to avoid performance issues or irrelevant plotting.
Manages objects efficiently using arrays, with limits on max lines/labels (default 100 each) and overall script limits (up to 500).
Traders often use this to highlight key intraday levels like session opens (e.g., 08:00 for London stock/FX, 09:30 for NY equities) as potential support/resistance or reference points for price action. It's highly flexible for marking any specific hourly opens that align with your strategy.
Candlestick analysis
The Strat x Quarterly Theory QT (DFR, NWOG NDOG, FTFC)The Strat x Quarterly Theory QT (Defining Range DFR, NWOG NDOG, True Opens, Fractal Time Frame Continuity FTFC)
is a Frankenstein structure overlay built from two frameworks Rob Smith’s The Strat and ICT x Daye Quarterly Theory.
It’s not a signal bot.
It’s not a “buy/sell” crutch.
It’s a context engine that keeps you aligned with time-based structure, key opens, prior liquidity references, and repeatable range behavior, without turning your chart into a Christmas tree.
Think: regime clarity, session framing, multi-window classification, and clean levels that matter.
Core modules
Strat Classification (multi-window)
Candle type classification versus the prior completed window: 1 / 2u / 2d / 3
Runs in three structure lenses:
Micro blocks (lower TF precision)
90-minute lens (intraday rhythm)
6-hour lens (macro intraday regime)
Optional: lines, shading, labels (your chart, your rules)
True Opens (time-based anchors)
Quarterly Theory is built on opens and time.
This script maps them cleanly:
Asia Open (7:30pm)
London Open (1:30am)
NY AM Open (7:30am)
NY PM Open (1:30pm)
Plus higher anchors:
TDO = midnight open
TWO = weekly open reference
TMO = monthly open reference
Display as a short segment, extend forward, or “float on price” for clean tracking.
Previous Levels (liquidity map)
PDH/PDL, PWH/PWL, PMH/PML
Extend or float, with style controls for hierarchy and readability
Defining Range (DFR)
Up to 3 custom time windows
Draws 0.0 / 0.5 / 1.0 plus extension bands
This is your “range framework,” great for compression, expansion, and reaction zones.
NWOG / NDOG
Tracks recent new week/day open gaps
Optional Event Horizon reference.
How to use (clean workflow)
Set “Chart Timezone” first.
Time-based tools only work if the timezone is right.
Start minimal:
90m Strat + True Opens + Previous Levels
Add depth if you trade it:
DFR for fixed-window structure
Micro for lower-timeframe execution detail
Use it like a framework:
Strat types = behavior / regime
Opens + prior levels = structure and liquidity references
DFR + gaps = reaction zones and expansion context
This tool is designed to support your own playbook, not replace it.
DFR time formatting (important)
Enter DFR times in 24-hour HHMM, no colon:
✅ 0930, 1030, 1800, 0130
❌ 09:30, 9:30
Each field is entered separately (Start and End).
Notes
If a session line or DFR window doesn’t show, check:
timezone
symbol/session data availability
timeframe limits (some features are intentionally scoped for clarity)
Disclaimer
This indicator is for educational and informational purposes only and does not provide trade signals or financial advice.
No results are guaranteed.
Always manage risk and test ideas before using them in live markets.
Not affiliated with Rob Smith, The Strat, Quarterly Theory, ICT, Daye or any related entities.
Ultimate Time & Countdown v1.5 - Pro Borderif you are interested to use my script. please comment below or send me a message
S9 ToolkitGENERAL OVERVIEW:
The S9 Toolkit is a multi-layered market structure and volume analysis indicator. It combines volumetric support and resistance, trendlines, engulfing candlesticks & zones, session volume profile, swing highs/lows, moving averages, and a checklist dashboard into one framework. Each component works independently while staying aligned with the others.
This indicator was developed by Flux Charts in collaboration with S9 Trades.
WHAT IS THE THEORY BEHIND THIS INDICATOR?:
The core idea is that price movement encodes behavior, not just direction. Candles show where price traded, but they don’t reveal how committed buyers or sellers were or whether a move was truly accepted or rejected. The S9 Toolkit exposes these behaviors by watching how price reacts at structurally important areas and by analyzing volume during those interactions.
Structure defines where the market is operating. Highs, lows, zones, and trends mark areas where the market has responded before. Volume adds context by showing the level of participation at those locations. Strong reactions, weak follow-through, repeated tests, and clean breaks each convey different information.
Market structure also changes over time. A zone that holds multiple tests may remain important, while one that breaks cleanly may lose relevance. The toolkit tracks these interactions so traders can see how structure evolves rather than treating levels as fixed. Sessions matter too. Markets behave differently across trading windows, and volume distribution shifts throughout the day. By incorporating session-based profiling and higher-timeframe alignment, the toolkit accounts for these differences.
The purpose of the S9 Toolkit is to clarify what the market is doing now and how that relates to earlier structure. It organizes price, volume, and structural change into a clear framework, helping traders make decisions with better context.
S9 TOOLKIT FEATURES:
The S9 Toolkit indicator includes 8 main features:
Volumetric Support & Resistance Zones
Trendlines Structure
Engulfing Candlesticks & Zones
Swing Highs/Lows
Session Volume Profile
EMAs & Directional Bias Dashboard
Checklist Dashboard
Alerts
Each component operates independently while sharing the same underlying market structure and confirmation logic. Detailed explanations for each component are provided in the sections that follow.
VOLUMETRIC SUPPORT AND RESISTANCE ZONES:
🔹 What is Support & Resistance?
Support and resistance are areas on the chart where price previously showed a meaningful reaction. Support is a price area where buying activity was sufficient to slow down or reverse a decline and is displayed in the lower portion of price movement, while resistance is a price area where selling activity was sufficient to slow down or reverse an advance, and is shown in the upper portion of price movement. These zones represent areas where bullish and bearish pressure accumulated and where price is more likely to react again when revisited.
The S9 Toolkit treats support and resistance as price zones. Price does not interact with one exact level but with a range where previous reactions occurred. These zones make it easier to observe whether price reacts, pauses, or moves through the same range when revisited.
(Screenshot: only Support Resistance Zones Enabled)
🔹 How the Indicator Identifies Support & Resistance
The S9 Toolkit identifies support and resistance using confirmed market structure.
◇ Step 1: Confirmed Swing Detection
The indicator first detects confirmed swing highs and swing lows using a user-defined pivot length. A swing is only confirmed after price has completed the required number of bars on both sides, ensuring that structure does not repaint.
Confirmed swing lows are used to identify support
Confirmed swing highs are used to identify resistance
(Screenshot: Pivot swing detection)
◇ Step 2: Zone Construction
Once a swing is confirmed, the indicator constructs a price zone.
The zone is created around the confirmed swing pivot
The zone boundaries are offset above and below the pivot using a fixed Daily Average True Range (ATR) value
The ATR value is used only to define the initial zone size and does not change after the zone is created
Each zone is plotted forward in time so future price interaction can be observed.
(Screenshot: Zones instead of Lines - based on ATR)
◇ Step 3: Overlap Filtering
To reduce clutter and redundant structure, newly detected zones are compared against existing zones of the same type. If a new zone overlaps too closely with an existing active zone, it is not created
(Screenshot: Ignoring overlapping zones)
🔹 Volumetric Information
Each zone displays the volume information accumulated during its formation. This includes total volume and the percentage breakdown between bullish and bearish activity. By embedding this information directly within the zone, the indicator allows traders to evaluate the character of the trading activity that created the structure.
◇ How volume is calculated
During zone formation, volume is accumulated using lower-timeframe data. Volume is classified as bullish when a bar closes at or above its open, and bearish when a bar closes below its open. This provides a consistent approximation of buying versus selling volume without requiring bid/ask data.
(Screenshot: Bullish Volume vs Bearish Volume)
◇ How volume is displayed
Each zone displays:
The total volume traded during zone formation
A percentage value indicating which side was dominant
For support zones, the percentage represents bullish volume
For resistance zones, the percentage represents bearish volume
◇ Imbalance Zones
In some cases, a zone may show volume dominance that does not align with its type. For example, a resistance zone may display a higher bullish volume percentage, or a support zone may display a higher bearish volume percentage. This indicates that price reversed despite greater activity from the opposing side during formation. These imbalanced zones are displayed the same way as other zones and provide additional information about how price reacted within that range.
(Screenshot: Imbalance Zones)
🔹 Breaks & Retests
After a zone is created, the S9 Toolkit tracks how price interacts with it over time.
◇ Retests
A retest occurs when price returns to a zone after moving away, trades into its price range, and reacts without breaking through the zone boundaries. The retest is only counted after the bar closes, ensuring that transient intrabar touches are not treated as valid retests.
(Screenshot: Retests)
◇ Breaks
A break occurs when price moves beyond a zone’s boundary according to the selected invalidation method.
(Screenshot: Zone breaks)
Breaks are evaluated only on confirmed bars. Intrabar price movement does not trigger break conditions, ensuring that only completed price action updates the zone state.
Once a break is confirmed, the zone is marked as broken and its internal state is updated. The zone no longer qualifies as active support or resistance and can optionally remain on the chart in a visually muted form.
🔹Settings
◇ Volumetric Info
Enables or disables the display of volumetric information inside support and resistance zones. When enabled, each zone shows the total volume traded during its formation along with the bullish and bearish volume distribution. When disabled, zones are displayed without any volume data.
◇ Pivot Length
The Pivot Length setting controls how many bars on each side of a price point are required to confirm a swing high or swing low, used to create support and resistance zones. A zone is only formed after the swing is fully confirmed. Higher Pivot Length values require more confirmation bars, resulting in fewer support and resistance zones based on larger, more established price moves. Lower values confirm swings more quickly, creating more frequent zones that reflect finer structural detail. Pivot Length only affects how support and resistance zones are identified and does not change the zone size or behavior after creation.
(Pivot Length: 5 Detects more zones)
(Pivot Length: 20 Detects fewer zones)
◇ Strength
The strength value represents the number of confirmed retests a support or resistance zone has received. Strength increases only when a valid retest occurs and is capped at a maximum of three. Zones are displayed only when their strength meets or exceeds the user-defined Strength setting. This value does not change after a zone is broken.
(Screenshot: Strength 1, 2 ,3 zones displayed)
◇ Higher-Timeframe Zones
The S9 Toolkit allows support and resistance zones to be calculated on a higher timeframe and projected onto the active chart. When a higher timeframe is selected, zone creation, retests, and breaks are all evaluated using that timeframe's data, while the zones themselves are displayed on lower timeframes without recalculation. This allows traders to observe how lower-timeframe price interacts with zones that were formed using higher-timeframe price action and a wider price range.
(Screenshot: Higher Timeframe Zones)
◇ Invalidation method
The S9 Toolkit allows users to control how a break is confirmed by selecting an invalidation method.
Close-based Invalidation: A break is confirmed only when price closes beyond the zone boundary. Wick penetration alone is ignored. This method requires price to fully accept beyond the zone before it is marked as broken.
Wick-based Invalidation: A break is confirmed when price wicks beyond the zone boundary, even if the candle closes back inside the zone. This method is more sensitive and captures early or aggressive break attempts.
(Screenshot: Zone Breaks with Close)
(Screenshot: Zone Breaks with Wick)
◇ Display Nearest
The Display Nearest setting controls how many of the closest support and resistance zones are shown on the chart relative to the current price. Only the nearest active zones above and below price are displayed, while older or more distant zones are hidden. This helps reduce visual clutter and keeps the focus on the most immediately relevant support and resistance areas without removing or recalculating any underlying zones.
(Screenshot: Display nearest 2 zones)
◇ Breaks & Retests
These settings control the visibility and appearance of break and retest markers on support and resistance zones. Users can independently enable or disable break markers and retest markers. Color settings allow customization of how bullish and bearish retests and zone breaks are displayed on the chart, making it easier to distinguish different types of interactions. Turning these options off hides the markers without affecting how zones are calculated.
◇ Show invalidation Zones
The Show Invalidated Zones setting controls whether support and resistance zones remain visible after they are broken. When enabled, zones that have been invalidated are kept on the chart in a visually muted form. This allows users to see where zones were previously active without treating them as current support or resistance. When disabled, invalidated zones are removed from the chart once a break is confirmed, keeping the display focused only on active zones.
(Screenshot: Historical Zones are muted)
TRENDLINES:
🔹 What is a Trendline
A bullish trendline is a line drawn by connecting higher swing lows, showing that price is making progressively higher lows over time. As long as price continues to respect this line, upward movement remains intact. A bullish trendline is typically tested from above, and a break occurs when price closes below the line.
(Screenshot: Bullish Trendline)
A bearish trendline is a line drawn by connecting lower swing highs, showing that price is making progressively lower highs over time. As long as price respects this line, the downward movement remains intact. A bearish trendline is typically tested from below, and a break occurs when price closes above the line.
(Screenshot: Bearish Trendline)
🔹How it works
In the S9 Toolkit, trendlines are constructed using confirmed swing points. Each trendline is created only after a valid sequence of pivots is identified, ensuring that lines are based on completed price movement rather than interim fluctuations. Once drawn, a trendline extends forward and is continuously evaluated as new price data forms. Trendlines and volumetric zones work together in the S9 Toolkit. Zones highlight areas where price interacts and trades, while trendlines show the overall directional structure. When viewed together, they help traders see whether price is moving in line with the current structure or beginning to move away from it.
🔹How the indicator detects trendlines
◇ Step 1: Detect confirmed swing pivots
The S9 Toolkit identifies confirmed swing highs and swing lows using the selected Swing Length setting. A pivot is only confirmed after the required number of bars have formed on both sides, ensuring completed structure and non-repainting behavior.
(Screenshot: Confirmed swing pivots)
◇ Step 2: Form and validate a candidate trendline
When a new pivot is confirmed, the indicator attempts to connect it with the previous pivot of the same type. For bearish trendlines, the new swing high must be lower than the previous swing high. For bullish trendlines, the new swing low must be higher than the previous swing low.
(Screenshot: New Lower High)
◇ Step 3: Apply strength filtering
Each valid candidate trendline is evaluated using a slope-based strength calculation derived from the relative size of the swing legs between the pivots, rather than a simple angle measurement. If the calculated strength does not meet the user-defined Strength threshold, the trendline is filtered out and not displayed.
(Screenshot: Strength Calculation)
◇ Step 4: Extend the trendline and draw the zone
Validated trendlines are extended forward by the number of bars defined in the Extend By setting. A shaded zone is drawn around the line using ATR-based padding so price interaction is observed as an area rather than a single line.
(Screenshot: S9 Toolkit’s Trendlines)
🔹 Swing Length
The Swing Length setting controls how swing points are identified for trendline construction. A swing point is confirmed only after the specified number of bars has formed on both sides of the pivot. A higher swing length requires more bars to confirm each pivot, resulting in fewer swing points and trendlines that reflect longer-term price movement. A lower swing length confirms pivots more frequently, producing more swing points and shorter-term trendlines that react more quickly to price changes.
(Screenshot: Trendlines with Smaller Swing Length)
(Screenshot: Trendlines with Higher Swing Length)
🔹Strength filtering
The strength setting controls how selective the trendline detection is. Higher strength values require more pronounced directional moves between swing points, filtering out flatter or weaker trendlines. Lower values allow more trendlines to appear, including those with gentler slopes. This allows traders to adjust sensitivity based on their preferred level of structural detail.
(Screenshot: Low strength zones, Flatter Slope)
(Screenshot, High Strength Zones, Weaker Filtered out)
🔹Trendline extension and lifecycle
Once established, trendlines extend forward by a user-inputted number of bars and remain active until invalidated by confirmed price behavior. A trendline does not disappear simply because the price moves away from it. Its relevance is reassessed only when the price decisively breaks through it.
(Screenshot: Trendlines Keep Extending Until Invalidation)
🔹Extend By
The Extend By setting controls how far a trendline is extended forward after its last confirmed pivot or break. The value defines the number of bars the trendline continues beyond that point for ongoing reference.
(Screenshot: Extend by Example)
🔹Show Last
The Show Last setting limits the number of most recent trendlines displayed on the chart. Older trendlines beyond this limit are hidden to reduce visual clutter.
(Screenshot: Show Last Settings)
🔹 Regular Breaks
A regular break occurs when price closes beyond the trendline on a confirmed bar. Intrabar movement is ignored, ensuring that only completed candles can invalidate a trendline. Regular breaks are evaluated using the same confirmed-bar logic as support and resistance zones.
(Screenshot: Regular Breaks)
🔹 Engulfing Breaks
An engulfing break occurs when a valid engulfing candle forms at the trendline. Instead of requiring a close beyond the line, the engulfing pattern itself is used as the break condition. Engulfing breaks are also evaluated only on confirmed bars and can be enabled independently of regular breaks.
(Screenshot: Engulfing Breaks)
The engulfing candlesticks used for trendline break detection follow the same criteria described later in this write-up in the Engulfing Candlesticks section below, where the pattern is explained in detail.
After a break, the trendline stops extending and is marked with a break label.
🔹Hide Invalidated Trendlines
When enabled, trendlines are removed from the chart after a confirmed break to reduce chart clutter and keep the focus on active directional structure. When disabled, broken trendlines remain visible for reference, allowing users to see where previous directional boundaries existed without treating them as valid trendlines.
(Screenshot: Only Valid Trendlines displayed)
🔹How to interpret trendline breaks and continuation
Trendlines should be viewed for directional reference, not as buy or sell signals. When price respects a trendline, it suggests the market is continuing in the same direction, and structure remains aligned. When reactions become weaker or price starts overlapping the line, it may indicate that directional strength is fading.
Clear breaks, especially when they occur near zones or alongside volume changes, often show that the market is re-evaluating its direction. When trendlines align with volumetric zones, price reactions tend to be more meaningful. When they do not align, the mismatch itself becomes useful information.
The S9 Toolkit highlights these relationships so traders can observe whether direction and structure remain aligned or begin to separate.
ENGULFING CANDLE BEHAVIOR AND ZONES:
🔹What is an engulfing candlestick
An engulfing candlestick occurs when a candle completely overtakes the body of the previous candle in the opposite direction. The current candle closes beyond the prior candle’s range, showing that price moved decisively during that bar rather than continuing the previous movement. This type of candlestick highlights a clear shift in short-term price direction compared to the preceding candle and marks areas where price momentum changes abruptly.
A bullish engulfing candlestick forms when a bearish candle is followed by a larger bullish candle that fully engulfs the previous candle’s body and closes above its high.
(Screenshot: Bullish Engulfing)
A bearish engulfing candlestick forms when a bullish candle is followed by a larger bearish candle that fully engulfs the previous candle’s body and closes below its low.
(Screenshot: Bearish Engulfing)
🔹 How the indicator detects engulfing candlesticks
◇ Step 1: Compare candle direction
The indicator first checks whether the previous candle and the current candle are in opposite directions. A bullish engulfing requires the previous candle to be bearish and the current candle to be bullish. A bearish engulfing requires the previous candle to be bullish and the current candle to be bearish.
(Screenshot: Bullish Candle/ Bearish Candle)
◇ Step 2: Apply body-size requirement
The indicator then checks that the current candle’s body is significantly larger than the previous candle’s body. This requirement filters out weak or marginal engulfing candles and focuses only on more decisive price movement.
(Screenshot: Weak Body vs Strong Body)
◇ Step 3: Confirm range takeover with a close beyond the prior bar
After the size condition is met, the indicator requires the current candle to close beyond the previous candle’s range:
Bullish engulfing candles must close above the previous candle’s high.
Bearish engulfing candles must close below the previous candle’s low.
(Screenshot: Closing above previous high)
◇ Step 4: Highlight the engulfing candle on the chart
When an engulfing candlestick is detected, the indicator highlights the candle using direction-specific colors. Bullish engulfing candles and bearish engulfing candles are colored separately based on the user’s Engulfing Candlesticks color settings, allowing quick visual identification on the chart.
(Screenshot: Highlighting the Engulfing Candle)
🔹Engulfing Zones
When a valid engulfing candlestick is detected, the toolkit constructs an engulfing zone based on the price range of the engulfing candlestick. For bullish engulfing, the zone spans from the current bar's high down to its open. For bearish engulfing, the zone spans from the current bar's open down to its low. These zones persist forward in time and can be revisited, tested, or invalidated like other structural elements. The toolkit tracks whether price later returns to mitigate (trade through) these zones.
(Screenshot: Engulfing Zones)
🔹Show Last
This setting limits the number of engulfing zones displayed on the chart. When set to a value such as 5, only the five most recent engulfing zones that have not yet been mitigated are shown, while all others are hidden to reduce chart clutter.
(Screenshot: Last 2 Engulfing Zones)
🔹How to interpret engulfing behavior
Engulfing behavior should be read as a sign of decisive price movement. A bullish engulfing event shows that buying pressure was strong enough to overcome the prior bar's range and close higher. A bearish engulfing event shows the same for selling pressure.
The most important information comes from what happens next. Continued movement in the same direction suggests follow-through, while overlap or hesitation suggests the move may be temporary.
Engulfing behavior becomes more contextually significant when it aligns with other toolkit components. An engulfing event that forms near a volumetric support zone, along a trendline, or close to a session POC may carry more weight than one that appears in open space. The toolkit presents these events as points of interest, allowing traders to evaluate context without treating them as automatic trade signals.
🔹Zone mitigation logic
When price revisits an engulfing zone after its creation, the toolkit tracks whether the zone is mitigated. A zone is marked as mitigated when price trades through it (closes beyond its boundary). Mitigated zones stop displaying, keeping the chart focused on active, unmitigated structure.
By highlighting engulfing behavior and optionally tracking the resulting zones, the S9 Toolkit turns candle patterns into observable reference points. Traders can see where decisive price moves occurred and whether those areas continue to influence later price behavior.
HIGHS AND LOWS STRUCTURAL MARKERS:
🔹How it works
The toolkit marks swing highs and lows as horizontal reference lines on the chart. These represent confirmed pivot points where price changed direction. When price later breaks through a prior swing level, it's marked with a "B" label.
🔹Swing detection
Swing sensitivity is configurable. Lower values detect more swings with finer detail. Higher values detect fewer, more significant pivots. Swings are only marked after confirmation, so they don't repaint.
🔹How to interpret
Swing highs and lows show where price previously reversed. Breaks show where price has moved beyond prior structure. Sequences of higher highs/lows or lower highs/lows help assess directional context.
SESSION VOLUME PROFILE:
🔹How it works
The Session Volume Profile component of the S9 Toolkit organizes traded volume across price for a defined trading session. Volume is arranged vertically across price levels, showing where activity concentrated and where trading interest was limited during that session. This helps identify the price areas where the market spent time trading and building activity. Sessions can be defined explicitly to reflect distinct trading environments, such as regional market opens or custom intraday windows. Each session profile resets independently, allowing traders to observe how value develops and shifts from one session to the next without cumulative distortion.
🔹How volume is distributed across price
Volume is aggregated across all bars within the active session and mapped to price levels using a configurable number of rows. The toolkit divides the session's price range into equal segments and distributes each bar's volume across the rows that the bar's range touches. Volume distribution uses a proportional calculation method where each bar's volume is allocated based on how much of the bar's range falls within each price row. This creates a distribution that highlights high-activity price levels and low-activity gaps. Volume is classified as up or down based on candle direction, providing a consistent way to separate buying and selling activity across the profile.
🔹Point of Control (POC)
The Point of Control represents the price level where the highest amount of volume was traded during the session. It marks the area of greatest trading activity and often acts as a gravitational reference point for price. The POC highlights where the market showed the strongest willingness to transact during that session.
Repeated interaction with a session POC suggests continued interest around that price level, while clean movement away from it can indicate that trading activity is shifting elsewhere.
🔹Value Area High and Low (VAH / VAL)
The Value Area defines the range of prices where the majority of session volume was exchanged. VAH marks the upper boundary of this range, while VAL marks the lower boundary. Together, they frame the area where the market considered prices fair during that session.
Price behavior around VAH and VAL often provides context. Continued trading within the value area reflects concentrated activity, while sustained trade outside of it often coincides with expansion or transition in price behavior.
🔹How to interpret session-based volume structure
Session Volume Profile should be interpreted in conjunction with structure and direction. A session that develops value above prior structure may indicate continuation, while value developing below may suggest reassessment. Sessions with narrow value and low activity often precede expansion, while sessions with wide, overlapping value often reflect consolidation.
By resetting profiles each session, the S9 Toolkit helps traders observe how value shifts over time and how activity changes across different trading environments. Session Volume Profile highlights where trading activity is concentrated and where it is limited, providing a clear context for how price movement develops afterward.
EMA BIAS:
🔹How it works
The toolkit allows users to display up to three exponential moving averages, each with a user-defined length. These EMA lengths can be configured independently, allowing short-, medium-, and longer-term averages to be viewed together on the chart. Each EMA updates continuously as new bars form.
🔹 Price Above the EMAs
When price trades consistently above one or more EMAs, bias relative to those EMAs is considered positive. This indicates that price is accepting higher levels and that upward movement is being maintained. When multiple EMAs are stacked below price and begin to spread apart, it often reflects bullish price discovery, where price is moving higher with momentum.
(Screenshot: Price above ema, Emas spread apart)
🔹Price Below the EMAs
When price trades consistently below one or more EMAs, bias relative to those EMAs is considered negative. This indicates that lower prices are being accepted and downward movement is being maintained. When multiple EMAs are stacked above price and spread apart, it often reflects bearish price discovery, where price is moving lower with strong directional pressure.
(Screenshot: Bearish EMA Direction)
🔹Frequent EMA Crossings and Compression
When price crosses back and forth through the EMAs and the EMAs remain close together, directional bias is unclear. This behavior typically indicates consolidation or range-bound conditions, where price lacks sustained directional movement and reactions at support or resistance are more likely to be rotational rather than trending.
(Screenshot: Frequent Crossing, Range-Bound)
CHECKLIST DASHBOARD:
🔹How it works
The Checklist Dashboard is a context reference tool designed to present selected market conditions in a compact, easy-to-read format. It brings together key observations from the S9 Toolkit and displays them in one place, allowing traders to review structure, direction, and interaction without scanning the entire chart.
Most checklist items are manually assessed and toggled by the trader based on their own reading of the chart. This allows the checklist to function as a disciplined review framework rather than an automated signal generator. The EMA-related item is the only condition that updates automatically based on live price behavior.
🔹How checklist conditions are handled
Each checklist item represents a specific consideration, such as structural alignment, directional bias, or interaction with key zones. Except for EMA, checklist states are user-controlled and reflect the trader's interpretation of current conditions using the toolkit's visual components.
Conditions are presented in a simple binary format to reduce cognitive load. The checklist does not rank, weight, or score conditions. Its purpose is to organize thought, not to make decisions.
🔹How to use the checklist
The Checklist Dashboard is best used as a discipline and a confluence aid. A checklist showing broad alignment can indicate a cleaner market environment, while mixed states can highlight uncertainty, compression, or transition.
Because the checklist is configurable and largely manual, traders can adapt it to different workflows, higher-timeframe analysis, intraday execution, or post-analysis review. Used properly, it helps maintain consistency and situational awareness without introducing mechanical bias or automated decision-making.
INPUTS:
🔹Volumetric Support & Resistance
◇ Enable
Turns volumetric support and resistance zones on or off entirely.
◇ Pivot Length
Defines how many bars on each side are required to confirm a swing pivot.
Higher values produce fewer, more stable zones based on higher-level structure. Lower values produce more frequent zones with finer structural detail.
◇ Strength
Sets the minimum number of valid retests required for a zone to remain active. Strength increases only when price revisits the zone without breaking it. The maximum strength is capped at three.
◇ Timeframe
Allows zones to be sourced from a higher timeframe and projected onto the active chart. When set, all zone logic (creation, retests, breaks) is evaluated on the selected timeframe while remaining historically aligned.
◇ Invalidation Method
Controls how zone invalidation is confirmed:
Close: A zone is invalidated only when the price closes beyond its boundary.
Wick: A zone is invalidated when the price wicks beyond its boundary.
Close-based invalidation is more conservative; wick-based invalidation is more sensitive.
◇ Display Nearest
Limits how many of the closest active zones are displayed.
◇ Volumetric Info
Displays internal volume information inside each zone, including total volume and bullish/bearish percentage split based on candle direction during zone formation.
◇ Retests
Displays retest markers when price revisits a zone and reacts without invalidation.
◇ Breaks
Displays visual markers when a zone is invalidated according to the selected invalidation method.
◇ Show Invalidated Zones
Keeps invalidated zones on the chart in a visually muted state. This preserves historical structure and allows observation of how price behaves around former areas of interest.
🔹Trendlines
Trendline inputs control directional structure derived from confirmed swings.
◇ Enable
Enables or disables all trendline calculations and rendering.
◇ Swing Length
Defines how many bars are required to confirm swing highs and lows used for trendline construction. Higher values emphasize broader directional structure; lower values increase sensitivity.
◇ Strength
Sets the minimum slope strength required for a trendline to be considered valid. Higher values filter out flatter or weaker trendlines.
◇ Extend By
Controls how many bars a trendline extends forward beyond its last confirmed point or break.
◇ Show Last
Limits the number of most recent trendlines displayed to reduce clutter.
◇ Regular Breaks
Marks a trendline break when price closes beyond the trendline.
◇ Engulfing Breaks
Marks a trendline break when a valid engulfing candle occurs at the trendline.
◇ Hide Invalidated Trendlines
Removes broken trendlines from the chart after confirmation.
🔹Engulfing Candlesticks
◇ Bullish Engulfing / Bearish Engulfing
Enables detection of bullish or bearish engulfing candles based on body size and directional criteria.
◇ Engulfing Zones
Creates zones from engulfing candles that can be revisited, tested, or invalidated like other structural elements.
◇ Show Last
Limits how many recent engulfing events or zones remain visible.
🔹Session Volume Profile
◇ Session Volume Profile
Enables session-based volume profiling.
◇ Session
Defines the active session window used to build each profile. Profiles reset automatically at session boundaries.
◇ Volume Mode
Controls how volume is displayed:
Up / Down: Separates volume based on candle direction.
Total: Displays total volume per price row.
Delta: Displays directional imbalance.
◇ Value Area Volume (%)
Defines the percentage of total session volume used to calculate the Value Area.
◇ Row Size
Defines how the session’s price range is divided when constructing the volume profile. Each row represents a discrete price band where volume is aggregated.
◇ Profile Placement
Anchors the volume profile to the left or right of the session range.
◇ Point of Control (POC)
Displays the price level with the highest traded volume for the session.
◇ Value Area High / Low (VAH / VAL)
Displays the upper and lower boundaries of the value area.
◇ Only Show Current Session
Hides historical session profiles and displays only the active session.
🔹Highs & Lows
◇ Highs/Lows
Enables swing high and swing low detection.
◇ Swing Length
Defines how many bars are required to confirm a swing pivot.
◇ Display Nearest
Limits how many recent swing levels are displayed.
◇ Show Breaks
Marks when price breaks beyond a prior swing high or low using confirmed bars.
🔹EMAs
◇ EMA Visibility and Lengths
Controls which EMAs are displayed and their respective lengths.
🔹Checklist Dashboard
◇ Enabled
Shows or hides the checklist dashboard.
◇ Checklist Items (1–5)
Each checklist item consists of:
A manual true/false toggle
A custom label
These reflect the trader’s interpretation of current conditions using the toolkit’s visual components.
◇ EMA Checklist
Automatically displays EMA alignment status. This is the only dynamic checklist item.
◇ Position
Controls where the checklist appears on the chart.
◇ Size
Controls dashboard text and spacing.
ALERTS:
🔹How alerts are triggered
Alerts in the S9 Toolkit notify traders when important structural or behavioral events occur. Each alert is linked to confirmed conditions, so notifications reflect completed market behavior. Alerts trigger only after the condition is confirmed on a closed bar.
Alert logic mirrors the same confirmation rules used throughout the toolkit. If a zone is invalidated, a trendline is broken, or a structural condition changes, the alert fires only once the event is confirmed. This prevents duplicate or misleading alerts caused by intrabar fluctuations or temporary probes.
🔹Available alert types
The S9 Toolkit supports alerts for the following events:
◇ Trendlines:
Bullish Trendline Detection
Bearish Trendline Detection
Bullish Trendline Break
Bearish Trendline Break
◇ Support/Resistance Zones:
Support Zone Detected
Resistance Zone Detected
Support Zone Retest
Resistance Zone Retest
Support Zone Break
Resistance Zone Break
◇ Engulfing Patterns:
Bullish Engulfing Candlestick
Bearish Engulfing Candlestick
◇ Swing Structure:
Swing High Break
Swing Low Break
◇ Moving Averages:
EMA Direction Change (price crosses above or below EMA)
Each alert type can be individually enabled or disabled in the indicator settings.
🔹How to set up alerts
To create alerts, add the S9 Toolkit indicator to your chart and configure which alert types you want to receive in the indicator settings. Then create a TradingView alert on the chart, select the S9 Toolkit indicator, and choose "Any alert() function call" as the condition. This will trigger an alert whenever any of your enabled alert types fires.
PERFORMANCE AND DESIGN CONSIDERATIONS:
🔹Lower-timeframe data handling
Some components of the S9 Toolkit rely on lower-timeframe data to provide more granular volume and structural insight. These requests are handled explicitly and conservatively to avoid excessive data usage or performance degradation. Lower-timeframe logic is applied only where it meaningfully enhances analysis, and safeguards are in place to prevent unnecessary recalculation.
🔹Object limits and performance safeguards
The toolkit actively manages drawing objects such as zones, lines, and profiles to remain within TradingView’s object limits. Older or less relevant objects can be pruned, merged, or visually downgraded to preserve chart performance. This ensures stability even when multiple components are enabled simultaneously.
🔹Non-repainting and confirmation logic
All calculations in the S9 Toolkit are based on confirmed historical data. No component relies on future bars or retroactive adjustment. Structural elements update only when confirmation conditions are met, ensuring that historical analysis remains consistent with real-time behavior. This design principle allows traders to trust that what they see on the chart reflects what was available at the time.
UNIQUENESS:
The S9 Toolkit focuses on contextual analysis by organizing price, volume, and structure into layered components that operate together rather than as isolated signals. It combines volumetric support and resistance zones with internal volume breakdowns, trendline structure, engulfing candlestick detection, session-based volume profiling, and swing structure tracking in a single visual layout. Unlike indicators that focus on one technique at a time, each component in the S9 Toolkit is designed to coexist without overriding the others, allowing traders to observe alignment, disagreement, and transitions in market conditions within the same chart view.
Trend Detection Happiness 2026 Overview:
This is a private, invite-only indicator designed to identify high-probability trading setups. It focuses on trend direction and momentum to provide clear entry and exit points.
Key Features:
Accuracy: Designed to minimize false signals in volatile markets.
Alerts: Fully compatible with TradingView alerts for real-time notifications.
User-Friendly: Simple visual cues on the chart for Buy and Sell zones.
Non-Repainting: Signals are confirmed once the candle closes.
How to Use:
Timeframe: Best used on 5-minute, 15-minute, and 1-hour charts.
Buy Signal: Look for the specific green indicator/label and confirm with volume.
Sell Signal: Look for the specific red indicator/label and confirm with price action.
Access Information:
As this is an Invite-only script, it is not available to the general public.
To request access, please read the Author's Instructions below.
Direct message me with your TradingView username for a subscription or trial.
"Disclaimer: I am not a SEBI Registered Investment Advisor. This script is for educational purposes only and should not be considered financial advice. Trading involves significant risk. Please consult your financial advisor before making any investment decisions based on this tool."Trading involves significant risk. This tool is for educational purposes and should be used alongside your own analysis.
V10 Master Vision - Oncu + EkolayzirThis indicator is a volume-focused system written in a framework that will reverse-engineer all the best robots in the world; it has been temporarily made available for testing.
Candle TimeFrame Recap📝 Indicator Description: Candle TimeFrame Recap (CTR)
The Candle TimeFrame Recap (CTR) is a dynamic Multi-Timeframe (MTF) dashboard designed to provide traders with an instant overview of market structure across various intervals. It eliminates the need to switch charts by consolidating candle states into a single, clean table.
Key Features:
Multi-TF Monitoring: Tracks D1, H8, H4, H1, M30, M15, and M5 (fully customizable in settings).
Candle History: Analyzes the last 1 to 3 closed candles to identify recent momentum.
Live Trend Tracking: Displays the real-time direction of the current developing candle.
Precision Timer: Shows the exact time remaining before each timeframe closes.
Intuitive Visuals: Uses clear emojis (🟢 for Bullish, 🔴 for Bearish, ✝️ for Doji) for rapid data processing.
🚀 Update: Chronological Order Optimization
In this version, a significant logic update has been applied to the table structure to align with standard technical analysis reading patterns.
Reversal of Historical Columns
Previously, candles were displayed from newest to oldest. To improve ergonomics and flow, the order has been reversed to follow a left-to-right timeline:
Old Layout: C1 (Newest) | C2 | C3 (Oldest) | Trend
New Layout: C3 (Oldest) | C2 | C1 (Newest) | Trend
Why this change? This update allows traders to read the dashboard the same way they read a price chart: from left to right. By placing C1 (the most recently closed candle) directly next to the Trend column (the current live candle), you can immediately spot if the current price action is a continuation of the previous momentum or a potential reversal.
Technical Implementation (Pine Script v6):
The for loop logic within the addRow function was modified to access the data array using a reversed index calculation:
Candle's Anatomy🕯️ CANDLE'S ANATOMY
Professional candlestick pattern recognition indicator identifying 18+ reversal and continuation patterns.
✅ Features:
- Single, double & triple candle patterns
- Color-coded labels (Green=Bullish, Red=Bearish, Yellow=Neutral)
- Black background labels for clarity
- Customizable display options
- Works on all timeframes & markets
📊 Patterns Detected:
Hammer, Shooting Star, Doji variants, Engulfing, Harami, Piercing Line, Dark Cloud, Tweezer Top/Bottom, Morning/Evening Star, Spinning Top & more.
Perfect for day traders, swing traders, and anyone using candlestick analysis. Combine with your favorite indicators for high-probability setups!
⚠️ Educational use only. Use proper risk management
ORb gooner V1000its pretty aight and shii.... ................................................................................................................................................................................................................................
ES Mobile Smooth V3shows support and resistance, fvg,ivfg,vwap,ema,current bias,and possible entry points(not meant to be followed directly without confirmation
Flow EMA [Stansbooth]Flow EMA is not just an average—it's a flow predictor. It tracks the real-time strength and direction of the market, allowing traders to stay ahead of trend shifts. Whether the market is trending or consolidating, Flow EMA smoothly adapts to price action and reveals where the smart flow is moving. Perfect for traders who want clarity, confidence, and consistency.
Gold Scalper v6 2026e Gold Scalper v6 is a high-frequency trend-following system designed for the 1-minute gold (XAUUSD) chart. It uses a "confluence" approach, meaning it only enters a trade when four different technical conditions agree
Intraday Master Intraday Master S/R Indicator - Pine Script
Overview
The Intraday Master (IM) indicator is a comprehensive trading tool designed for intraday traders. It combines multiple technical analysis components including dynamic support/resistance levels, gap analysis, and entry/exit signals to provide a complete intraday trading framework.
Key Features
1. Dynamic Support/Resistance Levels
• Zero Line: Based on VWAP from previous period
• R1-R4: Resistance levels calculated from zero level
• S1-S4: Support levels calculated from zero level
• Levels dynamically appear/disappear based on price action
2. Historical Reference Lines
• Previous Day High/Low (PDH/PDL)
• Weekly High/Low (WH/WL)
• Previous Weekly High/Low (PWH/PWL)
• Monthly High/Low
3. Gap Analysis
• Detects gap up/down at session open
• Configurable gap percentage threshold
• Gap direction influences initial bias
4. Trading Signals
• Buy Signals:
o Gap up conditions
o Crossover above R1 with price above zero level in early session
• Sell Signals:
o Gap down conditions
o Crossunder below S1 with price below zero level in early session
• Exit Signals:
o Multiple exit conditions for both long and short positions
5. Customizable Parameters
• Lines Show: Toggle visibility of all lines
• zeroLevel candle Valide: Number of candles to validate zero level signals
• Gap Percent: Minimum percentage for gap detection
Indicator Logic
Initialization
• Resets all levels and signals at daily session start
• Calculates zero level from previous period's VWAP
• Draws all historical reference lines
Dynamic Level Management
• R2/R3/R4 appear only when price moves above zero level/R1/R2 respectively
• S2/S3/S4 appear only when price moves below zero level/S1/S2 respectively
• Levels extend to current bar and adjust based on price action
Signal Generation
1. Early Session (First N number of candles):
o Buy signals on R1 crossover above zero level
o Sell signals on S1 crossunder below zero level
2. Gap-Based Signals:
o Gap up triggers immediate buy bias
o Gap down triggers immediate sell bias
3. Exit Conditions:
o Long exits on S1 crossunder, R3 crossunder, or hitting R4
o Short exits on R1 crossover, S3 crossover, or hitting S4
Visual Elements
Lines & Colors
• Zero Line: Yellow solid line
• R1/S1: Orange/Green with yellow fill between
• R2/S2: Red/Green thick lines
• R3-R4/S3-S4: Dark red/Dark green thick lines
• Historical Lines: Various colors with dashed/dotted styles
Labels
• Price values displayed on right side
• Level identifiers (R1, S2, PDH, etc.)
• Auto-updates position with price movement
Shapes
• Buy Signal: Green triangle below bar
• Sell Signal: Red triangle above bar
• Exit Signal: Orange X cross
Usage Guidelines
For Traders
1. Session Start: Watch for gap signals and early session moves
2. Level Interaction: Monitor price behavior at key levels (R1, S1, zero)
3. Multiple Timeframes: Reference weekly/monthly levels for context
4. Risk Management: Use exit signals to manage positions
Configuration Tips
• Adjust entry barcount based on your trading timeframe (higher for longer validation)
• Modify Gap Percent according to market volatility
• Toggle lines on/off to reduce clutter if needed
Limitations
• Designed for intraday use (resets daily)
• Requires sufficient historical data for accurate calculations
• Best used on liquid instruments with clear session breaks
This indicator provides a structured approach to intraday trading by combining traditional support/resistance analysis with dynamic price action triggers and gap theory.
Strat Futures Dashboard made by EmbereA Futures strat dashboard that lets you have a quick-glance at current strat combos on different timeframes.
Gold Scalper v6 - PineConnector LogicThis script is an automated trading system specifically built to bridge TradingView signals to a MetaTrader terminal using the PineConnector service. It is designed for Gold (XAUUSD) scalping.
Here is a breakdown of how it functions:
1. The "Three-Filter" Entry System
The script is highly selective. It will only trigger a signal when three different technical conditions align perfectly:
The Trend Filter (200 EMA): It identifies the long-term direction. It only buys if the price is above the 200 EMA and only sells if it is below.
The Value Filter (VWAP): It ensures you aren't "chasing" a move. It looks for price to be on the correct side of the Volume Weighted Average Price.
The Momentum Trigger (RSI 7): This is the "gas pedal." While the trend is established by the EMA, the trade is only entered when the 7-period RSI crosses the 50-level, signaling a fresh burst of momentum.
QuantumPips Market Structure ProQuantumPips® — Market Structure Pro (MSP)
Market Structure Pro is a structure-first decision tool built to help traders read the market with clarity. MSP focuses on three practical components:
1) Active Market Structure (context)
2) Active Volume (confirmation)
3) Demand/Supply Zones (planning)
The goal is simple: help you avoid trading noise and instead build a repeatable workflow with defined invalidation and mapped target areas.
OVERVIEW
Many traders lose consistency because they trade without context: entering mid-range, chasing candles, or placing stop loss levels without structure.
MSP is designed to make your chart more “actionable” by highlighting:
• where structure is currently leaning,
• when activity/volume supports that context,
• and where key demand/supply zones can be used for planning risk and tentative exits.
FEATURES
This script includes the following core modules:
• Active Market Structure context (trend / shift / continuation zones)
• Active Volume confirmation layer (to filter low-quality conditions)
• Demand/Supply Zones (key reaction areas)
• Tentative Target Zones derived from zone logic (planning aid)
• Invalidation / SL idea levels based on zone boundaries (planning aid)
• Clean, restrained on-chart visuals designed for fast decision-making across timeframes
HOW TO USE (WORKFLOW)
A simple workflow most traders can follow:
1) Determine Bias
• Use the structure context to decide bullish vs bearish preference.
2) Confirm
• Wait for activity/volume confirmation and avoid entries during low-quality chop.
3) Execute with a Plan
• Use demand/supply zones for entry planning (e.g., pullback / retest behavior).
4) Define Risk
• Use the invalidation logic as a stop-loss idea (do not place SL randomly).
5) Map Exits
• Use the next target zone(s) as tentative take-profit ideas.
6) Manage
• Always use position sizing and a fixed risk model (e.g., % risk per trade).
BEST PRACTICES
• Works on all instruments and all timeframes (scalp → swing).
• Prefer bar-close confirmation for cleaner decision-making.
• Avoid thin liquidity / extreme chop regimes; structure tools perform best with clear context.
• Combine MSP with your execution rules (session timing, volatility filters, news awareness).
NOTES & LIMITATIONS
• MSP provides context and planning levels — it does not predict the future.
• Targets/SL ideas are “tentative” and can fail during high volatility or regime shifts.
• Use proper risk management. No indicator can replace discipline and execution quality.
DISCLAIMER
This script is provided for educational and informational purposes only and does not constitute financial advice, investment advice, or a recommendation to buy/sell any instrument. Trading involves risk, and you are responsible for your decisions and risk management.
Kai simple mother bar Identify mother bar break candles based on price action and above-average volume, helping to detect breakout points in the direction of the trend as well as potential reversals.
testing 2//@version=5
indicator("DTC-1.3.6 FINAL SCREEN CLONE (FIXED + STOCH RSI)", overlay=true,
max_labels_count=500, max_lines_count=100)
//━━━━━━━━━━━━━━━━━━━
// INPUTS
//━━━━━━━━━━━━━━━━━━━
ema1Len = input.int(9)
ema2Len = input.int(13)
ema3Len = input.int(21)
ema4Len = input.int(34)
ema5Len = input.int(55)
ema6Len = input.int(89)
// Stochastic RSI Inputs
rsiLen = input.int(14, "RSI Length")
stochLen = input.int(14, "Stoch Length")
smoothK = input.int(3, "Smooth K")
smoothD = input.int(3, "Smooth D")
atrLen = input.int(14)
tpStep = input.float(0.5, "TP ATR Step")
slMult = input.float(1.2, "SL ATR")
//━━━━━━━━━━━━━━━━━━━
// CALCULATIONS
//━━━━━━━━━━━━━━━━━━━
ema1 = ta.ema(close, ema1Len)
ema2 = ta.ema(close, ema2Len)
ema3 = ta.ema(close, ema3Len)
ema4 = ta.ema(close, ema4Len)
ema5 = ta.ema(close, ema5Len)
ema6 = ta.ema(close, ema6Len)
atr = ta.atr(atrLen)
//━━━━━━━━━━━━━━━━━━━
// STOCHASTIC RSI
//━━━━━━━━━━━━━━━━━━━
rsiVal = ta.rsi(close, rsiLen)
stochRSI = 100 * (rsiVal - ta.lowest(rsiVal, stochLen)) /
(ta.highest(rsiVal, stochLen) - ta.lowest(rsiVal, stochLen))
k = ta.sma(stochRSI, smoothK)
d = ta.sma(k, smoothD)
//━━━━━━━━━━━━━━━━━━━
// TREND LOGIC
//━━━━━━━━━━━━━━━━━━━
bull = ema1 > ema2 and ema2 > ema3 and ema3 > ema4 and ema4 > ema5
bear = ema1 < ema2 and ema2 < ema3 and ema3 < ema4 and ema4 < ema5
// STOCH RSI CONDITIONS
stochBuy = k < 30
stochSell = k > 70
buySignal = bull and not bull and stochBuy
sellSignal = bear and not bear and stochSell
//━━━━━━━━━━━━━━━━━━━
// EMA RIBBON
//━━━━━━━━━━━━━━━━━━━
plot(ema1, color=color.rgb(0,180,90), linewidth=2)
plot(ema2, color=color.rgb(0,170,85), linewidth=2)
plot(ema3, color=color.rgb(0,160,80), linewidth=2)
plot(ema4, color=color.rgb(0,150,75), linewidth=2)
plot(ema5, color=color.rgb(0,140,70), linewidth=2)
plot(ema6, color=color.rgb(0,130,65), linewidth=2)
//━━━━━━━━━━━━━━━━━━━
// BACKGROUND ZONES
//━━━━━━━━━━━━━━━━━━━
bgcolor(bull ? color.new(color.green, 85) : na)
bgcolor(bear ? color.new(color.red, 85) : na)
//━━━━━━━━━━━━━━━━━━━
// BUY / SELL LABELS
//━━━━━━━━━━━━━━━━━━━
if buySignal
label.new(bar_index, low, "BUY",
style=label.style_label_up,
color=color.rgb(0,160,90),
textcolor=color.white)
if sellSignal
label.new(bar_index, high, "SELL",
style=label.style_label_down,
color=color.rgb(200,0,0),
textcolor=color.white)
//━━━━━━━━━━━━━━━━━━━
// TP LADDER + LABELS
//━━━━━━━━━━━━━━━━━━━
var line tp1 = na
var line tp2 = na
var line tp3 = na
var line tp4 = na
var line tp5 = na
var line tp6 = na
var line sl = na
var label ltp1 = na
var label ltp2 = na
var label ltp3 = na
var label ltp4 = na
var label ltp5 = na
var label ltp6 = na
var label lsl = na
if buySignal or sellSignal
line.delete(tp1), line.delete(tp2), line.delete(tp3)
line.delete(tp4), line.delete(tp5), line.delete(tp6)
line.delete(sl)
label.delete(ltp1), label.delete(ltp2), label.delete(ltp3)
label.delete(ltp4), label.delete(ltp5), label.delete(ltp6)
label.delete(lsl)
base = close
dir = buySignal ? 1 : -1
tp1 := line.new(bar_index, base + dir*atr*tpStep*1, bar_index+200, base + dir*atr*tpStep*1, color=color.green)
tp2 := line.new(bar_index, base + dir*atr*tpStep*2, bar_index+200, base + dir*atr*tpStep*2, color=color.green)
tp3 := line.new(bar_index, base + dir*atr*tpStep*3, bar_index+200, base + dir*atr*tpStep*3, color=color.green)
tp4 := line.new(bar_index, base + dir*atr*tpStep*4, bar_index+200, base + dir*atr*tpStep*4, color=color.green)
tp5 := line.new(bar_index, base + dir*atr*tpStep*5, bar_index+200, base + dir*atr*tpStep*5, color=color.green)
tp6 := line.new(bar_index, base + dir*atr*tpStep*6, bar_index+200, base + dir*atr*tpStep*6, color=color.green)
sl := line.new(bar_index, base - dir*atr*slMult, bar_index+200, base - dir*atr*slMult, color=color.red)
ltp1 := label.new(bar_index+200, base + dir*atr*tpStep*1, "TP1", style=label.style_label_left, color=color.green, textcolor=color.white)
ltp2 := label.new(bar_index+200, base + dir*atr*tpStep*2, "TP2", style=label.style_label_left, color=color.green, textcolor=color.white)
ltp3 := label.new(bar_index+200, base + dir*atr*tpStep*3, "TP3", style=label.style_label_left, color=color.green, textcolor=color.white)
ltp4 := label.new(bar_index+200, base + dir*atr*tpStep*4, "TP4", style=label.style_label_left, color=color.green, textcolor=color.white)
ltp5 := label.new(bar_index+200, base + dir*atr*tpStep*5, "TP5", style=label.style_label_left, color=color.green, textcolor=color.white)
ltp6 := label.new(bar_index+200, base + dir*atr*tpStep*6, "TP6", style=label.style_label_left, color=color.green, textcolor=color.white)
lsl := label.new(bar_index+200, base - dir*atr*slMult, "SL", style=label.style_label_left, color=color.red, textcolor=color.white)
//━━━━━━━━━━━━━━━━━━━
// ALERTS
//━━━━━━━━━━━━━━━━━━━
alertcondition(buySignal, title="BUY", message="DTC BUY (Stoch RSI < 30) on {{ticker}} {{interval}}")
alertcondition(sellSignal, title="SELL", message="DTC SELL (Stoch RSI > 70) on {{ticker}} {{interval}}")
Smart Money Concept - Signal [TradingMienTrung]Smart Money Concept - Entry Signals
An intelligent trading indicator that automatically generates precise entry signals with Stop Loss and Take Profit levels for Smart Money Concepts (SMC) trading. This tool transforms FVG and Order Block analysis into actionable trade setups with automated risk management.
█ ORIGINALITY & KEY INNOVATIONS
This indicator introduces FIVE unique features to the SMC framework:
1. MULTI-LEVEL ENTRY SYSTEM (0%, 50%, 100%)
• Three entry levels within each zone for flexible position scaling
• 0% = Zone bottom (aggressive, early entry)
• 50% = Zone middle (balanced, recommended)
• 100% = Zone top (conservative, strong confirmation)
2. AUTOMATED RISK MANAGEMENT
• Automatic Stop Loss calculation based on zone structure
• Take Profit projection using configurable R:R ratios
• Visual feedback: WHITE line (Entry), RED line (SL), LIME line (TP)
3. INTELLIGENT RESOURCE MANAGEMENT
• FIFO deletion system when max entries reached
• Maintains clean chart (prevents 500 object limit)
• Configurable max entries (1-50) per zone type
4. ANTI-REPAINT SYSTEM
• All signals confirmed using barstate.isconfirmed
• Prevents false signals during real-time bar formation
• Historical consistency matches real-time behavior
5. COMPLETE VISUAL FRAMEWORK
• Entry point markers at exact entry prices
• Take Profit and Stop Loss levels with clear labels
• Separate visual controls for each entry level
█ OVERVIEW
When price approaches a Fair Value Gap or Order Block:
1. Calculates optimal entry point at selected level
2. Automatically places Stop Loss based on zone boundaries
3. Projects Take Profit target using your configured Risk:Reward ratio
4. Displays all levels visually on chart with precise labels
5. Sends alerts when entry conditions are met
█ SETTINGS & CONFIGURATION
FVG Entry Configuration
• Show FVG Entry: Enable/disable FVG entry signals
• Max Entries: Maximum number of active FVG entries
• Min Height: Minimum FVG zone height filter (direct price units)
• R:R Ratio: Risk-Reward ratio for Take Profit (Default 2.0)
Order Block Entry Configuration
• Show OB Entry: Enable/disable Order Block entry signals
• Max Entries: Maximum number of active OB entries
• Min Height: Minimum OB zone height filter
• R:R Ratio: Risk-Reward ratio for Take Profit (Default 3.0)
Core SMC Parameters
• Show Structure/FVG/OB: Toggle visibility of core SMC elements
• Structure Types: Configure BOS, CHoCH, and Swing lookbacks
█ HOW IT WORKS & LOGIC
FVG Bullish Entry (Long):
• Entry 50% = (FVG Top + FVG Bottom) / 2
• SL = Entry - Zone Height
• TP = Entry + (Zone Height × R:R Ratio)
Order Block Bearish Entry (Short):
• Entry 50% = (OB Top + OB Bottom) / 2
• SL = Entry + Zone Height
• TP = Entry - (Zone Height × R:R Ratio)
█ QUICK START GUIDE
1. Add to chart and open Settings.
2. Show FVG Entry : ON, R:R Ratio : 2.0
3. Show OB Entry : ON, R:R Ratio : 3.0
4. When price touches a zone:
• Enter at the WHITE line
• SL at the RED line
• TP at the LIME line
█ CREDITS & ATTRIBUTION
This script is built upon the Smart Money Concepts indicator originally developed by LuxAlgo .
• Base Framework: Smart Money Concepts
• Modifications by TradingMienTrung: Multi-level entry system, Automated TP/SL engine, Anti-repaint logic, FIFO resource management.
█ LICENSE
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
You must attribute the original author (LuxAlgo) and the modifier (TradingMienTrung). Commercial use is not allowed.
█ DISCLAIMER
This indicator is for educational purposes only. Signals are based on technical analysis and do not guarantee profits. Users are responsible for their own trading decisions and risk management.
Liquidity Turn Radar - MNQ/NQ Movement Histogram Fixed AlertsA liquidity-based momentum indicator for MNQ/NQ futures that highlights abnormal buy- and sell-side pressure using a smoothed histogram. It focuses on institutional participation shifts rather than price action, helping identify early reversals, momentum expansions, and liquidity fades. Fixed, non-repainting alerts trigger only on high-confidence liquidity impulses for cleaner intraday signals.
Candle Anatomy (feat. Dr. Rupward)# Candle Anatomy (feat. Dr. Rupward)
## Overview
This indicator dissects a single Higher Timeframe (HTF) candle and displays it separately on the right side of your chart with detailed anatomical analysis. Instead of cluttering your entire chart with analysis on every candle, this tool focuses on what matters most: understanding the structure and strength of the most recent HTF candle.
---
## Why I Built This
When analyzing price action, I often found myself manually calculating wick-to-body ratios, estimating retracement levels, and trying to gauge candle strength. This indicator automates that process and presents it in a clean, visual format.
The "Dr. Rupward" theme is just for fun – a lighthearted way to present technical analysis. Think of it as your chart's "health checkup." Don't take it too seriously, but do take the data seriously!
---
## How It Works
### 1. Candle Decomposition
The indicator breaks down the HTF candle into three components:
- **Upper Wick %** = (High - max(Open, Close)) / Range × 100
- **Body %** = |Close - Open| / Range × 100
- **Lower Wick %** = (min(Open, Close) - Low) / Range × 100
Where Range = High - Low
### 2. Strength Assessment
Based on body percentage:
- **Strong** (≥70%): High conviction move, trend likely to continue
- **Moderate** (40-69%): Normal price action
- **Weak** (<40%): Indecision, potential reversal or consolidation
### 3. Pressure Analysis
- **Upper Wick** indicates selling pressure (bulls pushed up, but sellers rejected)
- **Lower Wick** indicates buying pressure (bears pushed down, but buyers rejected)
Thresholds:
- ≥30%: Strong pressure
- 15-29%: Moderate pressure
- <15%: Weak pressure
### 4. Pattern Recognition
The indicator automatically detects:
| Pattern | Condition |
|---------|-----------|
| Doji | Body < 10% |
| Hammer | Lower wick ≥ 60%, Upper wick < 10%, Body < 35% |
| Shooting Star | Upper wick ≥ 60%, Lower wick < 10%, Body < 35% |
| Marubozu | Body ≥ 90% |
| Spinning Top | Body < 30%, Both wicks > 25% |
### 5. Fibonacci Levels
Displays key Fibonacci retracement and extension levels based on the candle's range:
**Retracement:** 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
**Extension:** 1.272, 1.618, 2.0, 2.618
**Negative Extension:** -0.272, -0.618, -1.0
These levels help identify potential support/resistance if price retraces into or extends beyond the analyzed candle.
### 6. Comparison with Previous Candle
When enabled, displays the previous HTF candle (semi-transparent) alongside the current one. This allows you to:
- Compare range expansion/contraction
- Observe momentum shifts
- Identify continuation or reversal setups
---
## Settings Explained
### Display Settings
- **Analysis Timeframe**: The HTF candle to analyze (default: Daily)
- **Offset from Chart**: Distance from the last bar (default: 15)
- **Candle Width**: Visual width of the anatomy candle
- **Show Previous Candle**: Toggle comparison view
### Fibonacci Levels
- Toggle individual levels on/off based on your preference
- Retracement levels for pullback analysis
- Extension levels for target projection
### Diagnosis Panel
- Shows pattern name, strength assessment, and expected behavior
- Can be toggled off if you prefer minimal display
---
## Use Cases
1. **Swing Trading**: Analyze daily candle structure before entering on lower timeframes
2. **Trend Confirmation**: Strong body % with minimal upper wick = healthy trend
3. **Reversal Detection**: Hammer/Shooting Star patterns with high wick %
4. **Target Setting**: Use Fibonacci extensions for take-profit levels
---
## Notes
- This indicator is designed for analysis, not for generating buy/sell signals
- Works best on liquid markets with clean price action
- The "diagnosis" is algorithmic interpretation, not financial advice
- Combine with your own analysis and risk management
---
## About the Name
"Dr. Rupward" is a playful persona I created – combining "Right" + "Upward" (my trading philosophy) with a doctor theme because we're "diagnosing" candle health. It's meant to make technical analysis a bit more fun and approachable. Enjoy!
---
## Feedback Welcome
If you find this useful or have suggestions for improvement, feel free to leave a comment. Happy trading!






















