LT_Ind_SRZones

13/10/2025
Desktop
SinceΒ 25/09/2024
Sales
16


LT_Ind_SRZones detects swing highs/lows, merges nearby swings into Support/Resistance zones, and keeps your chart focused on the most relevant levels around current price.
What it draws
- Zones: shaded bands built from merged swings
 - Swing High/Low points
 - ZigZag path for quick structure reading
 
Key Controls
- AutoPercentageMove (bool) + AutoPercentageMoveFactor (double)
Auto-tunes swing sensitivity. Turn off to use PercentageMove manually. - PercentageMove (double)
Minimum move (as %) to form a swing when Auto is off. - ZoneSizeFactor (double)
Zone height =ZoneSizeFactor Γ ATR. - NumSREach (int)
How many top zones to keep above and below current price. - ValidBars (int)
Ignore swings older than this many bars. - Color / Show styles
Zone fill color (with alpha), Swing/ZZ styles. 
Ordering & Filter Logic (how zones are chosen)
- Collect swings from most recent backwards, only permanent ones and not older than 
ValidBars. - Count swings above and below current price (including those whose value falls inside half a zone). Stop when both sides reach 
NumSREach. - Fallback: if a side has no eligible swing, add one older swing for that side.
 - Merge: for each entitled swing, either merge into an existing zone (
CanMerge) or create a new zone. - Rank & pick:
 - Above price: sort zones by (High β price) ascending, then by MostRecentIndex descending; take 
NumSREach. - Below price: sort by (price β Low) ascending, then by MostRecentIndex descending; take 
NumSREach. - Union the two lists β final zones shown.
 
- Above price: sort zones by (High β price) ascending, then by MostRecentIndex descending; take 
 
This keeps the display clean, nearby, and recent, while still handling edge cases.
Defaults
- AutoPercentageMove = true, AutoPercentageMoveFactor = 4
 - PercentageMove = 1.0 (used when Auto = false)
 - NumSREach = 1
 - ValidBars = 240
 - ZoneSizeFactor = 0.5 (zone height = 0.5 Γ ATR)
 - Zone Color = #21FF33E0 (semi-transparent)
 - Swing High = #FFFF999A, Swing Low = #FF99DFF9, ZigZag = Blue (Dots)
 
Use Cases
- Mark nearby S/R zones for entries, partials, or stops
 - Watch zone flips (support β resistance and vice versa)
 - Combine with VWAP/Pivots for confluence
 
Works on any symbol and timeframe. Lightweight and ready for live trading or backtests.
0.0
Reviews: 0
Customer reviews
No reviews for this product yet. Already tried it? Be the first to tell others!
More from this author
You may also like

















!["[CB] Pivot Points Pro" logo](https://market-prod-23f4d22-e289.s3.amazonaws.com/8227035a-1386-44e8-8335-c56ee434a8fd_ctrader-pivot-point-indi.png)







