PROTECTED SOURCE SCRIPT
Updated Sequential 9-13

“how-to” for your Sequential 9-13 indicator:
What it shows
Setup (1–9)
  
1. Numbers 1–8:
-- Buy setup: green numbers **below** the bar.
-- Sell setup: red numbers **above** the bar.
-- Bar #9: big label with Buy #9: green label , Sell #9: red label
-- If “perfection” is met, it prints `9p`; otherwise `9`.
2. Countdown (1–13)
-- #1–#12: **below** the bar (both directions)
-- Buy = green text, Sell = red text.
-- #13 (Qualified only):
-- Buy #13:** purple label **below** the bar
-- Sell #13:** yellow label **above** the bar
3. 13-vs-8 qualifier:
-- Buy must have Low(Bar13) ≤ Close(Bar8).
-- Sell must have High(Bar13) ≥ Close(Bar8).
-- If not met, Bar13 is deferred and a “+” is printed below the bar instead; counting continues until qualified.
4. ST levels (dotted lines)
-- Plotted only when a Setup #9 completes (not earlier).
-- Style: dotted, extends to the right a fixed 20 number of bars.
-- Method:
-- Bar1 Extreme (default):
-- Buy setup #9 → ST Down at Bar1 High (black).
-- Sell setup #9 → ST Up at Bar1 Low (blue).
-- Bars1–4 Extreme:
-- Uses the highest high (Buy) or owest low (Sell) across Bars 1–4.
# Key inputs (panel)
-- Strict Setup / Strict Countdown: choose strict `<` / `>` comparisons vs. inclusive `<=` / `>=`.
-- Countdown reference: `High/Low[2]` or `Close[2]`.
-- Require Setup perfection before Countdown: start the 13-count only if #9 is perfect.
-- Cancel Countdown on opposite #9: optional reset when the opposite setup completes #9.
-- Sizes:
-- Setup minor size (1–8), Countdown size (1–12 / “+”), and Major size (#9 & #13). By default, #9 and #13 are Normal.
-- Vertical offsets (ATR-based):
-- Countdown (1–12 / “+”) offset below the bar.
-- Countdown 13 offset (separate control).
-- ST Level settings:
-- Method (Bar1 Extreme / Bars1–4 Extreme).
-- Width, colors, and Forward bars (default 20).
# Tips
-- If numbers overlap wicks, increase the ATR offsets (Countdown and #13) in inputs.
-- For a cleaner chart, reduce Max ST lines or thin line width.
-- Want stricter signals? Enable Require Setup perfection before Countdown.
-- If you want, I can add a toggle to hide 1–8 or hide CD 1–12/+ for ultra-minimal displays.
What it shows
Setup (1–9)
1. Numbers 1–8:
-- Buy setup: green numbers **below** the bar.
-- Sell setup: red numbers **above** the bar.
-- Bar #9: big label with Buy #9: green label , Sell #9: red label
-- If “perfection” is met, it prints `9p`; otherwise `9`.
2. Countdown (1–13)
-- #1–#12: **below** the bar (both directions)
-- Buy = green text, Sell = red text.
-- #13 (Qualified only):
-- Buy #13:** purple label **below** the bar
-- Sell #13:** yellow label **above** the bar
3. 13-vs-8 qualifier:
-- Buy must have Low(Bar13) ≤ Close(Bar8).
-- Sell must have High(Bar13) ≥ Close(Bar8).
-- If not met, Bar13 is deferred and a “+” is printed below the bar instead; counting continues until qualified.
4. ST levels (dotted lines)
-- Plotted only when a Setup #9 completes (not earlier).
-- Style: dotted, extends to the right a fixed 20 number of bars.
-- Method:
-- Bar1 Extreme (default):
-- Buy setup #9 → ST Down at Bar1 High (black).
-- Sell setup #9 → ST Up at Bar1 Low (blue).
-- Bars1–4 Extreme:
-- Uses the highest high (Buy) or owest low (Sell) across Bars 1–4.
# Key inputs (panel)
-- Strict Setup / Strict Countdown: choose strict `<` / `>` comparisons vs. inclusive `<=` / `>=`.
-- Countdown reference: `High/Low[2]` or `Close[2]`.
-- Require Setup perfection before Countdown: start the 13-count only if #9 is perfect.
-- Cancel Countdown on opposite #9: optional reset when the opposite setup completes #9.
-- Sizes:
-- Setup minor size (1–8), Countdown size (1–12 / “+”), and Major size (#9 & #13). By default, #9 and #13 are Normal.
-- Vertical offsets (ATR-based):
-- Countdown (1–12 / “+”) offset below the bar.
-- Countdown 13 offset (separate control).
-- ST Level settings:
-- Method (Bar1 Extreme / Bars1–4 Extreme).
-- Width, colors, and Forward bars (default 20).
# Tips
-- If numbers overlap wicks, increase the ATR offsets (Countdown and #13) in inputs.
-- For a cleaner chart, reduce Max ST lines or thin line width.
-- Want stricter signals? Enable Require Setup perfection before Countdown.
-- If you want, I can add a toggle to hide 1–8 or hide CD 1–12/+ for ultra-minimal displays.
Release Notes
“how-to” for your Sequential 9-13 indicator:version 1.10
updated 30/10/2025 :
add option : User can select counting model between Sequential or Combo
When to use which?
Sequential is best when…
You want faster signals to warn of trend “exhaustion risk”—moving from #9 toward 13. Works well in markets that chop or show strong mean reversion.
You want a flexible 13-count (doesn’t need consecutive bars) to view broader trend exhaustion.
Combo is best when…
You want stricter, fewer, but higher-quality signals—suited to strong, persistent trends (trending markets) and to reduce false signals.
You prefer to “count overlapping the Setup” from bar #1, measuring exhaustion in long runs without waiting for Setup to finish.
Quick pick (cheat sheet)
Need “faster & flexible” signals → choose Sequential (start the 13-count after Setup completes; use the 13-vs-8 qualifier for stricter confirmation).
Need “tighter-filtered” signals for strong trends → choose Combo (start counting from Setup bar #1 with several additional conditions).
---------------------
Version 1.0
What it shows
Setup (1–9)
1. Numbers 1–8:
-- Buy setup: green numbers **below** the bar.
-- Sell setup: red numbers **above** the bar.
-- Bar #9: big label with Buy #9: green label , Sell #9: red label
-- If “perfection” is met, it prints `9p`; otherwise `9`.
2. Countdown (1–13)
-- #1–#12: **below** the bar (both directions)
-- Buy = green text, Sell = red text.
-- #13 (Qualified only):
-- Buy #13:** purple label **below** the bar
-- Sell #13:** yellow label **above** the bar
3. 13-vs-8 qualifier:
-- Buy must have Low(Bar13) ≤ Close(Bar8).
-- Sell must have High(Bar13) ≥ Close(Bar8).
-- If not met, Bar13 is deferred and a “+” is printed below the bar instead; counting continues until qualified.
4. ST levels (dotted lines)
-- Plotted only when a Setup #9 completes (not earlier).
-- Style: dotted, extends to the right a fixed 20 number of bars.
-- Method:
-- Bar1 Extreme (default):
-- Buy setup #9 → ST Down at Bar1 High (black).
-- Sell setup #9 → ST Up at Bar1 Low (blue).
-- Bars1–4 Extreme:
-- Uses the highest high (Buy) or owest low (Sell) across Bars 1–4.
# Key inputs (panel)
-- Strict Setup / Strict Countdown: choose strict `<` / `>` comparisons vs. inclusive `<=` / `>=`.
-- Countdown reference: `High/Low[2]` or `Close[2]`.
-- Require Setup perfection before Countdown: start the 13-count only if #9 is perfect.
-- Cancel Countdown on opposite #9: optional reset when the opposite setup completes #9.
-- Sizes:
-- Setup minor size (1–8), Countdown size (1–12 / “+”), and Major size (#9 & #13). By default, #9 and #13 are Normal.
-- Vertical offsets (ATR-based):
-- Countdown (1–12 / “+”) offset below the bar.
-- Countdown 13 offset (separate control).
-- ST Level settings:
-- Method (Bar1 Extreme / Bars1–4 Extreme).
-- Width, colors, and Forward bars (default 20).
# Tips
-- If numbers overlap wicks, increase the ATR offsets (Countdown and #13) in inputs.
-- For a cleaner chart, reduce Max ST lines or thin line width.
-- Want stricter signals? Enable Require Setup perfection before Countdown.
-- If you want, I can add a toggle to hide 1–8 or hide CD 1–12/+ for ultra-minimal displays.
Release Notes
Version 1.11Change Name indicator to be Sequential-Combo 9-13
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Pragasit Thitaram, CEWA
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Pragasit Thitaram, CEWA
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
