Support & Resistance Zones [HexaTrades]
This indicator automatically finds the price levels where the market has turned around before the places where buyers stepped in (support) and where sellers took over (resistance) and draws them as clean rectangular zones on your chart.
Instead of a thin line, each level is drawn as a zone with real thickness, because support and resistance are never one exact price; they are areas where price reacts. The zones update live, extend forward as long as they are valid, and turn into light "ghost" boxes once price finally breaks through them, so you always keep the full picture of the market's history.
Bitcoin 4h: the indicator marking support and resistance zones
How it works
- Finds swing points. A swing high is a candle whose high is higher than the 10 candles on each side of it (the "Swing Length" setting). A swing low is the same idea upside down. These are the exact spots where the market turned.
- Builds a zone from the candle. The zone covers the candle's wick from the extreme tip to the candle body. That wick is where orders actually pushed price back, so it becomes the zone.
- Keeps zone size sensible. Very small wicks get padded to a minimum height, and no zone can grow taller than a maximum height (both measured in ATR, so they adapt automatically to each market's volatility).
- Merges duplicate levels. If a new swing forms at a level that already has a zone, the two are combined into one box instead of stacking clutter on your chart.
- Watches for breaks. When a candle closes beyond a zone, the zone is "broken." what happens next is up to you (see below).
What happens after a zone breaks?
The indicator provides three different zone-management options.
Keep As Past Zone: The broken zone stops extending and remains visible as a faded historical zone. This makes it easier to review how price behaved around previous levels.
Flip Support/Resistance: A broken resistance zone becomes support, while a broken support zone becomes resistance.
This is useful for studying the common market concept of role reversal, where old resistance may act as new support and old support may act as new resistance.
Delete Zone: The zone is completely removed after it breaks. This option is useful for traders who prefer a cleaner chart showing only active zones.
Optional volume filter:
Volume-Confirmed Zones Only can be enabled to filter out lower-volume swing points.
When enabled, the volume of the swing candle must be higher than: Average Volume × Volume Multiplier
For example, with a Volume Multiplier of 1.2, the swing candle’s volume must be greater than 120% of its average volume.
The volume filter is automatically ignored when volume data is unavailable. Volume quality can vary between markets, exchanges and brokers.
Indicator settings
- Swing Length: Controls how significant a swing must be. Lower values create more zones, while higher values create fewer but potentially more significant zones.
- Maximum Zones: Limits the number of active zones displayed. When the limit is exceeded, the oldest active zone is removed.
- ATR Length: Sets the calculation period used to measure volatility.
- Minimum Zone Height: Sets the minimum zone thickness as a multiple of ATR.
- Maximum Zone Height: Prevents zones from becoming excessively wide.
- Merge Overlapping Zones: Combines overlapping or nearby active zones.
- Merge Distance: Controls the ATR-based distance used when deciding whether zones should be merged.
- Maximum Past Zones: Limits how many broken historical zones remain on the chart.
- Past Zone Transparency: Controls how clearly broken zones are displayed.
Alerts
- Built-in alerts
- Zone Touched — price entered a support or resistance zone.
- Resistance Broken — a candle broke above a resistance zone.
- Support Broken — a candle broke a support zone below.
- Set them up from PulseWire's alert dialog: Create Alert → Condition → S/R Zones.
How to use it in trading
🔶Bounce trades: when price falls into a support zone and prints a rejection candle, that's a long setup with a stop just below the zone.
A blue support zone represents an area where buyers previously entered the market.
When price returns to support:
- Wait for price to enter or test the zone.
- Look for evidence that buyers are responding.
- Consider an entry only after confirmation.
- Place the stop beyond the opposite side of the zone, with an appropriate buffer.
- Use the next resistance zone as a possible target.
Possible bullish confirmation includes:
- A candle rejecting the lower part of the zone.
- A long lower wick followed by a bullish close.
- A bullish engulfing candle.
- Price closing back above the support zone.
- Increasing volume during the reaction.
- A higher low forming near the zone.
A support touch by itself is not a long signal. Price can move directly through the zone, especially during a strong downtrend.
Example image below:
🔶Rejection from resistance
A pink resistance zone represents an area where sellers previously entered the market.
When price reaches resistance:
- Wait for price to test the zone.
- Look for signs of selling pressure.
- Consider an entry only after bearish confirmation.
- Place the stop beyond the upper edge of the zone, with a suitable buffer.
- Use the next support zone below as a possible target.
Possible bearish confirmation includes:
- A long upper wick inside the resistance zone.
- A bearish engulfing candle.
- Price entering the zone and closing back below it.
- A lower high forming near resistance.
- Increasing selling volume during the rejection.
A resistance touch alone is not a short signal. Strong bullish momentum can break through resistance without producing a meaningful reversal.
Example image:
🔶Trading a breakout
A breakout occurs when price moves beyond an active zone.
- A break above resistance may indicate increasing bullish strength.
- A break below support may indicate increasing bearish strength.
For more conservative confirmation, select Close under Break Confirmation. In this mode, a resistance zone breaks only after a candle closes above it, while a support zone breaks only after a candle closes below it.
The Wick option reacts as soon as price trades beyond the zone. It responds faster but is more sensitive to temporary spikes and false breakouts.
Before considering a breakout trade, traders may look for:
- A strong candle closing beyond the zone.
- A candle body that closes clearly outside the zone.
- Higher-than-average volume.
- Momentum in the breakout direction.
- Alignment with the broader market trend.
- A successful retest of the broken zone.
🔶Trading a role reversal
Support and resistance can sometimes exchange roles after a breakout.
-Broken resistance may later act as support.
- Broken support may later act as resistance.
Select Flip Support/Resistance under the When Broken setting to display this behaviour automatically.
For example, after price closes above a pink resistance zone, the indicator converts that area into a blue support zone. If price later returns to it, traders can watch for a bullish reaction.
Similarly, when price breaks below blue support, the indicator converts the zone into pink resistance. A later retest may provide an area to watch for bearish confirmation.
Role reversal is a commonly observed price-action concept, but it does not occur successfully after every breakout. Wait for confirmation instead of entering only because price has returned to a flipped zone.
🔶Using zones for targets and stops
Zones can also help organise trade management.
For a long setup:
- A stop may be placed below the support zone.
- The next resistance zone may be used as an initial target.
- A higher resistance zone may be considered as a secondary target if momentum remains strong.
For a short setup:
- A stop may be placed above the resistance zone.
- The next support zone may be used as an initial target.
- A lower support zone may be considered as a secondary target.
Avoid placing the stop exactly on the edge of a zone. Price may briefly move beyond the boundary before reacting. The appropriate buffer depends on the symbol, timeframe, volatility and the trader’s risk plan.
Always calculate the potential risk and reward before entering a trade. A visible zone does not automatically make a setup worth taking.
🔶 Using multiple timeframes
Higher-timeframe zones can provide broader market context, while lower timeframes can help refine entries.
A simple process is:
- Identify important support and resistance on a higher timeframe.
- Determine whether the broader structure is bullish, bearish or ranging.
- Move to the preferred trading timeframe.
- Wait for price to reach a relevant zone.
- Use candle structure, volume or momentum for confirmation.
Higher timeframes generally produce fewer but more widely watched zones. Lower timeframes produce more zones and may contain more market noise.
Support and Resistance Zones help traders identify and manage important price areas with less chart clutter. Its volatility-based sizing, zone merging, break confirmation, role reversal, and alerts make it suitable for different markets and timeframes. Use the zones as areas to watch—not automatic trade signals and always combine them with price confirmation, broader market structure and proper risk management.
We would love to hear your suggestions. If you have ideas for new features, indicators, analytics, or improvements, please share your feedback. Your input helps guide future updates and improve the indicator for all traders.
Wedge pattern detector indicator is for educational and analytical purposes only. It is not financial advice. Trading involves risk. Always use proper risk management and combine this indicator with your own analysis before taking any trade.
Indicator

Hybrid Breakout | VCP-Inspired TrendTrend Squeeze Breakout
Trend Squeeze Breakout is a trend-following momentum strategy designed to identify stocks in strong established uptrends that are consolidating into relatively tight trading ranges before attempting a breakout.
The strategy combines a simplified Minervini-style trend template, volatility contraction, volume confirmation, and stop-entry breakout execution. It is designed primarily for swing trading and is intended to participate in strong upward price expansions while filtering out many breakouts occurring in weak or declining trends.
Strategy Explanation
The strategy follows a simple sequence:
Identify a strong uptrend
A long setup requires:
Price above the 50-period SMA
50 SMA above the 150 SMA
150 SMA above the 200 SMA
200 SMA rising
200 SMA continuing to rise over the selected lookback period
50 SMA not declining
This establishes that the stock is already in a structurally bullish environment before considering an entry.
Identify a volatility contraction
The strategy looks for periods where recent price movement has become unusually tight.
It evaluates both:
Recent high-low range
Recent closing-price range
The high-low range is also compared with its historical percentile over the selected lookback period. This allows the strategy to identify relatively quiet consolidation periods rather than relying on a fixed volatility threshold alone.
Confirm volume
When the volume filter is enabled, breakout volume must exceed the moving-average volume baseline by the selected multiplier.
The default requirement is:
Volume > 20-period average volume × 1.2
This is intended to provide additional confirmation that the breakout is supported by meaningful participation.
Enter on a breakout
When the trend, contraction, and volume conditions are satisfied, the strategy places a stop-entry order above the recent high.
The default breakout lookback is 3 bars, allowing the strategy to attempt to enter as price moves through the recent consolidation high rather than simply buying while the stock remains inside the range.
Manage the position
Positions use tiered profit-taking:
25% closed at +10%
50% closed at +20%
Remaining position closed at +30%
Default stop loss at -8%
This allows the strategy to realize some profits during the initial move while maintaining exposure to larger momentum extensions.
Features
Trend Filter — 50/150/200 SMA bullish alignment
Long-Term Trend Confirmation — Requires the 200 SMA to be rising
Volatility Squeeze Detection — Identifies unusually tight recent ranges
Range Percentile Filter — Compares current volatility with historical volatility
Close-Range Filter — Detects tight price consolidation
Volume Confirmation — Optional volume expansion requirement
Stop-Entry Breakout — Enters only when price breaks the recent high
Tiered Profit Taking — Three configurable profit targets
Percentage-Based Stop Loss — Adjustable downside protection
Date Filter — Allows users to restrict backtests to a specific period
Configurable Parameters — Trend, volatility, volume, breakout, and risk settings can all be adjusted
Tips for Use
Use on liquid stocks
The strategy is generally better suited to liquid stocks and ETFs with sufficient trading volume. Extremely illiquid securities can produce unrealistic backtest results because of spreads and execution differences.
Start with daily charts
The strategy is particularly suited to identifying multi-day or multi-week momentum breakouts. Daily charts are a good starting point when evaluating the strategy.
Avoid optimizing every parameter
The many adjustable parameters make it possible to overfit the strategy to a particular stock or historical period. Test parameter changes across multiple securities and different market environments rather than optimizing exclusively for one chart.
Treat the volume filter as confirmation, not a guarantee
High volume can strengthen a breakout signal, but it does not guarantee that the breakout will succeed.
Test across different market conditions
Trend-following breakout systems typically perform differently during strong bull markets, corrections, sideways markets, and high-volatility periods. Evaluate results across multiple market regimes before relying on the strategy.
Pay attention to execution
The strategy uses stop-entry orders above recent highs. In live trading, gaps, slippage, spreads, and intrabar price movement can cause actual execution prices to differ from backtested results.
Important Note
This strategy is inspired by trend-template and volatility-contraction concepts, but it is not a complete implementation of a textbook VCP. It uses a simplified statistical contraction model rather than explicitly identifying multiple successive contractions, contraction depths, and their associated volume characteristics.
Backtest results are hypothetical and do not guarantee future performance. Always consider commissions, slippage, liquidity, position sizing, and market conditions when evaluating a strategy.
Recommended starting configuration: Daily timeframe, liquid stocks, default trend filter, volume confirmation enabled, and the default tiered risk-management settings.
Strategy

BIST30 to SP 500 ATR Momentum RiderBIST30 to S&P 500 — ATR Momentum Rider
BIST30 to S&P 500 — ATR Momentum Rider is a long-only daily strategy built to test a compact and auditable trend-following structure across index futures.
The name describes the research scope—from BIST30 to S&P 500 and other major index futures. It does not mean that the public parameters were optimized on BIST30. Parameter selection used Mini-DAX, E-mini S&P 500, E-mini Russell 2000, EURO STOXX 50, and Nikkei 225 Mini futures. Turkish index futures were kept outside parameter selection and used only as transferability stress tests.
Entry logic
The raw SET event occurs when HMA 8 > HMA 9 > HMA 20 becomes true for the first time. On that same daily close, the strategy calculates the three-day HMA20 slope in ATR units:
(HMA20 - HMA20 ) / (3 × ATR14)
The setup is accepted only when this value is at least -0.180 ATR per day. The threshold does not require a rising HMA20; it permits a mild decline and rejects setups where the slow trend is deteriorating more sharply. The filter is evaluated only on the first establishment of the HMA order. A rejected setup does not enter later inside the same uninterrupted regime.
An accepted setup creates a market order for the next available session open. The decision uses only values known at the daily close.
Exit logic
The strategy has one public exit stage:
K1-A: activation threshold. Maximum favorable excursion is divided by the ATR value known when the entry order is created. Default: 1.50 ATR.
K1-T: trail distance from the highest high observed during the campaign. Default: 5.75%.
K1-W: minimum waiting interval before a K1 close decision can act. Default: 4 sessions.
Once K1 is active, its absolute trail can only rise. An activation reached on the current bar becomes actionable from the next bar, so the activation bar cannot stop itself retroactively. A daily close at or below the active K1 line creates a market exit for the next available open. If a fresh accepted SET appears while a position is open, the campaign is refreshed at the next open.
Research process and held-out results
The K1 values were selected on January 2020–December 2023 data using equal-weight, percentage-normalized metrics across the five international contracts. Keeping the K1 engine fixed, the three-day slope threshold was then scanned from -0.400 to +0.050 ATR/day in 0.001 steps on the same development interval. The exact PF-priority plateau peak was -0.176; the operational value was rounded and locked at -0.180 to avoid publishing a fragile, over-precise threshold.
January 2024–July 2026 was not used to select the slope threshold. In this held-out interval:
Raw setups: 153
Accepted setups/trades: 102 (33.3% reduction)
Positive international instruments: 5 of 5
Median profit factor: 3.46 versus 1.94 without the slope filter
Median normalized net return: 39.3% versus 37.9% without the slope filter
Median return/max-drawdown ratio: 2.32 versus 2.16 without the slope filter
These figures use one adverse minimum tick per market fill and no commission, tax, funding, or roll cost. They are historical research results, not a forecast.
The held-out BIST stress test remained weak: the three Turkish contracts had a median profit factor of 0.77 with the slope filter. Therefore, this public version is better viewed as an international index-futures research strategy. It is not a replacement for a dedicated BIST30 live system.
Use the strategy on standard daily candles. Review each symbol's contract multiplier, session, continuous-contract construction, commissions, roll costs, and margin settings before interpreting Strategy Tester results. Changing the HMA, ATR, K1, or execution settings creates a different, unvalidated configuration.
This script is a research and educational tool, not investment advice. Past performance does not guarantee future results.
BIST30 to S&P 500 — ATR Momentum Rider
HMA 8/9/20 kuruluşunu, sabit ATR-normalize HMA20 eğim filtresini ve yalnız yukarı taşınan tek tepe trailini birleştiren açık kaynak, long yönlü günlük strateji.
BIST30 to S&P 500 — ATR Momentum Rider, farklı endeks vadelilerinde sade ve denetlenebilir bir trend takip yapısını sınamak amacıyla hazırlanmış, yalnız long çalışan günlük bir stratejidir.
İsim, araştırmanın BIST30'dan S&P 500'e ve diğer büyük endeks vadelilerine uzanan kapsamını anlatır. Açık kaynak parametrelerinin BIST30 üzerinde optimize edildiği anlamına gelmez. Parametre seçiminde Mini-DAX, E-mini S&P 500, E-mini Russell 2000, EURO STOXX 50 ve Nikkei 225 Mini vadeli kontratları kullanılmıştır. Türkiye endeks vadelileri parametre seçiminin dışında tutulmuş ve yalnız taşınabilirlik stres testi olarak değerlendirilmiştir.
Giriş mantığı
Ham SET olayı, HMA 8 > HMA 9 > HMA 20 sıralamasının ilk kez oluştuğu günlük kapanışta doğar. Strateji aynı kapanışta HMA20'nin üç günlük eğimini ATR cinsinden hesaplar:
(HMA20 - HMA20 ) / (3 × ATR14)
Kuruluş yalnız bu değer -0,180 ATR/gün veya daha yüksekse kabul edilir. Eşik HMA20'nin mutlaka yükselmesini istemez; hafif gerilemeye izin verir, yavaş trendin daha belirgin bozulduğu kuruluşları eler. Filtre yalnız HMA sıralamasının ilk kuruluşunda değerlendirilir. Reddedilen kuruluş, aynı kesintisiz rejimin sonraki günlerinde gecikmeli girişe dönüşmez.
Kabul edilen kuruluş, sonraki uygun seans açılışı için piyasa emri oluşturur. Karar yalnız günlük kapanışta bilinen değerlerle verilir.
Çıkış mantığı
Stratejide tek bir açık kaynak çıkış katmanı vardır:
K1-A: aktivasyon eşiği. Azami olumlu hareket, giriş emri oluşturulurken bilinen ATR değerine bölünür. Varsayılan: 1,50 ATR.
K1-T: kampanya boyunca görülen en yüksek fiyattan itibaren trail mesafesi. Varsayılan: %5,75.
K1-W: K1 kapanış kararının uygulanabilmesi için gereken asgari bekleme süresi. Varsayılan: 4 seans.
K1 aktif olduktan sonra mutlak trail seviyesi yalnız yukarı hareket eder. Bir barda ulaşılan aktivasyon eşiği sonraki bardan itibaren uygulanabilir; aktivasyon barı geriye dönük biçimde kendi kendisini durduramaz. Günlük kapanış aktif K1 çizgisinde veya altında gerçekleşirse sonraki uygun açılış için piyasa çıkışı oluşturulur. Pozisyon açıkken yeni ve kabul edilmiş bir SET doğarsa kampanya sonraki açılışta yenilenir.
Araştırma süreci ve ayrılmış dönem sonuçları
K1 değerleri Ocak 2020–Aralık 2023 döneminde beş yabancı kontrat üzerinde; endeksler eşit ağırlıklı ve fiyat ölçekleri yüzdeyle normalize edilerek seçildi. K1 motoru sabit tutulduktan sonra üç günlük eğim eşiği aynı geliştirme döneminde -0,400 ile +0,050 ATR/gün arasında 0,001 adımla tarandı. PF öncelikli platonun matematiksel tepe noktası -0,176 oldu; aşırı hassas bir değer yayımlamamak için operasyonel eşik -0,180 olarak yuvarlanıp sabitlendi.
Ocak 2024–Temmuz 2026 dönemi eğim eşiğinin seçiminde kullanılmadı. Bu ayrılmış dönemde:
Ham kuruluş: 153
Kabul edilen kuruluş/işlem: 102 (%33,3 azalış)
Pozitif yabancı endeks: 5/5
Medyan profit factor: eğim filtresi olmadan 1,94, filtreyle 3,46
Medyan normalize net getiri: filtresiz %37,9, filtreyle %39,3
Medyan getiri/azami düşüş oranı: filtresiz 2,16, filtreyle 2,32
Bu rakamlar her piyasa dolumunda bir minimum fiyat adımı ters slippage içerir; komisyon, vergi, fonlama ve vade geçiş maliyeti içermez. Tarihsel araştırma sonucudur, gelecek tahmini değildir.
BIST stres testi zayıf kalmıştır: eğim filtresiyle üç Türkiye kontratının medyan profit factor değeri 0,77 olmuştur. Bu nedenle açık kaynak sürümü yabancı endeks vadelileri için bir araştırma stratejisi olarak değerlendirmek daha doğrudur; özel BIST30 canlı motorunun yerine geçmez.
Stratejiyi standart günlük mumlarda kullanın. Strategy Tester sonucunu yorumlamadan önce sembolün kontrat çarpanını, seansını, sürekli-vade oluşturma yöntemini, komisyonunu, vade geçiş maliyetini ve teminat ayarlarını kontrol edin. HMA, ATR, K1 veya emir yürütme ayarlarını değiştirmek doğrulanmamış farklı bir model oluşturur.
Bu kod araştırma ve eğitim amaçlıdır; yatırım tavsiyesi değildir. Geçmiş performans gelecekteki sonuçları garanti etmez. Strategy

SMA 10/20 Cross & TrailTwo SMAs with crossover and trail-break signals, plus ATR context that tells you whether a signal is a real trend turn or just two lines grinding together.
Most 10/20 moving-average tools give you a cross and nothing else. The
problem is that a cross tells you a regime already changed — by then price
has been below the fast MA for a while — and it gives you no way to tell a
decisive turn apart from two lines chopping around each other in a range.
This script addresses both.
WHAT IT PLOTS
- Two configurable MAs (default SMA 10 and SMA 20; SMA/EMA/WMA/RMA available)
- Shaded fill between them, tinted by which side the fast MA is on, so
regime state is readable at a glance without hunting for the last marker
- Cross markers when the fast MA crosses the slow MA
- Trail-break markers when PRICE closes through either MA — the earlier
warning, and the signal that actually matches how a moving average gets
used as a trailing stop. X = fast MA, circle = slow MA.
- A corner table showing current MA separation in ATR, the regime state
(ENTANGLED / SEPARATING / TRENDING), the strength of the last completed
leg, and where price sits relative to each MA in ATR terms
THE ATR LAYER
Every cross is labelled with how far apart the MAs got during the leg that
just ended, measured in ATR. A cross printing 1.20x means the averages
genuinely separated and have now reversed. A cross printing 0.15x means they
never separated at all and you are looking at noise. Same marker either way —
the number is what tells them apart. Thresholds are user-configurable.
NO REPAINTING
"Confirm on bar close" is on by default: a signal must survive to the bar's
close before it counts, so live and historical markers agree. Turn it off
only if you want intrabar triggers and accept that a signal can disappear.
ALERTS
Seven named conditions — bullish cross, bearish cross, either cross, and
close above/below each MA. Optional rich alert() mode embeds the live ATR
numbers in the message text.
USAGE NOTES
The right setting depends on hold length and volatility, not asset class.
For low-beta instruments and longer holds, use the slow-MA trail and treat
the crosses as primary. For high-beta names and short holds, use the fast-MA
trail and expect the crosses to arrive late. Save each as an indicator
template rather than maintaining two copies of the script.
No external symbols or request.security() calls — it reads the chart symbol
only. Indicator

Strategy

VASA Position Size & ATR Stop vFMost blown accounts come down to one thing: size, not signal. This tool does the math the pros do before every trade. Tell it your account size and how much you're willing to risk on the trade (1% is a sane default), and it places a stop a set number of ATRs away, then tells you exactly how many units that risk budget allows.
What it does: • ATR-based stop distance, long or short • Position size from your account size and risk % • On-chart table: entry, stop, stop distance, dollar risk, units • Entry and stop lines drawn on the chart • No signals, nothing to repaint — it's a calculator
How to use: set your account size and risk % once. Pick your entry (defaults to the current close, or type one in). Read the position size off the table and use it. The idea is boring on purpose — fixed fractional risk is how you survive a losing streak long enough for your edge to show up. Plan from a closed bar so the ATR reading is settled.
Educational only — not financial advice. Position sizing does not remove market risk. Trading involves substantial risk of loss.
Indicator

ATR & Bar Range Stop Dashboard
# Title
**ATR & Bar Range Stop Dashboard**
## About this script
**ATR & Bar Range Stop Dashboard** is a volatility-based trade-planning tool designed to provide a quick estimate of reasonable stop-loss distance based on the current market's recent price movement.
Rather than using an arbitrary fixed stop distance, the indicator measures recent volatility using either:
* **Average True Range (ATR)**, or
* **Average Bar Range (High − Low)**
and calculates hypothetical long and short stop prices around the current market price or an optional manually entered reference price.
The purpose of the indicator is not to generate entries or trading signals. It is intended to provide a **volatility reference for stop placement and trade planning**.
A structural stop should still be based on the price level at which the trade thesis becomes invalid. This tool can then be used to evaluate whether that structural stop is unusually tight or wide relative to recent market volatility.
---
## How it works
The script calculates two measures of recent price movement:
**Average Bar Range**
This is the simple average of each candle's:
`High - Low`
over the selected lookback period.
The default lookback is **20 completed bars**.
**Average True Range**
ATR measures True Range over the selected ATR lookback period.
The default is:
`ATR(14)`
The script uses **completed bars for the volatility calculations** so the baseline is not continually distorted by the currently developing candle.
The user can select either **ATR** or **Bar Range** as the basis for the calculated Average Stop.
The basic stop distance is:
`Average Stop = Selected Volatility Measure × Stop Multiplier`
The default multiplier is **1.0x**.
---
## Stop calculations
The dashboard calculates hypothetical stops on both sides of the reference price.
**Long Stop**
`Reference Price - Average Stop - Buffer`
**Short Stop**
`Reference Price + Average Stop + Buffer`
Final stop prices are rounded to the symbol's valid minimum tick increment.
The calculated stops are intended as **volatility-based reference levels**, not automatic recommendations to place an order at those exact prices.
---
## Adaptive buffer
An additional buffer places the calculated stop slightly outside the raw volatility boundary.
### Futures
In Auto mode, the futures buffer is:
`max(2 ticks, 10% of Average Stop)`
with an adjustable maximum buffer percentage.
The default maximum is **25% of Average Stop**.
This provides a small minimum buffer in lower-volatility conditions while allowing the buffer to expand as volatility increases.
### Stocks and ETFs
The default Auto buffer is:
`10% of Average Stop`
subject to the same adjustable maximum buffer percentage.
### Manual buffer
Users can disable Auto mode and specify the buffer directly in **number of ticks**.
---
## Timeframe behavior
By default, all volatility calculations use the **current chart timeframe**.
For example:
* 2-minute chart → 2-minute volatility
* 5-minute chart → 5-minute volatility
* 15-minute chart → 15-minute volatility
* Daily chart → daily volatility
A **Manual Timeframe Override** is also available when the trader wants the dashboard to reference volatility from a different timeframe.
For example, a trader executing on a 2-minute chart may choose to calculate the stop using 5-minute volatility.
---
## Reference price
By default, the script calculates the hypothetical stop levels from the **current market price**.
An optional **Manual Entry Price** can be enabled.
This is useful after entering a trade or when planning an entry at a specific price because the stop calculations remain anchored to that reference price rather than moving continuously with the market.
The dashboard still displays the live Current Price separately.
---
## Dashboard modes
### Minimal
Designed for active trading and displays only:
* Current Price
* Average Stop and its basis
* Long Stop
* Short Stop
The **Long Stop is displayed in green** and the **Short Stop in red** for quick identification.
### Full
Displays additional volatility information:
* Average Bar Range
* ATR
* Current Bar Range
* Current Bar / Average Bar ratio
* Current Price
* Average Stop and calculation basis
* Buffer
* Long Stop
* Short Stop
---
## Display options
The dashboard can be customized using:
**Table Size**
* Tiny
* Small
* Normal
* Large
* Huge
**Horizontal Placement**
* Left
* Center
* Right
**Vertical Placement**
* Top
* Middle
* Bottom
These controls provide all nine standard PulseWire table-placement combinations.
---
## Suggested interpretation
The indicator is most useful as a **context tool rather than a mechanical stop system**.
For example, if a proposed structural stop is only 0.3 ATR away from the entry while normal bars are already considerably larger than that distance, the stop may be vulnerable to ordinary market noise.
Conversely, a structural stop several ATRs away may indicate that the trade requires unusually large risk relative to current volatility.
The indicator does not determine whether the underlying trade setup is valid.
A practical workflow is:
1. Identify the trade setup.
2. Determine the price level that structurally invalidates the setup.
3. Compare that distance with the dashboard's volatility-based Average Stop.
4. Determine whether the structural stop allows acceptable risk.
5. Adjust position size rather than artificially tightening a structurally necessary stop.
---
## Default settings
**Volatility**
* Average Bar Range Length: `20`
* ATR Length: `14`
**Stop**
* Stop Basis: `ATR`
* Stop Multiplier: `1.0x`
**Buffer**
* Mode: `Auto`
* Auto Buffer: `10%`
* Futures Minimum Buffer: `2 ticks`
* Maximum Auto Buffer: `25%`
**Timeframe**
* Current chart timeframe
**Display**
* Minimal
* Small
* Top Right
All parameters are configurable.
---
## Important notes
This indicator:
* Does **not** generate buy or sell signals.
* Does **not** determine market direction.
* Does **not** automatically identify structural invalidation.
* Does **not** determine position size.
* Does **not** guarantee that a calculated stop will avoid being triggered.
* Is intended as a volatility and trade-planning tool.
ATR and average bar range describe **recent historical volatility**. Future volatility can change rapidly, particularly around economic releases, earnings, market opens, news events, or periods of reduced liquidity.
Traders should use the calculated levels together with market structure, risk management, and their own trading methodology.
---
# Release notes — Version 1.0
**Initial release**
* Added ATR-based stop-distance calculation.
* Added Average Bar Range alternative to ATR.
* Added configurable stop multiplier.
* Uses completed bars for baseline volatility calculations.
* Added automatic chart-timeframe detection.
* Added optional manual timeframe override.
* Added live Current Price display.
* Added optional Manual Entry Price for fixed stop calculations.
* Added automatic futures and equity buffer logic.
* Futures Auto Buffer defaults to the greater of 2 ticks or 10% of Average Stop.
* Stocks and ETFs default to a 10% Average Stop buffer.
* Added adjustable maximum Auto Buffer.
* Added manual tick-based buffer override.
* Added Long and Short stop price calculations rounded to valid minimum tick increments.
* Added Minimal and Full dashboard modes.
* Average Stop clearly identifies whether ATR or Bar Range is being used.
* Added configurable table size.
* Added Left / Center / Right and Top / Middle / Bottom table positioning.
* Added green Long Stop and red Short Stop highlighting.
Indicator

Risk Sizer### Risk Sizer
**Risk Sizer** is a fast position-sizing and execution-risk tool designed for discretionary intraday and breakout trading.
Instead of choosing a position size first, place the draggable **SL** at the level where your trade idea is invalidated. Risk Sizer then calculates the position size based on your account risk while accounting for trading costs and execution conditions.
The indicator displays:
* **REC QTY** — liquidity-adjusted recommended position size
* **RISK QTY** — maximum size based on your configured risk
* **POSITION** — recommended position notional
* **SL** — stop price and percentage distance
* **ATR** — ATR for the current chart timeframe
* **SL / ATR** — stop distance relative to current volatility
* **BUFFER** — configurable slippage/execution allowance
* **RT FEES** — estimated round-trip trading fees
* **FEE / SL** — how significant fees are relative to the stop distance
* **RISK USED** — estimated total risk versus your configured risk budget
* **CAP USED** — percentage of the configured maximum position limit
* **1M LIQ** — average 1-minute notional volume used as a liquidity proxy
* **LIQ MULT** — suggested size reduction when the position is large relative to observed volume
* **EXECUTION** — simple green / amber / red execution warnings
### Position sizing
Position size accounts for:
**Structural SL + execution buffer + estimated round-trip fees**
This helps prevent extremely tight stops from producing unrealistically large position sizes.
For example, if your stop is only `0.01%` but your round-trip trading costs are `0.08%`, fees are already significantly larger than the structural stop. Risk Sizer highlights this through the **FEE / SL** metric and includes those costs when determining size.
### Liquidity-adjusted sizing
Risk Sizer also calculates an optional liquidity recommendation using average **1-minute PulseWire notional volume**.
If your risk-based position would represent more than your configured target percentage of average 1-minute volume, the indicator reduces the recommended size and shows the resulting **LIQ MULT**.
Example:
```text
RISK QTY 100 ETH
LIQ MULT 0.40x
REC QTY 40 ETH
```
The risk-based quantity remains visible so you can distinguish between:
**Risk capacity** — how much you could trade based on your stop and risk budget.
**Execution capacity** — a more conservative recommendation based on observed market activity.
### Execution status
The indicator classifies conditions into simple execution warnings.
**Green — OK**
No obvious sizing or execution issue detected.
**Amber — Review**
* High fees relative to SL
* Very tight or wide SL relative to ATR
* Liquidity-based size reduction
* Position notional cap reached
**Red — Attention**
* Round-trip fees exceed the structural SL percentage
* Invalid or impractical calculated position size
### Typical workflow
**1. Identify the trade setup**
**2. Drag SL to structural invalidation**
**3. Check EXECUTION status**
**4. Read REC QTY**
**5. Execute**
The indicator is intentionally designed for quick visual use during fast-moving markets.
### Important limitations
The liquidity model is a **proxy**, not an order-book or slippage prediction.
It uses PulseWire's available 1-minute volume data and does not know the actual depth, spread, liquidity-provider inventory, or execution quality available at your broker or exchange.
Actual fills may differ due to:
* Spread
* Order-book depth
* Market impact
* Latency
* Volatility
* Slippage
* Broker/exchange execution
* Fees and instrument specifications
Fees, quantity increments, point value, maximum notional and liquidity thresholds are configurable and should be adjusted to match the instrument and venue you trade.
**Risk Sizer is an execution and risk-management aid, not a trading signal or financial advice.**
Indicator

MoreThanMoney Aurum Flow ORBMoreThanMoney — Aurum Flow
A trend-following signal engine built for crypto perpetual futures (optimized for the 1H timeframe). Aurum Flow only takes trades in the direction of the dominant trend and frames each setup with a complete, static trade plan — entry, stop, and three take-profits — plus position-sizing and cost analytics for leveraged accounts.
How it works
Trend filter (DEMA stack): longs only when DEMA 15 > 50 > 238, shorts only when reversed. Counter-trend noise is filtered out.
Signal trigger: a Point-of-Control (volume POC) crossover, confirmed by the trend filter and an optional RSI check.
Static trade plan: on the signal bar, Entry / SL / TP1 / TP2 / TP3 are calculated once and frozen — the levels never drift.
ATR risk model: SL = 1.5×ATR by default; targets at 1:1.5, 1:3 and 1:6 R (fully configurable). A percentage mode is also available.
Built for perpetuals
Each level label shows the distance to entry in points and %.
An account panel turns your inputs (account size, risk %, taker fee, max leverage) into suggested notional, useful leverage, margin, and round-trip fee cost — so you know the real cost and sizing of every trade before you take it.
Alerts / automation
Uses alert() with a structured JSON payload (symbol, direction, entry, SL, all TPs, distances, leverage, cost). Create one alert with the "Any alert() function call" condition to route signals to your own webhook/journal.
Recommended use: apply to liquid perpetual markets on the 1H chart. Start with the default risk model and adjust to your own plan.
⚠️ For educational purposes only. Not financial advice. Trading leveraged perpetual futures carries a high risk of loss. Past performance does not guarantee future results.
© RicardoGarciaPT / MoreThanMoney. Indicator

ATR % (Volatility) [COCOSTA]English
ATR % (Volatility)
This indicator converts Average True Range (ATR) into a percentage of price, making volatility comparable across different assets and price levels — something raw ATR (an absolute value) can't do.
How it works:
ATR % = ATR(14) / Close × 100, plotted in a separate pane below the chart
A shaded range channel shows the highest and lowest ATR % values over the past 262 bars, excluding the current bar
When the current ATR % breaks above or below that 262-bar range, the line changes color (red = upside breakout, orange = downside breakout) and the background highlights, so unusual volatility expansions/contractions stand out at a glance
Settings:
ATR Length (default 14) — the standard Wilder ATR period
Range Lookback (default 262, ≈1 trading year on the daily chart) — the historical window used to build the high/low channel, fully adjustable
This tool is designed to help identify when volatility is moving outside its recent historical norm, which can be useful for spotting potential breakouts, squeezes, or regime changes. It is not a standalone buy/sell signal — use it alongside your own analysis and risk management.
日本語
ATR % (Volatility)
このインジケーターは、ATR(Average True Range)を価格に対する%に変換したものです。ATRは絶対値のため銘柄や価格水準が違うと単純比較ができませんが、%化することで異なる銘柄・時間軸間でもボラティリティを横並びで比較できます。
仕組み:
ATR% = ATR(14) ÷ 終値 × 100 を計算し、チャート下のサブ画面に表示
当日を含まない過去262本分のATR%の最高値・最低値でできるレンジをチャネル(帯)として塗りつぶし表示
当日のATR%がこの過去262本のレンジを上抜け・下抜けすると、ラインの色が変化(赤=上方ブレイク、オレンジ=下方ブレイク)し、背景にもハイライトが入るため、通常のレンジから外れたボラティリティの拡大・縮小が一目でわかります
設定項目:
ATR Length(初期値14)— 標準的なワイルダー式ATR期間
Range Lookback(初期値262、日足で約1年間に相当)— レンジ算出に使う過去期間。自由に変更可能
このツールは、ボラティリティが直近の通常レンジから外れたタイミングを把握する補助として設計されています。ブレイクアウトやスクイーズ、相場のレジーム変化の兆候を捉える際にご活用ください。単独の売買シグナルではないため、ご自身の分析・リスク管理と併せてご利用ください。 Indicator

Indicator

Indicator

Rolling VWAP with SignalsRolling VWAP with Signals
Overview
Rolling VWAP with Signals plots a time-window ("rolling") VWAP with standard deviation bands, and generates filtered buy/sell signals on band breakouts. Unlike a session VWAP, which resets at a fixed anchor such as the start of day or week, this VWAP recalculates continuously over a trailing window that you define, for example the last 10 hours or the last 2 minutes of 3-minute bars. This keeps it adapting on any chart, in any session, in any market, including markets that trade around the clock.
This script is an original extension built on the rolling VWAP concept from Rolling VWAP . It adds standard deviation bands, trend-state coloring, crossover based buy/sell signals, an ATR rising filter, and a VWAP trend-alignment filter, none of which are present in the original.
How It Works
The rolling VWAP is computed by summing price times volume and volume over a trailing time window, then dividing, the standard VWAP formula applied to a moving window instead of a fixed session. The calculation runs on an independent timeframe set by the RVWAP Timeframe input, evaluated with request.security().
Standard deviation bands sit above and below the VWAP at a configurable multiple of the rolling standard deviation, computed with the direct weighted squared deviation method rather than the E minus E ^2 shortcut, which avoids precision loss on high-priced instruments.
smoothedATR = ta.swma(ta.atr(atrLength))
atrRising = not useATRFilter or smoothedATR > smoothedATR
Trend state is bullish when the VWAP is higher than it was one higher-timeframe bar ago and price is above the upper band, and bearish under the mirrored condition. The VWAP line is colored accordingly.
Buy and sell signals fire once, on the bar where price crosses a band, not on every bar price remains outside it:
Buy — close crosses over the upper band
Sell — close crosses under the lower band
Two optional filters narrow signals to higher-conviction setups:
Rising ATR — requires an SWMA-smoothed ATR to be higher than the prior bar, filtering out breakouts occurring while volatility is contracting
RVWAP trend alignment — requires the bullish or bearish trend state described above, so buy only fires in an established uptrend and sell only in an established downtrend
Four alert conditions are available: price above the upper band, price below the lower band, a buy signal, and a sell signal.
Inputs
RVWAP Timeframe — Timeframe the rolling VWAP and standard deviation calculation runs on, independent of the chart timeframe. Default: 1 minute.
RVWAP Time Period (Hours / Minutes) — Length of the trailing window used for the rolling calculation. Shorter windows track faster; longer windows behave more like a session VWAP. Default: 0 hours, 1 minute.
Standard Deviation Multiplier — Distance of the bands from the VWAP, in standard deviations. Lower values give tighter bands and more signals; higher values give wider bands and fewer, stronger signals. Default: 1.618.
Show Standard Deviation Bands — Toggles the band plots and disables buy/sell signals when off, since signals require a band cross. Default: on.
Show Fill Between Bands — Toggles the shaded fill between the upper and lower bands. Default: on.
Smooth VWAP/StdDev — Applies additional smoothing to the VWAP and standard deviation lines for a less-lagged appearance when off, or a smoother, laggier line when on. Default: off.
Require Rising ATR for Signals — Gates buy and sell signals on a rising smoothed ATR. Default: on.
Length — ATR length used by the rising-ATR filter. Default: 14.
Require RVWAP Trend Alignment for Signals — Gates buy signals on a bullish RVWAP trend and sell signals on a bearish RVWAP trend. Default: on.
Upper Band, Lower Band, Fill — Colors for the band lines and the fill between them.
Usage Notes
Requires a data feed that provides volume; the script raises a runtime error if none is available.
The rolling calculation needs a minimum of 10 bars within the window to produce a value; very short windows on sparse data may show gaps.
Rising ATR means the current SWMA-smoothed ATR value is strictly greater than the previous bar's value, a one-bar comparison rather than a multi-bar slope.
Values inside the current, still-forming RVWAP Timeframe bar can update intrabar, as with any request.security() call without a fixed historical offset. Confirmed bars do not repaint.
Disable both signal filters to see every raw band-crossing signal, or enable them independently to trade off signal frequency against signal quality.
Credits
Rolling VWAP methodology adapted from the original Rolling VWAP .
Uses the open-source PineCoders ConditionalAverages library for the windowed total calculations.
Disclaimer
This script is provided for educational and informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Always do your own research and apply proper risk management before trading.
Indicator

Indicator

GEEN Smart Signal What it does
GEEN Smart Signal is not a single-indicator tool. It combines several classic analysis engines into one weighted Decision Engine that scores every trade candidate from 0 to 100, then only prints signals that pass a minimum confidence threshold. Every signal comes with a full breakdown showing exactly why it was accepted.
How it works
A signal candidate is generated by an ATR trailing-stop flip (with optional Heikin Ashi smoothing of the calculation source). The candidate is then evaluated by 8 engines, each contributing a weighted score:
Market Structure (20 pts) — pivot-based HH/HL/LH/LL classification, BOS and CHoCH detection
Trend (20 pts) — EMA 50/100/200 stack, classified into 5 states from strong bullish to strong bearish
Momentum (15 pts) — RSI position + ADX strength, used as confirmation only
Volume (15 pts) — current volume vs. 20-bar average, rewarding volume spikes
Liquidity (10 pts) — liquidity sweeps of prior swings, price inside a Demand/Supply zone or FVG, and Premium/Discount location vs. equilibrium
Volatility (10 pts) — ATR vs. its average, filtering out dead markets
Multi-Timeframe (10 pts) — 1H/4H/D trend alignment (closed-bar data only)
Risk (10 pts) — estimated reward-to-risk toward the nearest opposing swing
The total is normalized to 100. Below the minimum threshold (default 60) the signal is rejected (WAIT). 60–75 prints as weak, 75–85 as good, above 85 as strong. Clicking any signal arrow shows the per-engine score breakdown, entry, ATR stop, and 1R/2R/3R targets.
Chart elements
Structure labels (HH/HL/LH/LL, BOS, CHoCH), auto Order Blocks with mitigation removal, Fair Value Gaps, Equal Highs/Lows (EQH/EQL), session Kill Zones (Asia/London/New York, with an optional session filter), a main panel (decision, confidence, trend, momentum, risk, entry/SL/TP, RR, 5-timeframe view, active session, SMT check vs. a correlated symbol), and a monthly statistics panel that tracks how many signals reached TP1/TP2/TP3 or hit the stop — so you can measure performance yourself on any symbol and timeframe.
Anti-repaint design
Signals are confirmed on bar close only, higher-timeframe data uses closed bars with lookahead off, and structure breaks are evaluated on confirmed closes.
How to use
Works on any symbol and timeframe. Start with defaults, or raise the minimum confidence and enable the London/New York session filter for intraday trading. Alerts are included for buy/sell and for strong (85+) signals. This tool is for educational purposes and is not financial advice; no indicator guarantees results — always use proper risk management. Indicator

NATR (Normalized ATR) Oscillator🍀Overview
NATR (Normalized ATR) Oscillator converts Normalized Average True Range into a rolling 0–100 oscillator, making it easier to evaluate current volatility relative to recent market conditions.
NATR is calculated as ATR divided by the current closing price and expressed as a percentage. The indicator then compares that value with the highest and lowest NATR readings over the selected lookback period.
🍀Features
Displays normalized volatility on a 0–100 scale.
Highlights low- and high-volatility conditions with configurable threshold levels.
Includes a 50 midline to identify neutral relative-volatility conditions.
Uses gradient fills to visually emphasize elevated volatility above the midline and subdued volatility below it.
Works across markets and price ranges because ATR is normalized by price.
🍀Inputs
ATR Length — Number of bars used to calculate Average True Range. Default: 14.
NATR Min-Max Lookback — Number of bars used to normalize NATR into the rolling 0–100 oscillator range. Default: 14.
High Volatility Level — Upper threshold used to identify relatively high volatility. Default: 80.
Low Volatility Level — Lower threshold used to identify relatively low volatility. Default: 20.
🍀Usage
Readings above the High Volatility Level indicate that normalized volatility is near the upper end of its recent range. This may occur during breakouts, rapid price moves, or volatile market conditions.
Readings below the Low Volatility Level indicate that normalized volatility is near the lower end of its recent range. This may occur during consolidation, compression, or quieter trading conditions.
Readings near 50 suggest that volatility is relatively neutral compared with the selected lookback period.
Use the oscillator to adapt trade selection, position sizing, stop placement, or strategy expectations to the current volatility regime.
Combine it with trend, momentum, volume, and price-action tools for context. The oscillator measures volatility only; it does not determine market direction.
🍀Disclaimer
This indicator is provided for informational and educational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset.
The oscillator measures relative volatility within the selected rolling lookback window. A high or low reading reflects recent context and does not guarantee future price movement, trend direction, or trading performance. Always use independent analysis and appropriate risk management before making trading decisions.
Indicator

Supertrend + RSI Filter (Advanced TP/SL)OverviewThe Supertrend + RSI Filter (Advanced TP/SL) is a comprehensive trend-following indicator designed for PulseWire (Pine Script v5). It combines the trend-detection power of the Supertrend with a dynamic RSI Momentum Filter to eliminate low-probability setups in overbought or oversold conditions.Unlike standard indicators that clear historical lines upon new signals, this script implements a Pine Script v5 Custom Type & Array-based Position Management System. It tracks every trade independently, drawing dynamic Entry, Take Profit (TP), and Stop Loss (SL) lines with centered price labels. Position lines persist on the chart and are ONLY removed when price action officially hits the TP or SL level.
Comprehensive Feature List
Supertrend Trend Detection:
Utilizes Average True Range (ATR) to measure volatility and establish dynamic trailing stop bands for precise trend-direction identification.
RSI Momentum Filtering:
- Buy Filter: Suppresses BUY signals when RSI exceeds the overbought threshold (Default: >70) to prevent buying at local tops.
- Sell Filter: Suppresses SELL signals when RSI drops below the oversold threshold (Default: <30) to prevent selling at local bottoms.
Can be toggled ON/OFF in the settings menu.
Multi-Position Tracking Arrays:
- Employs custom data structures () stored in an to track multiple open trades concurrently. type Position array
- Persistent Lines: Entry (Solid Gray), Take Profit (Dashed Green), and Stop Loss (Dashed Red) lines remain on the chart through opposite trend changes until hit. - Centered Price Labels: Displays label text (, , ) dynamically anchored at the midpoint of each active position line. Entry: XTP: YSL: Z
- Individual Removal: When a specific trade hits its TP or SL target, its corresponding lines and labels are erased immediately without affecting other active trades.
On-Chart Performance Dashboard:
- Displays an updated summary table in the top-left corner of the chart.
- Metrics Included:
Win Rate (%): Percentage of closed trades hitting TP.
Total Trades: Total number of completed historical signals.
Winning & Losing Trades: Count of successful vs. failed setups.
Total Profit (Pips): Cumulative net profit/loss expressed in pips.
RSI Filter Status: Visual indicator showing whether the filter is active ( / ).ONOFF
Dynamic & Multi-Parameter Alert System:
Uses Pine Script’s function to output real-time formatted text messages containing key execution metrics: alert()
Symbol / Ticker
Timeframe
Exact Entry Price
Target Take Profit Price
Target Stop Loss Price
including warnings. alertcondition()
Trading & Exit Logic
1. BUY Setup
Trigger: Supertrend flips from Bearish (Red) to Bullish (Green).
Filter Condition: $\text{RSI} \le \text{Overbought Threshold}$ (or RSI Filter disabled).
Entry: Closing price of the signal bar.
Stop Loss: $\text{Entry} - (\text{ATR} \times \text{SL Multiplier})$
Take Profit: $\text{Entry} + (\text{ATR} \times \text{TP Multiplier})$
2. SELL Setup
Trigger: Supertrend flips from Bullish (Green) to Bearish (Red).
Filter Condition: $\text{RSI} \ge \text{Oversold Threshold}$ (or RSI Filter disabled).
Entry: Closing price of the signal bar.
Stop Loss: $\text{Entry} + (\text{ATR} \times \text{SL Multiplier})$
Take Profit: $\text{Entry} - (\text{ATR} \times \text{TP Multiplier})$
3. Exit & Removal Logic
On every historical and real-time bar, the script checks if or crosses the target levels: High Low
BUY Hit TP: $\text{High} \ge \text{TP Price}$
BUY Hit SL: $\text{Low} \le \text{SL Price}$
SELL Hit TP: $\text{Low} \le \text{TP Price}$
SELL Hit SL: $\text{High} \ge \text{SL Price}$
Upon trigger, the specific position is logged into the performance table, and its lines/labels are deleted.
Settings & Inputs
How to Set Up Dynamic Alerts
Apply the indicator to your desired chart.
Click the Alerts icon (Clock) on PulseWire $\rightarrow$ Create Alert.
Under Condition, select: .Supertrend + RSI Filter (Advanced TP/SL)
Select Any alert() function call in the dropdown menu.
Set the frequency to Once Per Bar Close.
Click Create. You will receive detailed alerts formatted like this:
🚀 BUY SIGNAL
Symbol: BTCUSDT
Timeframe: 15
Entry: 64250.50
TP: 65120.00
SL: 63815.25
Risk Disclosure & Limitations
Choppy / Ranging Markets: As a trend-following tool, Supertrend may produce consecutive false breakouts when the market moves sideways.
Backtest Statistics Notice: The statistics table measures theoretical performance based on bar high/low historical data. It does not account for slippage, spread, overnight funding fees, or broker commissions.
Repainting Disclaimer: Signals and position calculations are confirmed on bar close ( / ) to strictly avoid repainting. barstate. islastfreq_once_per_bar_close
Financial Disclaimer: This script is developed strictly for educational and analytical purposes. It does not constitute financial or investment advice. Always manage your risk responsibly. Indicator

Indicator

Adjusted SuperTrendAdjusted SuperTrend | MisinkoMaster
The Adjusted SuperTrend is a refined, low-lag evolution of the traditional SuperTrend indicator. Standard SuperTrend formulas rely on classic Average True Range (ATR) calculations that treat all price ranges linearly. This often results in delayed trend shifts during explosive volatility spikes or premature whipsaws during choppy consolidation phases.
The Adjusted SuperTrend solves this issue by incorporating a specialized, smoothed True Range filter that balances extreme high-low spreads with close-to-close variations. By anchoring an exponential moving average baseline to this modified volatility metric, the indicator provides a more adaptive, reactive trailing stop line that keeps you aligned with genuine market trends while minimizing false breakout signals.
How It Works (The Core Architecture)
The indicator evaluates trend direction and trailing support/resistance through a three-stage framework:
Linearized True Range Volatility: Rather than using standard ATR, the engine evaluates the absolute maximum and minimum true range components on each bar and averages them. This balances intra-bar high-low expansion with bar-to-bar gap volatility, creating a smoother measurement of true market variance.
Exponential Baseline Alignment: The modified range is processed through an Exponential Moving Average (EMA) volatility lookback filter and applied as a multiplier factor around a core price EMA baseline, establishing dynamic upper and lower tracking boundaries.
Asymmetric Trailing Regime State: When the selected price source closes cleanly above the upper boundary, a bullish trend regime is locked in, plotting the lower band as an active trailing stop. Conversely, when the price drops below the lower boundary, a bearish regime is initiated, using the upper band as trailing overhead resistance.
Key Features
Low-Lag Volatility Smoothing: Uses a specialized True Range derivation to react faster to sudden breakout expansions while remaining resilient against minor noise.
Synchronized Candlestick Morphing: Automatically colors on-chart price bars (green for bullish, red for bearish) to give you instant visual feedback on the active trend bias.
Layered Diamond Breakout Markers: Highlights structural trend flip points with multi-layered diamond markers painted directly on the trailing support/resistance line.
Status Line Volatility Tracking: Includes an integrated ATR status reading for easy monitoring of real-time market expansion directly from your chart legend.
Input Parameters & Optimization Guide
Source: Sets the price series used for baseline calculations and band cross checks (Default: Close).
Baseline Lookback Period: Controls the lookback window for the core EMA trend line. A lower value makes the baseline more sensitive to immediate price action, while a higher value maps macro trend direction (Default: 14).
Volatility Lookback: Sets the length for the smoothed range calculation. Lowering this value makes the trailing bands expand and contract faster during volatility spikes (Default: 8).
Factor: The volatility band multiplier. Adjusting this parameter changes the distance between the baseline and the outer bands. Lower values (e.g., 1.5 - 2.0) work well for tight scalping, while higher values (e.g., 2.5 - 3.0) filter out noise for swing trading (Default: 2.5).
Trading Strategies & Execution
Trailing Trend Continuations
Use the active line as a dynamic trailing stop-loss or trend direction filter:
Bullish Alignment: When the green lower line is active, look for long entries on pullbacks toward the line, keeping your stop-loss placed just below the dynamic support.
Bearish Alignment: When the red upper line is active, look for short setups on rallies toward overhead resistance, trailing your stop along the red line.
Regime Flip Breakouts
A structural change in market bias occurs when price invalidates the active outer boundary:
A candle closing above the red upper band triggers a Bullish Trend Flip, marked by glowing green diamonds on the chart.
A candle closing below the green lower band triggers a Bearish Trend Flip, marked by glowing red diamonds.
Disclaimer: Trading financial markets involves high risk. This technical script is designed as an informational analytical tool to support your rule-based mechanical execution system and does not constitute financial advice. Indicator

Range Budget [AFD]
Range Budget answers one question at a glance: **how much of a
typical session's range has today already used?**
A day that has spent 40% of its typical range and a day that has spent 130% are different trading environments. This indicator measures which one you are in, from this chart's own price history, and says so in one number, onecolour, and one word.
###What it does###
- **Headline percentage** — today's realized range so far, divided by thetypical completed-session range. Never clamped: a wide day reads 130%, not100%.
- **State word and meter** — ROOM → PAST HALF (50%) → NEAR FULL (80%) → OVER
TYPICAL (100%). The word, the meter and every state colour come from the same thresholds, so they cannot disagree.
- **Envelope levels** — session low + typical range, and session high − typicalrange, drawn as glowing lines with a gradient band between them. Aconditional identity, not a projection: IF the session finishes at itstypical size AND the low holds, the high lands exactly on the upper level. Once the day crosses its typical range, the levels take the state colour.
- **Percentile ladder** (optional) — where a finished day of each size (p25 /p50 / p75 / p90 of the lookback window) would top out, measured up fromtoday's low. Nearest-rank percentiles: every rung is a session range thatactually occurred, never an interpolation.
- **Dashboard** — distance left to (or past) typical in both price points andpercent, how many of the last N sessions ran wider than typical, and optional detail rows (range so far, typical range, percentile standing,widest/narrowest, envelope and ladder values). Compact by default; everycryptic cell explains itself on hover; the whole panel can be switched off.
###How it works###
- **Typical range is user-selectable**, and the chart always names the activestatistic:
- **ADR** — the average of the last N completed session ranges (high − low).
- **ATR RMA** — the average true range, so overnight gaps count. Seeded withthe first true range rather than an initial SMA, which is why it is labelled "ATR RMA" and will not match `ta.atr()` to the last digit. Under ATR the numerator is the live session's true range too, so the percentageis never a ratio of two different measures.
- **Median** — the middle completed session range, which is also theladder's p50 rung.
- The three are identical on a symbol that never gaps and diverge as gaps grow — on heavily gapping symbols ATR can run near 2.5× ADR. That is why the choice exists and why the active one is named on the chart.
- **Completed sessions only.** The live day never feeds its own denominator —a partial day would drag the typical range down as the day progressed and bias the percentage upward with no symptom. Statistics update when a session completes; the live day contributes only its running range.
- **One session rule for everything.** Regular hours or regular + extended:history and the live day follow the same rule, and if the filter cannot change anything on your chart (no extended-hours bars loaded), the dashboard says so instead of staying silent.
- **The sample is what your chart holds.** n is capped by the sessions actually loaded — roughly 64 completed regular-hours sessions on a 5-minute chart from 5,000 bars on a Basic plan, more on higher plans and higher timeframes. The dashboard shows the n actually in use, plus a spread figure ((p90 − p25) ÷ p50) that says whether recent sessions were similar in size
or mixed.
- Eleven plotted values sit in the Data Window (percentage, ranges, envelope percentiles, sample size and more), so every number on the panel can be read, checked and exported.
###How to use it###
1. Add it to a liquid intraday chart. The defaults are the intended reading: compact dashboard, ADR(20), regular hours.
2. Read the headline first. ROOM means the day is still small next to its recent finished sessions; OVER TYPICAL means it has already run further than a typical one.
3. Use the envelope as context for the day's remaining room under the stated conditions — the tooltip on every input spells those conditions out.
4. Turn on the ladder to see today against the whole recent distribution instead of one average: price between p50 and p75 means today has already matched a mid-sized finished day.
5. Hover the bottom row of the dashboard whenever a figure is unclear — the statistic, the sample and any active caveat (gap counted, filter inert, no completed session yet) are explained there.
###What it deliberately does not do###
**Realized range from OHLCV — not an implied or expected move.** Every number is measured from this chart's own price history. Nothing comes from options pricing, and the typical range describes completed sessions — a description of what happened, not a statement about what happens next.
- No alerts, no signals, no entries or exits.
- Counts stay counts — "Sessions over typical: 4 of last 20" describes this chart's history, and the indicator never converts a count into odds.
- The percentage is never capped at 100%, because a day past its typical range is the most informative reading the tool produces.
###Why it is original###
Range tools usually hand you one number (an ADR level pair) or one overlay (an ATR band). Range Budget treats the session range as a budget and reports its consumption: one percentage against a user-chosen, chart-named statistic, computed from completed sessions only, with its sample size, its spread and every degeneracy disclosed on the panel itself. The three statistics are not interchangeable and the tool is built around that fact rather than hiding it: the active one is named on the chart, the ATR path measures true range on both sides of the ratio, and the ladder shows the whole recent distribution so one average never has to stand in for it.
Open source under the Mozilla Public License 2.0. All calculations are native
Pine v6 — no security() calls, no external data. Indicator

Liquidity Hunter | SMC System - Full SuiteA full-sequence Smart Money Concepts strategy that trades the way institutional order flow moves — liquidity sweep, displacement, structure break, and a confirmed retest.
This strategy chains them into the complete institutional sequence: a real liquidity pool gets taken, an impulsive displacement candle breaks structure, a correctly-identified order block gets frozen at that exact moment, and only a genuine retest with confirmation triggers the entry.
Features
The Full SMC Sequence
HTF Bias → Liquidity Pool Taken → Sweep → Displacement Candle → BOS/CHoCH → FVG → Return to OB → Confirmation → Entry — every stage gated on the one before it, so entries reflect genuine confluence rather than a single coincidental signal.
Real Liquidity Pool Tracking
Tracks multiple historical swing highs/lows simultaneously (not just the most recent one), so a sweep can trigger off any untaken pool — mirroring how liquidity actually accumulates at equal highs/lows and older structure.
Displacement Filter
Structure breaks only count as valid if the breaking candle's body exceeds a configurable ATR multiple — filters out slow grinds through a level that aren't genuine institutional impulses.
Frozen-Zone Retest Logic
Once an OB forms, its boundaries are locked/frozen at that moment. Entries reference this frozen snapshot, not a live, potentially-mutated box — with an overlap-based touch test (not a strict "price must sit inside the zone" test) for realistic retest detection.
Configurable Confirmation Filters
After a retest touch, choose from: no confirmation, rejection candle, engulfing candle, close back through the OB, or a break of the retest candle's high/low — tune entry strictness to your risk tolerance.
Higher Timeframe Bias
Optional HTF trend filter ensures you're only taking setups aligned with the dominant trend on a higher timeframe.
FVG Confluence Option
Optionally require that the structure break actually creates a fair value gap — an added imbalance-based confluence layer before a setup is even considered.
Liquidity-Target Take Profit
Choose a fixed R-multiple target, or let the strategy aim at the nearest untaken liquidity pool in the trade's direction — closer to how institutional targets are actually theorized to work.
Risk-Based Position Sizing
Size trades by % risk per trade (scaled to actual stop distance) or flat % of equity, with a hard position-size cap.
Realistic Cost Modeling
Commission and slippage built into the backtest engine from the start.
Notes
Start with requireOBRetest = true and confirmationMode = "None" to validate the base sequence produces trades before layering on stricter confirmation modes.
HTF Bias and FVG Confluence are off by default — each meaningfully reduces trade frequency in exchange for higher-conviction setups; enable incrementally and check trade count after each change.
Works on any intraday or swing timeframe — the sequence logic (sweep → displacement → BOS → retest) is timeframe-agnostic, though displacement thresholds and pool aging windows may need retuning per timeframe.
"Nearest Liquidity Pool" take-profit mode requires active, untaken pools in the trade's direction to function — falls back to the R-multiple target if none exist.
Strategy

Indicator

Daily Range Exhaustion - ADR Probability MapAn intraday trader spends the whole session asking one question without ever measuring it: is there still room left in this move, or is the day already finished. Daily Range Exhaustion measures it.
The script records the completed range of every past day on the symbol you have open, and uses that sample to answer four things about the day in progress.
HOW MUCH OF THE DAY IS SPENT
Today's range is compared against the average daily range of the last 5, 10 or 20 days. The panel shows the result as a percentage. At 40 percent the day still has room in either direction. At 110 percent the day has already delivered more than an ordinary day and every further extension is, statistically, an outlier rather than the base case. The chart background tints once 100 percent is passed.
WHERE A FULL DAY COULD STILL REACH
Two levels are drawn:
Upside projection, today's low plus the average daily range. This is the highest point a statistically ordinary day could still print without becoming unusual.
Downside projection, today's high minus the average daily range.
Both compress as the session develops. Early in the day they sit far apart. By the afternoon they have squeezed toward price, and the distance left to each one is exactly the room the day has left. The shaded areas between price and each projection are that remaining room, made visible.
THE ODDS OF EXTENDING ANYWAY
Ranges are not a hard ceiling, so the panel reports how often the ceiling actually broke. Three lines show the share of past days whose range exceeded 100, 125 and 150 percent of the current average. On most liquid instruments roughly a quarter to a third of days exceed 100 percent, but far fewer reach 150 percent. Those numbers are the honest context for the exhaustion reading: they tell you whether a stretched day is rare or routine on this particular symbol.
WEEKDAY BREAKDOWN
A single average across all days hides a real effect. Many instruments have a quiet Monday and a violent Thursday, and judging Monday against a blended average will make it look exhausted when it is behaving normally. The panel breaks the sample down by weekday, shows the average range of each one, and expresses it as a percentage of the overall average. Today's weekday is highlighted.
HOW TO USE IT
As a filter on entries. Taking a fresh breakout when the day has already spent 120 percent of its average range is a different trade from taking the same breakout at 45 percent. The setup may be identical, the room available is not.
As target context. If the upside projection is 12 points away and your target is 30 points, the day would have to become a statistical outlier for that target to fill.
As mean reversion context. A day that hits the projection level and stalls has, by definition, reached the edge of its usual distribution.
As session planning. Check the weekday row before the session opens to know whether to expect a wide day or a narrow one.
NOTES ON THE DATA
The sample is built from the chart itself, so it needs history loaded. The panel shows a Building sample message and stays hidden until the minimum day count is reached, rather than showing statistics based on six observations.
Only intraday timeframes are supported. On a daily chart or higher the concept has no meaning, and the panel says so instead of printing misleading numbers.
Older days are dropped once the sample cap is reached, so the statistics follow the current volatility regime instead of averaging in a market from two years ago.
Days are bounded by the exchange session of the symbol. On instruments that trade nearly around the clock the day boundary is a convention, not a natural break, which slightly inflates the ranges of days that straddle a rollover.
WHAT IT IS NOT
There are no entry or exit signals here, and none are planned. This is context. A completed range is not a reversal signal, and an unfinished range is not a reason to expect continuation. Trends routinely spend two or three average ranges in a session, which is precisely why the extension odds are shown rather than hidden.
This is an analysis tool, not financial advice. Past distributions do not guarantee future ones. Use it alongside your own risk management and position sizing. Indicator
