Accurate Swing Trading + Support Resistance MTF (EN)Swing trading setup based on volume and support restistance. use buy main signal for large trend change and for swing trade use buy
Swing
High Breakout PRO - Huy Hoang Trader
# High Breakout PRO - Huy Hoang Trader - Strategy Description
## 🚀 Overview
**High Breakout PRO** is a professional-grade Trend Following strategy designed to capture major market moves while strictly managing risk. Built on the core philosophy of "Price Action Breakouts," this script enhances the classic Donchian Channel breakout method with modern risk management tools like the **Hybrid Exit** and **EMA Trend Filter**.
This strategy is optimized for **Gold (XAUUSD)**, **Bitcoin (BTC)**, and **Major Stocks (AAPL, AMZN)** on **H4 and Daily** timeframes.
## 💎 Key Features
1. **Trend Filter (EMA):** Only takes long positions when the price is above the 200-period EMA. This filters out counter-trend noise and significantly improves winning probability.
2. **Hybrid Exit Mechanism ("Holy Grail"):** A unique dynamic trailing stop that combines:
* **Price Structure:** Uses the lowest low of the last Y bars (Donchian Support).
* **Volatility:** Uses ATR-based trailing (Chandelier Exit logic).
* *Logic:* The system automatically chooses the **tighter** (higher) stop level between the two, ensuring you lock in profits rapidly during strong volatility while giving the trade room to breathe during accumulation.
3. **Professional Visuals:** A refined "Wealth & Earth" themes (Gold/Silver/Brown) specifically designed to reduce eye strain and provide clear, professional signal visibility without chart clutter.
## 🛠 Strategy Logic
### entry rules
* **Breakout:** Price closes above the Highest High of the last `X` bars (Default: 20).
* **Trend Confirmation:** Closing Price > EMA 200 (Configurable).
### Exit Rules
* **Dynamic Stop Loss:** The trade is closed when price breaches the **Hybrid Trailing Stop**.
* The Trailing Stop never moves down. It only moves up as price increases.
* It effectively adapts to both slow-grinding trends and explosive spikes.
## ⚙️ Best Settings (Recommended)
* **Timeframe:** H4 (Swing Trading) or Daily (Position Trading).
* **Entry Period (X):** 20
* **Exit Period (Y):** 10
* **Trend Filter:** ON (EMA 200)
* **Risk Management:** Hybrid Mode (ATR Multiplier 3.0)
## ⚠️ Disclaimer
This strategy follows trends. It may experience drawdowns during choppy/sideways markets. Always use proper risk management (position sizing) and backtest on your specific asset before live trading.
---
*Developed by Antigravity. Empowering traders with institutional-grade tools.*
Contact for work: www.facebook.com
SwingLines.Identifies immediate Swing High and Lows
current High is > prev bar and next bar
current low is < previous bar and next bar
All Inside bars eliminated
All outside bar, follows prior trend rules
Peak Rejection LevelsPeak Rejection Levels is a price-action–based indicator designed to automatically identify strong rejection levels at swing highs and swing lows.
It highlights areas where price attempted to move further but was firmly rejected, often acting as key support or resistance zones.
The indicator is especially useful for :
Intraday and swing trading
Identifying high-probability rejection zones
Support/resistance mapping based on pure price action
Confluence with trend, structure, or indicator-based strategies
📈 What Is a “Peak Rejection”?
A peak rejection is defined using strict price-action rules:
🔺 Swing High Rejection (Resistance)
A swing high is marked as a rejection when:
The candle is a confirmed swing high
The candle has an upper wick
The upper wick is larger than the candle body
The wick represents the highest price of the swing
This indicates strong selling pressure and rejection from higher prices
🔻 Swing Low Rejection (Support)
A swing low is marked as a rejection when:
The candle is a confirmed swing low
The candle has a lower wick
The lower wick is larger than the candle body
The wick represents the lowest price of the swing
This indicates strong buying pressure and rejection from lower prices
When these conditions are met, the indicator draws a horizontal level at the rejection wick.
🧠 Key Features
✅ Works on any timeframe
✅ Non-repainting (uses confirmed swings)
✅ Automatically removes broken levels
✅ Automatically removes old levels based on time
✅ Clean and uncluttered chart output
✅ Pure price-action logic (no indicators, no lag)
Nifty Move HunterNifty Move Hunter is a powerful price-action–based analysis tool, specially designed for NIFTY / BANKNIFTY intraday traders who want clear structure, trend behavior, and market context — without clutter.
This FREE version focuses on visual clarity and learning, while keeping advanced execution features exclusive for Premium users.
🔍 What this indicator shows (FREE):
✅ Opening Range Levels (9:15 Candle Based)
• First candle High & Low
• Multiple upside & downside projected levels
• Helps identify early market bias
✅ Dynamic Auto Trendlines
• Swing-based adaptive trendlines
• ATR / STDEV / Linear Regression slope methods
• Auto-extending trendlines with rejection zones
• Perfect for support–resistance & structure analysis
✅ Rejection Zones
• Automatically marks price rejection areas
• Useful to spot fake breakouts & supply/demand zones
✅ Symmetrical Triangle Detection
• Identifies volatility contraction patterns
• Draws converging trendlines automatically
• Helps prepare for impulsive moves
✅ Clean & Non-Repainting Logic
• Designed for chart study & learning
• No confusing signals or repaint tricks
🚫 What is NOT included in Free Version:
❌ Buy / Sell signals
❌ Entry, Stop Loss & Target levels
❌ Real-time execution assistance
❌ Premium logic layers
💎 Why Premium Version?
The Premium version unlocks: • Clear directional bias
• Precise Buy / Sell signals
• Defined Risk–Reward levels
• Advanced market logic for live trading
📩 Contact for Premium Access
👉 Telegram: Chandan Trading Solutions
📺 Learn How to Use This Indicator
▶️ YouTube: Chandan Trading Solutions
⚠️ Disclaimer:
This indicator is for educational & analytical purposes only. Trading involves risk. Always use proper risk management.
Swing Confluence - Buy(BETA VERSION)Swing Confluence Buy Signals — High-Probability Daily Setups (Beta Version)
Powerful swing trading indicator designed exclusively for DAILY charts.
Detects strong bullish confluence buy signals using 7 proven criteria:
• Price above EMA 200
• Not overextended (configurable max % above EMA 200)
• Relative strength outperforming SPY
• Stochastic reversal
• Volume expansion
• RSI > 50
• Bullish MACD
Signals appear as colored circles below bars (yellow → light green → dark green based on 5/6/7 confluence score). Includes clear swing labels (HH/LH/HL/LL), EMA 200 & SMA 50 plots, and a real-time confluence dashboard showing every criterion.
Filter noise, catch trending moves early, and trade with confidence. Ideal for swing traders seeking high-conviction long entries.
Alerts included for new buy signals.
⚠️ This indicator is currently in beta/testing phase and not fully finalized. Your feedback, suggestions, and ideas are highly welcome — help me improve it!
GB-Swing by AlgoKingsGB-Swing by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT IS GB-SWING?
GB-Swing is a swing-structure analysis indicator that identifies 3-bar or 5-bar swing highs and swing lows and filters them using Goldbach / CE time-based calculations. The script highlights only those swing points that align with predefined mathematically significant time values, allowing focused study of price behavior around structurally and temporally aligned points.
This indicator does not generate trade signals. It is designed to assist in discretionary market analysis by visualizing swing structure in combination with time-based conditions.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
SWING STRUCTURE DETECTION
GB-Swing identifies swing highs and swing lows using classic bar-based structure logic:
5-bar swings (default): A central bar is confirmed as a swing high or low only when surrounded by sufficient higher or lower bars, producing more selective swing points.
3-bar swings: A faster, less restrictive swing definition for users who prefer more frequent structure points.
Swing detection is based solely on price structure and does not rely on indicators, oscillators, or momentum calculations.
GOLDBACH / CE TIME MATCHING
Each detected swing is evaluated against a set of Goldbach / CE numbers using the candle timestamps surrounding the swing point.
Matching logic tests multiple time relationships:
-Candle minute
-Hour + minute
-Absolute difference between hour and minute
-Matches may be exact or approximate (±1 tolerance). Only swings with at least one valid match are displayed.
Users may select:
-A built-in master list of GB/CE numbers, or
-A custom comma-separated list, automatically filtered against the master list to prevent invalid values.
TIMEFRAME AND TIMEZONE CONTROL
Swing detection is performed on a user-defined Swing timeframe. The chart timeframe must be less than or equal to the selected Swing timeframe.
Goldbach calculations are performed using a dedicated timezone (New York or Zurich), independent of the chart’s display timezone. This allows consistent time-based analysis across different chart configurations.
OPTIONAL LIQUIDITY LEVEL TRACKING
When enabled, the indicator projects horizontal levels from qualifying swing highs or lows:
-Levels extend forward in time until price trades through them
-Once price interacts with a level, it is marked as taken
-Taken levels are visually differentiated using line style changes
-Separate history limits are maintained for swing points and liquidity levels
-This feature is optional and can be disabled entirely.
WHY CLOSED-SOURCE?
This script protects proprietary implementation details, including:
-Custom Goldbach / CE matching logic across multiple time relationships
-Multi-bar swing confirmation logic with edge-case handling
-Timezone-independent timestamp evaluation
-Efficient history management for swings and liquidity levels
-The indicator focuses on analytical behavior rather than exposing internal algorithms.
HOW TO USE
Setup:
-Apply GB-Swing to any supported market
-Select a Swing timeframe greater than or equal to your chart timeframe
-Choose 3-bar or 5-bar swing logic
-Enable either the full GB/CE list or a custom list
-Adjust visual and liquidity settings as desired
Interpretation:
-Swing highs and swing lows are displayed only when time conditions are met
-Upward swings are drawn below price, downward swings above price
-Displayed numbers represent matched GB/CE values
-Liquidity lines represent potential areas of interest, not trade levels
SETTINGS EXPLAINED
Swing:
-Timeframe: Timeframe used for swing detection
-Swing Type: 3-bar or 5-bar structure
-History: Number of swings retained on chart
Goldbach / CE:
-All GB/CE: Enables the built-in master list
-GB/CE List: Custom comma-separated values
-Timezone: Reference timezone for calculations
Display:
-Marker: Enable or disable swing markers
-Numbers: Show or hide GB/CE values
-Text Size: Label size
-Colors: Up and down swing colors
Liquidity:
-Liquidity: Enable or disable level projection
-Color: Liquidity line color
-History: Number of liquidity levels retained
UPDATES
This script is actively maintained. Updates are distributed through TradingView’s native update system. For questions or discussion, please use the comment section below.
GB-Numbers by AlgoKingsGB-Numbers by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT IS GB-NUMBERS?
GB-Numbers displays Goldbach mathematical time windows directly on the chart, marking both historical bars and future time periods where time components align with selected Goldbach numbers. Unlike other Goldbach indicators that filter price patterns, this tool shows pure time analysis - when mathematical harmonics occur regardless of price action.
Example: If minute=23 at current bar, label displays "23". If next bar at 11:35 will have minute=35, indicator projects label 60 bars forward showing when this time window will occur.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. GOLDBACH NUMBER MATCHING
Uses mathematical time component analysis based on Goldbach conjecture principles:
GOLDBACH NUMBER SET:
Master list of 23 key numbers: 0, 3, 11, 17, 29, 41, 47, 53, 59, 71, 83, 89, 97, 100, 7, 14, 23, 35, 44, 50, 56, 65, 77
These numbers represent temporal harmonics derived from number theory analysis. Users can select custom subset via comma-separated list for both Future and History modes.
TIME COMPONENT CALCULATION:
For any given bar timestamp, algorithm extracts four components in selected timezone (New York or Zurich):
- Minute (m): Minute of hour (0-59)
- Hour (h): Hour of day (0-23)
- Sum (h + m): Addition of hour and minute
- Difference (|h - m|): Absolute difference between hour and minute
Example timestamp 14:35:
- m = 35
- h = 14
- h + m = 49
- |h - m| = 21
MATCHING LOGIC:
Two matching modes available:
EXACT MODE:
Number matches if ANY time component exactly equals Goldbach number:
if (m == n) or (h == n) or (h+m == n) or (|h-m| == n)
→ Exact match, display number
ALL MODE (±1 tolerance):
Number matches if ANY time component equals Goldbach number ±1:
if (m == n±1) or (h == n±1) or (h+m == n±1) or (|h-m| == n±1)
→ Near match, display number
Technical implementation:
gbMatch() function tests single number against timestamp's four components. gbMatches() loops through number array, calls gbMatch() for each, returns three arrays: all matches, exact matches, approximate matches. Display uses exact or all based on mode setting.
2. FUTURE TIME PROJECTION
Projects Goldbach matches up to 60 bars into the future:
INITIALIZATION PHASE:
When reaching barstate.islastconfirmedhistory (end of historical data), algorithm performs forward scan:
- Loops from bars_back=-1 to bars_back=-60
- Calls time("", bars_back=idx) to get future timestamps
- Tests each timestamp against selected Goldbach numbers
- Creates labels at future bar positions showing matching numbers
REAL-TIME UPDATES:
On each new bar during live trading (barstate.islast):
- Tests single timestamp 60 bars ahead (time("", bars_back=-60))
- Creates new label if matches found
- Purges oldest future label if it reached current time (last.t <= time)
- Updates all future label y-coordinates to current high for visibility
Rolling window:
Maintains constant 60-bar forward projection. As chart progresses, oldest future label converts to current bar, new label added 60 bars ahead, creating rolling wave of future time windows.
Visual management:
Future labels positioned at high price for visibility. On each bar, all future labels updated to current high (set_y(high)) so they remain visible as price moves. When future bar becomes current, label deleted from nexts array.
3. HISTORICAL BAR MARKING
Marks past bars where Goldbach matches occurred:
DETECTION:
On each new bar (time != previous time):
- Tests current bar timestamp against historical Goldbach array
- If matches found, creates label at bar's high
- Label text contains matched numbers sorted descending, newline-separated
ARRAY MANAGEMENT:
Maintains rolling history array with configurable size (0-400 bars):
- Unshifts new Bar object (contains timestamp and label reference)
- When array exceeds history limit, pops oldest and deletes label
- Enables dynamic history depth adjustment without performance degradation
VERTICAL OFFSET:
Optional vertical offset parameter (0-9) adds newlines to label text, pushing numbers higher above bar. Each increment adds one newline, creating visual separation when multiple indicators overlap.
Difference from future:
Historical labels remain at creation coordinates. Future labels dynamically adjust to current high. Historical mode optional (can be disabled), future mode default enabled.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Goldbach number set: Proprietary selection of 23 specific numbers (0, 3, 11, 17, 29, 41, 47, 53, 59, 71, 83, 89, 97, 100, 7, 14, 23, 35, 44, 50, 56, 65, 77) derived from mathematical research
- Future projection engine: Rolling 60-bar forward scan using time("", bars_back=-idx) with dynamic label positioning (set_y updates), purge logic (last.t <= time), and initialization phase optimization (single loop on islastconfirmedhistory vs bar-by-bar processing)
- Dual-mode matching: Separate exact and approximate match arrays with user-selectable filtering, requiring complex conditional logic in gbMatch() that tests four time components with tolerance windows
- Label lifecycle management: Two independent Bar arrays (nexts for future, bars for history) with different update patterns - futures update y-coordinate every bar, history remains static, futures purge by timestamp comparison, history purges by array size
- Timezone abstraction: Single timezone parameter affects all time component calculations (minute, hour extraction) uniformly across historical and future projections
Standard time indicators show current time only. This script provides dual-timeline analysis with mathematically filtered time windows across past and future.
TECHNICAL COMPONENTS
Core structures:
- Bar Object: Container for timestamp (t) and label reference, used in both bars (history) and nexts (future) arrays
- Goldbach arrays: nextGbArray (user-selected for future), barGbArray (user-selected or all 23 for history)
Time component extraction:
- minute(time, timezone): Extracts minute component (0-59)
- hour(time, timezone): Extracts hour component (0-23)
- Arithmetic: h + m for sum, |h - m| for difference
Future projection:
- Initialization: for idx = -1 to -60: test time("", bars_back=idx)
- Live update: test time("", bars_back=-60) on each new bar
- Purge: if (nexts.last().t <= time) pop and delete
- Position update: for all nexts: set_y(high)
Historical marking:
- Detection: if (time != t0) test gbMatches(barGbArray, time, timezone)
- Creation: label.new(time, high, matches.join(" "))
- Purge: if (bars.size() > barHistory) pop and delete
HOW TO USE
Setup:
1. Apply to any chart (works on all symbols and timeframes)
2. Select Timezone (New York or Zurich) for Goldbach calculation
3. Configure Future section: Enable, select Exact/All mode, enter GB/CE numbers, choose color
4. Configure History section: Enable, select Exact/All mode, enter GB/CE numbers or enable "All GB/CE", set history depth, choose color
5. Adjust Text Size and Vertical Offset as needed
Chart Timeframe:
Works on any timeframe. Lower timeframes (1m-5m) show more frequent matches. Higher timeframes (1H-Daily) show fewer, potentially more significant time windows.
Interpretation:
FUTURE (Blue labels by default):
- Labels appear up to 60 bars ahead of current bar
- Numbers show which Goldbach numbers will match at that future time
- Labels move vertically with price to stay visible
- When future bar becomes current, label disappears
- Used for anticipating upcoming mathematical time windows
HISTORY (Gray labels by default):
- Labels appear on past bars where Goldbach matches occurred
- Numbers show which Goldbach numbers matched at that time
- Labels remain at bar's high price (static)
- Quantity controlled by History parameter (0-400 bars)
- Used for reviewing past mathematical time windows
Label content:
Single number (e.g., "23") = One time component matched one Goldbach number
Multiple numbers (e.g., "35 50") = Multiple time components matched different Goldbach numbers, displayed vertically stacked
No label = No Goldbach matches at that timestamp
SETTINGS EXPLAINED
Settings:
- Timezone: Choose New York or Zurich for time component calculation (chart timezone does not affect this)
- Text Size: Label text size for all numbers (Tiny, Small, Normal, Large)
Future:
- Enable: Show/hide future time projection (60 bars ahead)
- Exact: Enable for exact matches only, disable for ±1 tolerance
- GB/CE List: Comma-separated Goldbach numbers to test for future bars (e.g., "23,35")
- Color: Label color for future time windows
History:
- Enable: Show/hide historical bar marking
- Exact: Enable for exact matches only, disable for ±1 tolerance
- All GB/CE: Enable to test all 23 master Goldbach numbers
- GB/CE List: Disable "All GB/CE" to enter custom comma-separated list (e.g., "23,35")
- History: Number of past bars to show (0-400)
- Color: Label color for historical markings
- Vertical Offset: Adds newlines above numbers (0-9), pushes labels higher for multi-indicator setups
Timezone selection:
New York (America/New_York) = EST/EDT timezone
Zurich (Europe/Zurich) = CET/CEST timezone
Chart display timezone does not affect Goldbach calculations. You can view charts in any timezone while calculating Goldbach numbers in New York or Zurich time.
Exact vs All mode:
- Exact: Stricter, only shows exact matches (m=n, h=n, h+m=n, |h-m|=n)
- All: Looser, shows exact and near matches (±1 tolerance)
- Future and History have independent mode settings
Custom number selection:
Enter numbers separated by commas with no spaces: 23,35,50,77
Invalid numbers (not in master list of 23) automatically filtered out
Minimum: 1 number
Maximum: all 23 numbers (or enable "All GB/CE" for History)
Common Configurations:
- ICT Focus: Future enabled with "23,35", History disabled (clean chart, anticipatory)
- Full Analysis: Future enabled with "23,35", History enabled with "All GB/CE", History=60
- Research Mode: Future disabled, History enabled with custom numbers, History=400 (maximum lookback)
- Minimal: Both Future and History enabled with same short list like "35,65", History=20
Vertical offset usage:
If running multiple indicators that create labels at highs, use Vertical Offset to separate GB-Numbers labels. Each increment adds one newline, pushing labels progressively higher. Useful when combining with GB-Evolve or other label-based indicators.
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
GB-Evolve by AlgoKingsGB-Evolve by AlgoKings
RISK DISCLAIMER: This indicator is an analytical tool for educational purposes only, not financial advice. Trading carries substantial risk of loss. This tool does not guarantee profitable trades. Always use proper risk management and never risk more than you can afford to lose.
WHAT IS GB-EVOLVE?
GB-Evolve identifies potential market turning points using Goldbach mathematical timing analysis combined with price pivot detection. The indicator marks bars where time components align with specific Goldbach numbers while simultaneously forming three-bar swing patterns, suggesting confluence between mathematical time cycles and price structure.
Example: At 11:23 (hour=11, minute=23, sum=34, difference=12), if minute matches Goldbach number 23 AND price forms a swing high, the indicator marks this as a potential pivot. If confirmed by subsequent bars, the label changes color.
UNDERLYING METHODOLOGY
This indicator combines three analytical layers:
1. GOLDBACH NUMBER MATCHING
Uses mathematical time component analysis based on Goldbach conjecture principles:
GOLDBACH NUMBER SET:
Master list of 23 key numbers: 0, 3, 11, 17, 29, 41, 47, 53, 59, 71, 83, 89, 97, 100, 7, 14, 23, 35, 44, 50, 56, 65, 77
These numbers represent temporal harmonics derived from number theory analysis. Users can select all numbers or specify custom subset via comma-separated list.
TIME COMPONENT CALCULATION:
For any given bar timestamp, algorithm extracts four components in selected timezone (New York or Zurich):
- Minute (m): Minute of hour (0-59)
- Hour (h): Hour of day (0-23)
- Sum (h + m): Addition of hour and minute
- Difference (|h - m|): Absolute difference between hour and minute
Example timestamp 14:35:
- m = 35
- h = 14
- h + m = 49
- |h - m| = 21
MATCHING LOGIC:
Number matches if ANY time component equals Goldbach number ±1 (tolerance window):
- Exact match: Component exactly equals Goldbach number
- Near match: Component equals Goldbach number ±1
Technical implementation:
if (m == n) or (h == n) or (h+m == n) or (|h-m| == n)
→ Exact match
if (m == n±1) or (h == n±1) or (h+m == n±1) or (|h-m| == n±1)
→ Near match
Multi-bar window: Algorithm checks current bar, previous bar, and next bar timestamps to identify matches across pivot formation window.
2. THREE-BAR PIVOT DETECTION
Identifies swing highs and swing lows using classic three-bar pattern:
SWING HIGH:
high < high (current bar makes higher high than previous)
Pattern confirmed when: high < high > high (middle bar exceeds both neighbors)
SWING LOW:
low > low (current bar makes lower low than previous)
Pattern confirmed when: low > low < low (middle bar below both neighbors)
STATE TRANSITIONS:
- Potential Pivot: Current bar creates new extreme (high < high or low > low)
- Confirmed Pivot: Three-bar pattern completes with middle bar as pivot
Label management:
When bar forms potential pivot, creates label with matching Goldbach numbers. If bar later exceeds this extreme, label deleted (pivot invalidated). If bar confirms three-bar pattern, label color changes from gray to green (bullish) or red (bearish).
3. DYNAMIC LABEL UPDATES
Sophisticated label lifecycle management:
CREATION PHASE:
When current bar exceeds previous bar (high < high or low > low):
- Calls gbMatches() to test all Goldbach numbers against time , time , and time("", bars_back = -1)
- Collects matching numbers into array
- Sorts descending for highs, ascending for lows
- Creates label with joined numbers as text
INVALIDATION PHASE:
One bar later, if new bar exceeds previous pivot:
- high >= high → Delete high label (pivot broken)
- low <= low → Delete low label (pivot broken)
This prevents false pivots from persisting on chart.
CONFIRMATION PHASE:
Two bars later, if three-bar pattern confirmed:
- high < high > high → Change high label color to red (bearish reversal confirmed)
- low > low < low → Change low label color to green (bullish reversal confirmed)
Array management maintains only 3 most recent bars to enable this state machine.
WHY CLOSED-SOURCE?
This script protects proprietary algorithms:
- Goldbach matching engine: Custom gbMatch() function that tests four time components (m, h, h+m, |h-m|) against each Goldbach number with ±1 tolerance, implemented as nested conditional logic that processes 23 master numbers against multiple timestamp combinations
- Multi-bar window scanning: gbMatches() function that tests array of Goldbach numbers against array of timestamps (current, previous, next bars), using nested loops with break optimization when match found
- Goldbach number set: Proprietary selection of 23 specific numbers (0, 3, 11, 17, 29, 41, 47, 53, 59, 71, 83, 89, 97, 100, 7, 14, 23, 35, 44, 50, 56, 65, 77) derived from mathematical research
- State machine logic: Bar array management (size=3) with label lifecycle tracking through potential → invalidated/confirmed states, using get(1) and get(2) array indexing for historical bar access
- Label update mechanism: Dynamic textcolor changes (set_textcolor) without redrawing entire object, preserving label coordinates while updating visual state
Standard pivot indicators use price-only logic. This script combines mathematical time harmonics with price structure for confluence-based pivot identification.
TECHNICAL COMPONENTS
Core structures:
- Bar Object: Container for labelH (high label) and labelL (low label), maintained in 3-element rolling array
- Goldbach array: User-selected or full set of 23 master numbers, filtered through gbFilterArray() validation
Time component extraction:
- minute(time, timezone): Extracts minute component (0-59)
- hour(time, timezone): Extracts hour component (0-23)
- Arithmetic: h + m for sum, |h - m| for difference
Pivot detection:
- Potential: if (high < high) create label with gbMatches(gbArray, [time , time, time(-1)], timezone)
- Invalidation: if (high >= high ) delete label
- Confirmation: if (high < high > high ) change label color to red
HOW TO USE
Setup:
1. Apply to any chart (works on all symbols and timeframes)
2. Select Timezone (New York or Zurich) for Goldbach calculation
3. Choose "All GB/CE" to use all 23 numbers, or disable to enter custom list
4. Enter custom numbers as comma-separated values (e.g., "23,35,50")
5. Adjust text size and colors for labels
Chart Timeframe:
Works on any timeframe. Lower timeframes (1m-15m) show more frequent matches. Higher timeframes (1H-Daily) show fewer, potentially more significant confluences.
Interpretation:
- Gray label above bar = Potential swing high at Goldbach time (not yet confirmed)
- Gray label below bar = Potential swing low at Goldbach time (not yet confirmed)
- Red label above bar = Confirmed swing high (bearish reversal)
- Green label below bar = Confirmed swing low (bullish reversal)
- Numbers in label = Goldbach numbers that matched time components
- Multiple numbers = Multiple time components aligned with different Goldbach numbers
Label appearance:
Labels display at exact pivot point (high for swing highs, low for swing lows). Numbers sorted descending for highs, ascending for lows. Disappears if pivot invalidated by subsequent bar exceeding the extreme.
SETTINGS EXPLAINED
Settings:
- Timezone: Choose New York or Zurich for time component calculation (chart timezone does not affect this)
- All GB/CE: Enable to use all 23 master Goldbach numbers
- GB/CE List: Disable "All GB/CE" to enter custom comma-separated list (e.g., "23,35,44,50,77")
- Text Size: Label text size (Tiny, Small, Normal, Large)
- Potential Pivot: Label color for unconfirmed pivots (default: gray)
- Confirmed Pivot: Label colors for confirmed pivots (green for bullish, red for bearish)
Timezone selection:
New York (America/New_York) = EST/EDT timezone
Zurich (Europe/Zurich) = CET/CEST timezone
Your chart's display timezone does not affect Goldbach calculations. You can view charts in any timezone while calculating Goldbach numbers in New York or Zurich time.
Custom number selection:
Enter numbers separated by commas with no spaces: 23,35,50
Invalid numbers (not in master list of 23) automatically filtered out
Minimum: 1 number, Maximum: all 23 numbers
UPDATES
This script is actively maintained. Updates released through TradingView's native update system. For technical questions, use the comment section below.
Swing Structure Bands [ChartPrime]⯁ OVERVIEW
Swing Structure Bands is a structure-based trend and reaction indicator that builds adaptive price bands directly from swing highs and swing lows.
Instead of using fixed-length moving averages, the bands dynamically adjust their length based on how long price has been forming higher highs or lower lows, allowing the indicator to naturally align with real market structure.
This makes the tool especially effective for identifying swing-based support and resistance, trend continuation zones, and exhaustion reactions.
⯁ CORE CONCEPT
The indicator continuously tracks:
The most recent swing high and swing low over a configurable swing window.
How long price has been developing since each swing point.
Dynamic moving averages whose length grows with the swing itself.
As long as price respects the current swing direction, the bands extend and adapt.
When structure breaks, the system resets and starts forming new swing-based bands.
⯁ SWING DETECTION LOGIC
A Swing High is detected when price forms a local maximum relative to the swing lookback.
A Swing Low is detected when price forms a local minimum relative to the swing lookback.
Direction flips when price transitions from forming highs to forming lows, or vice versa.
Each confirmed swing is marked on the chart, giving clear structural context.
⯁ ADAPTIVE BAND CONSTRUCTION
Upper bands are derived from swing highs.
Lower bands are derived from swing lows.
Band length dynamically increases as the swing develops.
Multiple MA types can be used (SMA, EMA, SMMA/RMA, WMA, VWMA).
ATR is applied as an offset to create upper and lower envelopes around each band, forming a volatility-aware structure channel.
⯁ VOLATILITY FILTERING
If the band moves too aggressively relative to ATR, it is temporarily disabled.
This prevents unstable or noisy bands during sudden expansions.
Bands only remain active when price structure is stable.
This logic keeps the indicator focused on meaningful swings rather than short-term spikes.
⯁ REACTION & SIGNAL LOGIC
Sell signals appear when price crosses down from the upper swing band after sufficient stabilization.
Buy signals appear when price crosses up from the lower swing band after sufficient stabilization.
Cooldown logic prevents signal clustering.
Signals are designed as structure reactions , not momentum breakouts.
⯁ VISUAL STRUCTURE CLARITY
Separate bullish and bearish bands with customizable colors.
Optional band envelopes for visual depth.
Clear swing labels marking structural turning points.
Diamond markers highlight reaction zones.
The visualization emphasizes where price reacts to structure rather than where it accelerates.
⯁ HOW TO USE
Use upper bands as dynamic resistance during bearish or corrective phases.
Use lower bands as dynamic support during bullish phases.
Combine band reactions with higher-timeframe trend direction.
Look for confirmations near bands rather than mid-range entries.
The indicator works best as a structure framework rather than a standalone signal generator.
⯁ IDEAL MARKET CONDITIONS
Trending markets with clear swing development.
Markets transitioning from impulse to correction.
Crypto, forex, indices, and liquid stocks.
⯁ CONCLUSION
Swing Structure Bands offers a structurally grounded alternative to traditional moving average channels.
By anchoring bands to real swing behavior and adapting dynamically over time, it provides traders with a clearer view of where price is reacting, pausing, or potentially reversing within the broader market structure.
StO Price Action - Panel Market Structure [Demo]Short Summary
- Market Structure indicator displayed as a dedicated panel
- Tracks and visualize HH, HL, LH, LL across up to two selectable timeframes
- Includes structure breaks, visual state changes, and alerts
Demo Restrictions
- Timeframe dropdown selections are limited
- Line style dropdown selections are limited
- Multi-timeframe functionality is removed or restricted
- Alerts are disabled or completely removed
- No code logic runs behind disabled GUI elements
Full Description
Overview
- This indicator visualizes market structure evolution in a compact panel
- It identifies and tracks Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), Lower Lows (LL)
- Designed for clean structural context without cluttering the price chart
Timeframe Logic
- Supports up to two configurable resolutions
- Each timeframe can follow chart or fixed resolution
- Separation per timeframe or global structure view
Structure Detection
- Swing points are detected using fractal logic
- Additional logic variations:
- Use Close instead of High / Low
- A/V structure interpretation
- Each swing type (HH, HL, LH, LL) can be shown or hidden individually
Broken Structure Detection
- Detects when prior structure points are invalidated
- Configurable lookback depth for break validation
- Separate color and line width controls per structure type
- Optional alerts per broken HH, HL, LH, LL
Visual Encoding
- Panel-based visualization for clear state reading
- Color-coded structure points:
- HH / HL (bullish context)
- LH / LL (bearish context)
- Bar coloring on the main chart when breaks occur
Usage
- Determining current market structure bias
- Confirming trend continuation or structural shifts
- Useful for Top-down Analysis and Break-and-retest models
Notes
- Non-repainting structure once confirmed
- Panel reflects confirmed swing logic (algorithmic detected) and not intrabar noise
- Best combined with price levels or breakout approaches
Support & Resistance Automated📌 Support and Resistance Automated (Pivot-Based)
Support and Resistance Automated is a lightweight and fully automated indicator that plots key support and resistance levels using pivot highs and pivot lows. It helps traders quickly identify important price reaction zones without manual drawing.
This indicator is especially useful for price-action traders, swing traders, and intraday traders who rely on clean charts and objective levels.
🔍 How It Works
Pivot Highs → Resistance Levels
Pivot Lows → Support Levels
Each detected pivot creates a horizontal dotted line that extends forward, allowing you to observe how price reacts over time.
Once a level is formed, it is kept permanently on the chart — no repainting, no disappearing levels.
⚙️ Customizable Settings
You can easily adjust:
Left & Right Pivot Bars – control how strong a pivot must be
Line Extension Length
Line Width
Support & Resistance Colors
Show / Hide Pivot Highs and Pivot Lows independently
This flexibility allows the indicator to adapt to intraday, swing, or higher-timeframe analysis.
✅ Key Features
✔ Fully automatic support & resistance detection
✔ Based on proven pivot-point logic
✔ No repainting
✔ Clean, minimal chart appearance
✔ Unlimited support & resistance levels
✔ Works on all timeframes & instruments
📈 Best Use Cases
Identifying key demand and supply zones
Planning entries, targets, and stop-losses
Confluence with price action, RSI, moving averages
Breakout and rejection-based strategies
A Humbled Trader Strategy + ChecklistHumbled Trader Swing Strategy + Checklist
This indicator is a complete swing trading system based on the high-probability strategies popularized by Humbled Trader. It is designed to help traders identify trend breakouts and low-risk momentum pullbacks on the Daily Timeframe.
The script combines trend filtering, automated resistance lines, and specific entry triggers into a single chart overlay, complete with a real-time Strategy Checklist Dashboard to confirm your setups instantly.
🎯 Core Components
Trend Filter (Purple Line): The 200 Simple Moving Average (SMA). This acts as your long-term trend filter. We only look for long trades when the price is above this line.
Momentum Guide (Orange Line): The 8 Exponential Moving Average (EMA). This tracks short-term momentum. In a strong trend, price will "ride" this line. We look to enter when price pulls back to touch this area.
Multi-Month Resistance (Orange Horizontal Line): Automatically plots the highest price over the last X Months (adjustable). This helps you instantly visualize the key level the stock needs to break out from.
Checklist Dashboard: A real-time table that evaluates Trend, Resistance, and Momentum conditions to give you a clear "✅ ENTER", "🚀 GAP UP", or "⏳ WAIT" signal.
🛠 How It Works
This indicator scans for two specific setups:
1. The Daily Gap Up ("GAP" Label) This signal appears when a stock shows strong momentum by gapping up overnight.
Condition: The stock opens at least 3% higher (adjustable) than the previous day's Close AND opens above the previous day's High.
Trend: Must be above the 200 SMA.
Visual: Marked with a green "GAP" label on the chart.
2. The Trend Pullback ("ENTER" Signal) This is a trend-following entry that lets you join an existing move with lower risk.
Condition: The stock is in an uptrend but dips down to touch or test the 8 EMA.
Validation: The candle must show a "dip" (red candle or lower close) to ensure we are buying a pullback, not chasing a top.
Visual: The Dashboard "Action Signal" will turn orange and display "✅ ENTER".
📋 The Checklist Dashboard
Located in the corner of your chart, this table provides a live status report for the current bar:
Trend (> 200 SMA):
🟢 Bullish: Price is in an uptrend. Safe to look for entries.
🔴 Bearish: Price is below the 200 SMA. Stay away.
Above Resistance?:
🟢 Breakout: Price has cleared the multi-month resistance line.
⚪ ---: Price is currently below the key breakout level.
Near 8 EMA?:
🟢 Yes: Price is near the "value zone" (8 EMA) for a potential pullback entry.
Action Signal:
🚀 GAP UP: Strong momentum gap detected.
✅ ENTER: Valid pullback entry detected.
⏳ WAIT: No clear setup found.
⚙️ Settings
Momentum EMA Length: Default is 8. Controls the sensitivity of the pullback line.
Trend SMA Length: Default is 200. The standard for long-term trend filtering.
Gap Up % Threshold: Default is 3.0%. Minimum overnight gap size required to trigger a signal.
Resistance Lookback (Months): Default is 3. The script will look back this many months to find and draw the key resistance line.
Table Position: Move the checklist to any corner of your screen.
⚠️ Disclaimer
This tool is for educational purposes only and does not constitute financial advice. Always manage your risk and use a stop loss.
Bar-Close Confirmed SupertrendOverview
This indicator is a Supertrend-style trend follower that confirms direction changes only after a bar closes. Trend flips are determined using the previous bar’s close relative to the bands, which helps avoid intrabar changes during live candles.
How it works
Computes ATR (Average True Range)
Builds upper/lower bands using ATR and a multiplier
Updates trend direction only when a prior candle confirms a break of the band
Confirmation logic (bar-close based)
Trend direction is updated using conditions based on the previous candle, such as:
close > upper → confirm uptrend
close < lower → confirm downtrend
Because signals are confirmed on the prior bar, trend changes and markers are displayed only when confirmation exists.
Signals
Uptrend confirmation: prior candle closes above the upper band → bullish marker
Downtrend confirmation: prior candle closes below the lower band → bearish marker
Inputs
ATR Length (default 10)
ATR Multiplier (default 3.0)
Notes
This script is intended for bar-close workflows. Behavior and responsiveness may differ across markets and timeframes depending on volatility and chosen settings.
Quality-Controlled Trend StrategyOverview
This strategy demonstrates a clean, execution-aware trend framework with fully isolated risk management.
Entry conditions and risk logic are intentionally separated so risk parameters can be adjusted without altering signal behavior.
All calculations are evaluated on confirmed bars to ensure backtest behavior reflects real-time execution.
Design intent
Many scripts mix entries and exits in ways that make results fragile or misleading.
This strategy focuses on structural clarity by enforcing:
confirmed-bar logic only
fixed and transparent risk handling
consistent indicator calculations
one position at a time
It is intended as a baseline framework rather than an optimized system.
Trading logic (high level)
Trend context
EMA 50 vs EMA 200 defines directional bias
Entry
Price alignment with EMA 50
RSI used as a momentum confirmation, not as an overbought/oversold signal
Risk management
Stop-loss based on ATR
Fixed risk–reward structure
Risk logic is isolated from entry logic
Editing risk without affecting signals
All stop-loss and take-profit calculations are handled in a dedicated block.
Users can adjust:
ATR length
stop-loss multiplier
risk–reward ratio
without modifying entry conditions.
This allows controlled experimentation while preserving signal integrity.
Usage notes
Results vary by market, timeframe, and volatility conditions.
This script is provided for testing and educational purposes and should be validated across multiple symbols and forward-tested before use in live environments.
Support and Resistance Breakout Signals [MarkitTick]💡 This indicator provides a comprehensive, automated system for identifying, tracking, and trading Support and Resistance (S/R) breakouts. By synthesizing classic Swing High and Swing Low pivot analysis with Multi-Timeframe (HTF) capabilities and Volume confirmation, it transforms raw price action into actionable structural data. It is designed to declutter charts by automatically managing active levels and highlighting significant market structure shifts (Higher Highs, Lower Lows) alongside verified breakout signals.
✨ Originality and Utility
While many indicators draw static pivot points, this tool distinguishes itself through "State Management." It treats Support and Resistance not just as historical markers, but as active zones that evolve.
Dynamic Level Management: Instead of flooding the chart with infinite lines, the script uses arrays to store a specific number of recent levels. As price action progresses, invalid or broken levels are removed or updated, keeping the analysis focused on current relevance.
Multi-Timeframe Confluence: Uniquely, it allows you to overlay higher timeframe support and resistance levels (e.g., Daily levels on a 4-hours chart) without changing your chart view, enabling top-down analysis instantly.
Market Structure Labeling: It automatically tags pivot points with Dow Theory labels (HH, LH, LL, HL), aiding traders in instantly recognizing trend direction without manual charting.
🔬 Methodology and Concepts
The script operates on three core technical pillars:
● Swing Pivot Detection
The foundation is the detection of local extrema using a "Left/Right" bar lookback mechanism. A Swing High is identified when a high is greater than the L bars preceding it and the R bars following it. This confirms a fractal peak or valley.
Note on Confirmation: Because the script waits for R bars to close to confirm a pivot, the lines appear retroactively. However, the extension of these lines and subsequent breakout signals occur in real-time.
● Breakout Logic with Volume Integration
A breakout is triggered when the Close price crosses an active S/R line.
Resistance Break: Current Close > Resistance Level (and Previous Close ≤ Level).
Support Break: Current Close < Support Level (and Previous Close ≥ Level).
Volume Confirmation: An optional filter requires the breakout bar's volume to exceed a Moving Average of volume, ensuring momentum backs the move.
● Time Decay
To mimic the reduced relevance of stale levels, the script includes a "Time Decay" feature. If a level is not interacted with for a user-defined number of bars, it is automatically purged from the system, ensuring the chart reflects only fresh interest levels.
🎨 Visual Guide
The indicator uses a specific color-coding and labeling system to convey information quickly:
● Support & Resistance Lines
Red Lines (Thin): Represent active Resistance levels on the current timeframe.
Green Lines (Thin): Represent active Support levels on the current timeframe.
Fuchsia Lines (Thick): Represent Higher Timeframe (HTF) Resistance levels.
Aqua Lines (Thick): Represent Higher Timeframe (HTF) Support levels.
● Market Structure Labels
Located at the pivot points, these text labels define the trend structure:
HH / LH: Higher High / Lower High (Red Text).
LL / HL: Lower Low / Higher Low (Green/Aqua Text).
HTF-R / HTF-S: Indicates major structural pivots from the higher timeframe.
● Breakout Signals
When a valid break occurs, a label appears above or below the bar:
Blue Triangle Up (▲): Bullish breakout through resistance.
Blue Triangle Down (▼): Bearish breakout through support.
Number in Label: Indicates the cumulative count of breaks for that specific trend sequence (e.g., "1" is the first break, "2" is the second).
The breakout count represents the intensity of the move. A reading greater than 1 signals exceptional market strength, indicating the penetration of multiple Key Levels (Support or Resistance) within a single candle.
📖 How to Use
Trend Continuation: In an uptrend (sequence of HH/HL), wait for a Blue Triangle Up (▲) occurring at a Red Resistance line. This signals the continuation of the trend.
Trend Reversal: Watch for a "Structure Break." If price is making Higher Highs, but then breaks a Green Support line (generating a ▼ signal) and forms a Lower Low (LL), the trend may be reversing.
HTF "Bounce" Plays: Use the thick Fuchsia/Aqua lines as major zones. If price approaches a thick Aqua line (HTF Support) and fails to break it, look for LTF bullish structure (HH/HL) to form for an entry.
Volume Filtering: Enable the "Volume Confirmation" setting to filter out "fakeouts" (breaks on low volume).
⚙️ Inputs and Settings
● Swing Settings
Left/Right Bars: Determines the sensitivity of the pivot detection. Higher numbers = fewer, more significant pivots.
Max Stored Levels: How many S/R lines to keep in memory at once.
Max Break Labels: Limits visual clutter by capping the number of signal labels.
● Usability & HTF
Enable Time Decay: If true, deletes lines that are older than "Decay Period" bars.
Enable HTF Levels: Toggles the display of higher timeframe pivots.
HTF Timeframe: Select the specific timeframe for the macro view (e.g., "D" for Daily).
● Analysis
Volume Confirmation: Toggles the requirement for volume to be above its average for a signal to fire.
Show Market Structure: Toggles the HH/LL text labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The script's logic is rooted in Fractal Geometry and Auction Market Theory .
● Mandelbrot's Fractals: The use of `leftBars` and `rightBars` is a direct application of identifying market fractals. Markets are self-similar across timeframes; a pivot on a 5-minute chart is structurally identical to one on a Weekly chart. This script exploits this property by allowing nested timeframe analysis (LTF inside HTF).
● Memory of Price (Behavioral Finance): Support and resistance lines represent zones where market participants have previously established value (Price Memory). The "Breakout" signal is mathematically significant because it represents a shift in the supply/demand equilibrium. When price closes beyond a stored array value (the pivot price), it signifies that the aggressive limit orders that created the pivot have been exhausted or withdrawn, validating a new search for value.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
MDZ Strategy v4.2 - Multi-factor trend strategyWhat This Strategy Does
MDZ (Momentum Divergence Zones) v4.2 is a trend-following strategy that enters long positions when multiple momentum and trend indicators align. It's designed for swing trading on higher timeframes (2H-4H) and uses ATR-based position management.
The strategy waits for strong trend confirmation before entry, requiring agreement across five different filters. This reduces trade frequency but aims to improve signal quality.
Entry Logic
A long entry triggers when ALL of the following conditions are true:
1. EMA Stack (Trend Structure)
Price > EMA 20 > EMA 50 > EMA 200
This "stacked" alignment indicates a strong established uptrend
2. RSI Filter (Momentum Window)
RSI between 45-75 (default)
Confirms momentum without entering overbought territory
3. ADX Filter (Trend Strength)
ADX > 20 (default)
Ensures the trend has sufficient strength, not a ranging market
4. MACD Confirmation
MACD line above signal line
Histogram increasing (momentum accelerating)
5. Directional Movement
+DI > -DI
Confirms bullish directional pressure
Exit Logic
Positions are managed with ATR-based levels:
ParameterDefaultDescriptionStop Loss2.5 × ATRBelow entry priceTake Profit6.0 × ATRAbove entry priceTrailing Stop2.0 × ATROptional, activates after entry
The default configuration produces a 1:2.4 risk-reward ratio.
Presets
The strategy includes optimized presets based on historical testing:
PresetTimeframeNotes1H Standard1 HourMore frequent signals2H Low DD2 HourConservative settings3H Optimized3 HourBalanced approach4H Swing4 HourWider stops for swing tradesCustomAnyFull manual control
Select "Custom" to adjust all parameters manually.
Inputs Explained
EMAs
Fast EMA (20): Short-term trend
Slow EMA (50): Medium-term trend
Trend EMA (200): Long-term trend filter
RSI
Length: Lookback period (default 14)
Min/Max: Entry window to avoid extremes
ADX
Min ADX: Minimum trend strength threshold
Risk
Stop Loss ATR: Multiplier for stop distance
Take Profit ATR: Multiplier for target distance
Trail ATR: Trailing stop distance (if enabled)
Session (Optional)
Filter entries by time of day
Recommended OFF for 3H+ timeframes
What's Displayed
Info Panel (Top Right)
Current preset
Trend status (Strong/Wait)
ADX, RSI, MACD readings
Position status
Risk-reward ratio
Stats Panel (Top Left)
Net P&L %
Total trades
Win rate
Profit factor
Maximum drawdown
Chart
EMA lines (20 blue, 50 orange, 200 purple)
Green background during strong uptrend
Triangle markers on entry signals
Important Notes
⚠️ This is a long-only strategy. It does not take short positions.
⚠️ Historical results do not guarantee future performance. Backtests show what would have happened in the past under specific conditions. Markets change, and any strategy can experience drawdowns or extended losing periods.
⚠️ Risk management is your responsibility. The default settings risk 100% of equity per trade for backtesting purposes. In live trading, appropriate position sizing based on your risk tolerance is essential.
⚠️ Slippage and commissions matter. The backtest includes 0.02% commission and 1 tick slippage, but actual execution costs vary by broker and market conditions.
Best Practices
Test on your specific market — Results vary significantly across different instruments
Use appropriate position sizing — Never risk more than you can afford to lose
Combine with your own analysis — No indicator replaces understanding market context
Paper trade first — Validate the strategy matches your trading style before risking capital
Alerts
Two alerts are available:
MDZ Long Entry: Fires when all entry conditions are met
Uptrend Started: Fires when EMA stack first aligns bullish
Methodology
This strategy is based on the principle that trend continuation has better odds than reversal when multiple timeframe momentum indicators agree. By requiring five independent confirmations, it filters out weak setups at the cost of fewer total signals.
The ATR-based exits adapt to current volatility rather than using fixed pip/point targets, which helps the strategy adjust to different market conditions.
Questions? Leave a comment below.
Weekly Swing Trading Signals - DP V1.0This script generates swing trading signals on weekly charts based on 200 SMA and RSI values.
Accumulative Swing Cloud [MarkitTick]💡This indicator presents a modernized hybrid approach to J. Welles Wilder’s classical Accumulative Swing Index (ASI). While the traditional ASI is often viewed as a simple line oscillator used to confirm price breakouts, the Accumulative Swing Cloud reconstructs this concept into a dynamic trend-following system. By smoothing the raw ASI data into multiple moving average layers, this script creates a "Cloud" structure that visualizes the strength, direction, and momentum of the swing index, effectively treating the ASI value itself as a tradeable price action entity.
● Originality and Utility
The standard Accumulative Swing Index is a powerful tool for seeing through the "noise" of open, high, low, and close prices to find the real trend. However, looking at a raw ASI line can be jagged and difficult to interpret for sustained trends. This script innovates by applying "Cloud Dynamics" to the ASI. It calculates three distinct moving averages (Fast, Mid, and Slow) of the ASI value itself. The area between the Fast and Slow averages is filled with a dynamic gradient color. This allows traders to not only see the trend direction (Bullish or Bearish) but also gauge the volatility and strength of the move based on the expansion or contraction of the cloud's width. Additionally, this version introduces an optional Volume Integration feature, allowing the Swing Index calculations to be weighted by relative volume, giving more significance to moves backed by high market participation.
● Methodology and Calculations
The core of this indicator relies on the Swing Index calculation. It compares the current bar's Open, High, Low, and Close against the previous bar's values to derive a variable "R" (a measure of the market's range).
The script determines the largest price movement (K) among the High-Close, Low-Close, and High-Low ranges.
It calculates the "R" value based on the relationship between the daily range and the gap between the prior close and current open.
A Swing Index (SI) value is derived using the Limit Move value (T), the defined Multiplier, and the calculated R and K values.
This SI is accumulated into a running total (ASI State).
If Volume Integration is enabled, the SI is multiplied by a Volume Factor (Current Volume divided by Average Volume), capped at 3.0 to prevent outlier distortion.
● Visual Guide
The indicator plots several key visual elements on the chart:
Cloud Fast (Green Line): Represents the shorter-term moving average of the Accumulative Swing Index.
Cloud Slow (Red Line): Represents the longer-term moving average.
Cloud Fill (Gradient Area): The space between the Fast and Slow lines.
Green Gradient: Indicates the Fast MA is above the Slow MA (Bullish Trend).
Red Gradient: Indicates the Fast MA is below the Slow MA (Bearish Trend).
Gradient Intensity: The opacity of the color scales dynamically based on the width of the cloud relative to its recent historical maximum. A wider cloud (stronger trend/higher volatility) appears more solid, while a narrow cloud appears more transparent.
ASI Line (Color-Coded Line): The thick line represents the current raw Accumulative Swing Index value. It changes color (Green/Red) based on its position relative to the Signal Line.
Signal Line (Gray Line): A Simple Moving Average of the ASI Line, acting as a trigger for immediate reversals.
Bar Coloring: The main price candles are colored to match the current state of the Cloud (Green for Bullish Cloud, Red for Bearish Cloud).
● How to Use
Trend Identification: Use the Cloud color to determine the primary trend. A Green Cloud suggests an uptrending market structure, while a Red Cloud suggests a downtrend.
Entry Signals: Traders often look for the "ASI Line" to cross the "Signal Line" in the direction of the Cloud. For example, if the Cloud is Green, a crossover of the ASI Line above the Signal Line is a bullish confirmation.
Cloud Crossovers: A crossover of the Fast and Slow Cloud lines represents a major structural shift in the Accumulative Swing Index trend.
Volatility Filter: Pay attention to the gradient intensity. A very narrow (transparent) cloud indicates low momentum or consolidation, while a widening (solid) cloud indicates expanding momentum.
● Inputs and Settings
ASI Core Engine: Configure the Daily Limit (T) and Multiplier to tune the sensitivity of the Swing Index calculation.
Volume Integration: Toggle "Weight ASI by Volume" to factor in volume spikes. Adjust "Volume Avg Length" to define the baseline volume.
Cloud Dynamics: Choose the Moving Average type (EMA, SMA, RMA, WMA) and set the Fast, Mid, and Slow lengths to customize the cloud's reactivity.
Visual Enhancements: Toggle "Color Candles by Cloud Width" to apply the gradient coloring directly to the price bars.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
Swing Structure Map - SZ Alpha🔓 Why this is free
Swing Structure Map · SZ Alpha
is designed as market structure infrastructure,
not as a trading strategy.
Swing High / Swing Low
are the shared language behind most technical systems.
They describe structure, not decisions.
That’s why this module is released free, by design.
If you can’t see structure clearly,
every “signal” becomes noise.
🧭 How you can use it
Use it as a standalone market structure map
Combine it with your own strategy or framework
For context and validation, not decision replacement
🚫 What you won’t find here
❌ Buy / sell recommendations
❌ Win-rate or performance claims
❌ Emotional or opinion-driven conclusions
This is not a tool that tells you what to do,
but one that helps you see what the market is doing.
-----------------------------------------------------------------
🔓 为什么这是免费的
Swing Structure Map · SZ Alpha
被设计为结构基础设施,而不是交易策略。
Swing High / Swing Low(波段高低点)
是所有技术分析与交易系统的共同语言。
它们描述的是市场结构,而不是买卖答案。
因此,这一部分选择永久免费公开。
如果连结构都看不清,那任何“信号”,都只是噪音。
🧭 你可以如何使用
作为独立的市场结构地图
搭配你自己的交易系统或判断逻辑
用于验证认知,而不是替代决策
🚫 你不会在这里看到
❌ 买卖建议
❌ 胜率或收益承诺
❌ 情绪化或主观结论
这不是一个“告诉你该做什么”的工具,
而是一个让你看清市场正在做什么的工具。
Free structure.
Decisions remain yours.
— SZ Alpha
NHadou-solo# NHadou-solo — Candle-based Wave Structure Indicator
NHadou-solo is a wave-structure visualization indicator that draws swing lines based on
candle-by-candle price behavior. Unlike typical ZigZag-style indicators that rely on a fixed
percentage threshold to determine swing points, NHadou-solo uses a unique algorithm that
evaluates the relationship between consecutive candles to identify trend continuation and
reversal.
This approach produces wave structures that differ from ZigZag logic and provides a more
granular view of how price swings evolve in real time.
---
## ■ Core Logic (Conceptual Overview)
### ● Unique Algorithm (Different from ZigZag)
- Instead of using percentage-based price deviation, the indicator directly compares the
highs and lows of consecutive candles to determine swing direction.
### ● Candle-by-Candle Reversal Detection
- During an up wave: the wave continues until a candle prints a lower low than the previous low.
- During a down wave: the wave continues until a candle prints a higher high than the previous high.
### ● Handling Inside Bars (Harami)
- When price forms an inside bar, the direction is not confirmed.
- The indicator waits for a breakout before drawing the next segment, reducing noise.
### ● Provisional (Unconfirmed) Wave Lines
- When a potential reversal or a break of a key high/low occurs, a provisional line is drawn.
- This helps visualize possible turning points before they are fully confirmed.
---
## ■ How to Use
- The wave lines represent the current swing direction and potential reversal zones.
- Provisional lines indicate early signs of momentum change.
- Useful for identifying trend continuation, reversals, and swing structure in both trending
and ranging markets.
---
## ■ Notes
- This indicator is provided for educational purposes only and does not constitute financial advice.
----------
NHadou-solo は、ローソク足ごとの価格構造をもとに波動線を描画する、独自ロジックの波動可視化インジケータです。
一般的な ZigZag 系インジケータは、一定の価格変動率 を基準に転換点を描画しますが、
NHadou-solo はローソク足の前後関係を直接比較して波動転換を判定するため、
ZigZag とは異なるアルゴリズムで波動構造を抽出します。
---
## ■ ロジック概要(概念レベル)
### ● ZigZag とは異なる独自アルゴリズム
- 価格変動率ではなく、ローソク足の高値・安値の更新状況を直接比較して判定します。
### ● ローソク足ごとの転換点判定
- 上昇中:安値が前回安値を下回るまで上昇波を継続
- 下降中:高値が前回高値を上回るまで下降波を継続
### ● 含み足・はらみ足の処理
- 方向が確定するまで波を描画せず、ノイズを抑えた波動構造を形成します。
### ● 未確定足(仮線)
- 反転の可能性がある場面や主要高値・安値のブレイク時には仮線を描画し、
波動の“候補”を視覚的に把握できるようにしています。
---
## ■ 使い方
- 波動線は現在の方向性と転換候補を視覚化します。
- 仮線は「反転の可能性」を示すため、確定波との違いを見ながら判断します。
- トレンドの継続・転換、押し目・戻り目の把握に活用できます。
---
## ■ 注意事項
- 本インジケータは教育目的で提供されており、特定の売買を推奨するものではありません。
Swings P1 / P2 / P3Swing detection via ta.pivothigh/ta.pivotlow (len/len), so labels appear after pivot confirmation (len bars). P2 = swing high, P3 = swing low, P1 marks the prior pivot at trend transition (HH/HL → up, LL/LH → down). Optional ATR minimum leg-length filter.
ATR Reversal Wick ZigZag, Swing P2-P3 LabelsThis indicator plots a wick-based ZigZag where swing points are confirmed by a minimum counter-move (ATR multiple) and a minimum number of bars between swings. Confirmed swing highs are labeled P2, swing lows P3. Optional IDs, labels, and a trend-colored ZigZag line.
Wick-based ZigZag (High/Low wicks)
Swing confirmation via ATR reversal threshold + minimum bars between swings
Labels: P2 = confirmed swing high, P3 = confirmed swing low (optional IDs)
Optional ZigZag line colored by simple HH/HL vs LL/LH trend state
Note: potential swings can move until confirmed






















