PROTECTED SOURCE SCRIPT
מעודכן

Reversal Zones — entry + anchored exit + alerts (fixed)

44
Script Description — Reversal Zones (Entry + Anchored Exit + Alerts)
This indicator automatically identifies potential reversal points in price action using a pattern of 4–5 consecutive candles in one direction followed by a reversal candle.
It then calculates dynamic Buy and Sell Zones based on the average range of recent candles and plots them visually on the chart — helping you identify ideal entry and exit zones with clean precision.
⚙️ How It Works
Pattern Detection:
Looks for 4–5 consecutive candles of the same color (bullish or bearish).
When the next candle reverses direction, that point becomes the reference candle.
Zone Calculation:
Takes the average of the last N candle ranges (default = 5).
X = Average candle range
Y = X ÷ Divisor (default = 10)
Plots:
BUY Zone – Below the low of the bullish reversal candle
(two lines: Low - X and Low - X - Y)
SELL Zone – Above the high of the bearish reversal candle
(two lines: High + X and High + X + Y)
Anchored Zones:
After a Buy signal, the indicator monitors for a new swing high and anchors a Sell zone there.
After a Sell signal, it monitors for a swing low and anchors a Buy zone there.
The original entry zone remains visible and is never overwritten.
Zone Extension:
Each zone extends to the right for a configurable number of bars (extendBars, default = 20).
🔔 Alerts
The script includes built-in alert conditions:
Buy Zone Hit → Triggers when price enters/touches any Buy Zone (entry or anchored).
Sell Zone Hit → Triggers when price enters/touches any Sell Zone (entry or anchored).
You can create alerts by:
Clicking Add Alert (🔔) on the chart.
Selecting this script as the condition.
Choosing Buy Zone Hit or Sell Zone Hit.
Setting alert frequency to “Once Per Bar Close”.
🎨 Customizable Inputs
Candle count (N) → Number of candles used to calculate average range.
Divisor → Controls Y distance (refines zone width).
Extend lines right → Number of bars to extend each zone line.
Minimum / Maximum consecutive candles → Controls pattern sensitivity.
Colors, line width, and label visibility are all adjustable.
💡 Best Use Cases
Identify reversal entry zones in trend exhaustion areas.
Combine with volume spikes or RSI divergence for confluence.
Use alerts for potential option writing or countertrend setups.
🧩 Credits
Created by Neeraj Sakharkarr
Designed for traders who want clean, rule-based reversal setups with automatic entry/exit zones.
הערות שחרור
Script Description — Reversal Zones (Entry + Anchored Exit + Alerts)
This indicator automatically identifies potential reversal points in price action using a pattern of 4–5 consecutive candles in one direction followed by a reversal candle.
It then calculates dynamic Buy and Sell Zones based on the average range of recent candles and plots them visually on the chart — helping you identify ideal entry and exit zones with clean precision.
⚙️ How It Works
Pattern Detection:
Looks for 4–5 consecutive candles of the same color (bullish or bearish).
When the next candle reverses direction, that point becomes the reference candle.
Zone Calculation:
Takes the average of the last N candle ranges (default = 5).
X = Average candle range
Y = X ÷ Divisor (default = 10)
Plots:
BUY Zone – Below the low of the bullish reversal candle
(two lines: Low - X and Low - X - Y)
SELL Zone – Above the high of the bearish reversal candle
(two lines: High + X and High + X + Y)
Anchored Zones:
After a Buy signal, the indicator monitors for a new swing high and anchors a Sell zone there.
After a Sell signal, it monitors for a swing low and anchors a Buy zone there.
The original entry zone remains visible and is never overwritten.
Zone Extension:
Each zone extends to the right for a configurable number of bars (extendBars, default = 20).
🔔 Alerts
The script includes built-in alert conditions:
Buy Zone Hit → Triggers when price enters/touches any Buy Zone (entry or anchored).
Sell Zone Hit → Triggers when price enters/touches any Sell Zone (entry or anchored).
You can create alerts by:
Clicking Add Alert (🔔) on the chart.
Selecting this script as the condition.
Choosing Buy Zone Hit or Sell Zone Hit.
Setting alert frequency to “Once Per Bar Close”.
🎨 Customizable Inputs
Candle count (N) → Number of candles used to calculate average range.
Divisor → Controls Y distance (refines zone width).
Extend lines right → Number of bars to extend each zone line.
Minimum / Maximum consecutive candles → Controls pattern sensitivity.
Colors, line width, and label visibility are all adjustable.
💡 Best Use Cases
Identify reversal entry zones in trend exhaustion areas.
Combine with volume spikes or RSI divergence for confluence.
Use alerts for potential option writing or countertrend setups.
🧩 Credits
Created by Neeraj Sakharkarr
Designed for traders who want clean, rule-based reversal setups with automatic entry/exit zones.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.