OPEN-SOURCE SCRIPT
מעודכן

Order Block Sniper v2

996
Indicator Logic:

Detects Break of Structure (BOS) — when the close breaks the previous swing high (for bullish) or swing low (for bearish).
Upon BOS, it identifies the Order Block — the last opposite candle before the breakout (bearish candle before bullish BOS, and vice versa).
Draws an OB zone (box) with:
Equilibrium line (50% level)
SL line
Three TP lines (1R, 2R, 3R)

Waits for mitigation — when price returns to the OB zone → generates an ENTRY signal.
A/B/C Grading:
A = Stop hunt + ultra high volume
B = Increased volume
C = Basic



What you see on the chart:

Zones labeled: BUY HUNT [A] RR 1:2.5 or SELL ZONE [C] RR 1:1.3
Dashed TP1 / TP2 / TP3 target lines
Dashed SL line
Upon mitigation: ENTRY A / ENTRY B / ENTRY C label + arrow
Optional FVG zones
Dashboard showing: Trend, Zone (Premium/Discount), Active OBs, Volume, Entries count





Clean zones labeled with A or B (max 3 zones displayed).
TP/SL lines are hidden until price retraces back into the zone.
When price returns to the zone: display ENTRY A 78.5 label + TP1 / TP2 / TP3 target lines with corresponding labels.
הערות שחרור
bug fixed

כתב ויתור

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