OPEN-SOURCE SCRIPT
업데이트됨 Nifty Reversal Levels

To mark expected reversal levels based on date and time on a Nifty chart
How to set up Alerts on 5-min TF
Switch chart to 5 min
Add indicator → Pine Editor → Paste → Save → Add to chart
Click Alerts (bell icon) → Create Alert
Condition: Nifty Reversal Levels → choose one of the 3 alert conditions
Set "Once Per Bar Close" for the price cross alert
How to set up Alerts on 5-min TF
Switch chart to 5 min
Add indicator → Pine Editor → Paste → Save → Add to chart
Click Alerts (bell icon) → Create Alert
Condition: Nifty Reversal Levels → choose one of the 3 alert conditions
Set "Once Per Bar Close" for the price cross alert
릴리즈 노트
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━NIFTY REVERSAL LEVELS + TIME ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator plots key price reversal levels and intraday
reversal times on the Nifty chart. It automatically evaluates
whether each level was respected (price reversed) or broken
(price continued), and colours the line accordingly.
Best used on the 5-minute timeframe.
─────────────────────────────────────────────────────────
WHAT IT DOES
─────────────────────────────────────────────────────────
PRICE LEVELS
• Draws horizontal lines at each supplied price level
• Monitors each level for a touch (bar high/low crosses it)
• Waits N candles after the touch and delivers a verdict:
→ Green — price reversed back (level was respected)
→ Red — price continued through (level was broken)
→ Yellow — level not yet touched, or verdict still pending
TIME LEVELS
• Draws a vertical dashed line at each reversal time on the
specified date
• Checks the candle direction at that time bar and evaluates
the next N candles:
→ Green — price reversed after the time bar
→ Red — price continued in the same direction
→ Orange — default / pending
INFO TABLE (top-right corner)
• Lists all price levels with distance % from current price
• Lists all time levels with status (Upcoming / Done / NOW)
• Arrows show whether each level is above or below price
─────────────────────────────────────────────────────────
INPUTS
─────────────────────────────────────────────────────────
PRICE LEVELS
Input : Paste levels separated by /
Example: 24476/24356/24266/24206/24146/24086/
24059/23996/23876/23696/23670/23551
Note : Spaces and line breaks are ignored — paste
directly from your levels sheet.
DATE (DD/MM/YYYY)
Input : The date for which time levels apply
Example: 12/05/2026
Note : Vertical time lines are drawn ONLY on this date.
REVERSAL TIMES (HH:MM, IST)
Input : Comma-separated times in 24-hour format
Example: 10:30,12:45,14:55
REVERSAL CHECK CANDLES
Default : 3
Range : 1 – 20
Meaning : How many candles after a touch/time bar to wait
before deciding Respected (green) or Broken (red).
Lower = faster verdict, higher = more confirmation.
COLOURS
Default Level Color — Yellow (untouched / pending)
Respected/Reversal — Green (level held)
Broken Level Color — Red (level broken)
Time Level Color — Orange (vertical lines)
LINE WIDTH
Range: 1 – 5
─────────────────────────────────────────────────────────
ALERTS (set up from the Alerts panel)
─────────────────────────────────────────────────────────
Three alert conditions are built in. Go to:
Alerts (bell icon) → Create Alert → Condition →
select "Nifty Reversal Levels", then pick one below.
1. Price Level Hit
Fires when the current bar's high/low touches any
price level. Message includes price and time.
2. Reversal Time
Fires when the chart bar matches a reversal time on
the target date. Message includes time and price.
3. Any Alert (Price OR Time)
Fires on either of the above — useful if you want a
single notification for all triggers.
Recommended setting: "Once Per Bar" to avoid repeat alerts
on the same candle.
─────────────────────────────────────────────────────────
HOW TO USE
─────────────────────────────────────────────────────────
DAILY SETUP (2 minutes each morning)
Step 1 — Open Settings → Price Levels
Paste today's slash-separated levels.
Step 2 — Open Settings → Date
Set today's date in DD/MM/YYYY format.
Step 3 — Open Settings → Reversal Times
Enter today's reversal times, e.g. 10:30,12:45,14:55
Step 4 — Switch chart to 5-minute timeframe.
Step 5 — Set up your alerts (see Alerts section above).
READING THE CHART
Yellow line → Level not yet tested today. Watch for a
touch and be ready to trade the reaction.
Green line → Level has been tested and held. Price
reversed away within the check window.
Treat as active support/resistance.
Red line → Level was broken. Price pushed through
and did not reverse. May now act as
support-turns-resistance or vice versa.
Orange vertical line → A reversal time has been reached.
Watch for a change in momentum.
Green = reversal happened.
Red = trend continued.
TIPS
• Increase "Reversal Check Candles" to 5 on choppy days
for fewer false verdicts.
• A green level that price returns to later is a high-
probability trade setup.
• When a time level and a price level coincide, the
confluence is significant — size accordingly.
─────────────────────────────────────────────────────────
INPUT FORMAT REFERENCE
─────────────────────────────────────────────────────────
Full example of what to paste each morning:
Price Levels field:
24476/24356/24266/24206/24146/24086/
24059/23996/23876/23696/23670/23551
Date field:
12/05/2026
Reversal Times field:
10:30,12:45,14:55
Reversal Check Candles:
3
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
릴리즈 노트
Bug Fix릴리즈 노트
Added table릴리즈 노트
Bug fix릴리즈 노트
Now Vertical lines for time will be drawn on advance릴리즈 노트
Updated screenshot릴리즈 노트
Overdrawing of time levels updated오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.