OPEN-SOURCE SCRIPT
Cập nhật Sniper Entry

Calculates precise long and short entry levels based on the current candle's open price.
How it works:
1. Rounds the open price to the nearest 'Round Base' value.
2. Adds/subtracts the 'Entry Offset' to get long/short entry levels.
3. Displays labels and dotted lines on the last bar.
Per-ticker presets are supported — different offset and base values are auto-applied based on the symbol.
Entry values are also available in the Data Window (Alt+D) for easy copying.
Settings:
Default Entry Offset — points above/below rounded open (fallback for unlisted tickers).
Default Round Base — rounding increment for open price.
Label Offset — how many bars to the right the labels appear.
How it works:
1. Rounds the open price to the nearest 'Round Base' value.
2. Adds/subtracts the 'Entry Offset' to get long/short entry levels.
3. Displays labels and dotted lines on the last bar.
Per-ticker presets are supported — different offset and base values are auto-applied based on the symbol.
Entry values are also available in the Data Window (Alt+D) for easy copying.
Settings:
Default Entry Offset — points above/below rounded open (fallback for unlisted tickers).
Default Round Base — rounding increment for open price.
Label Offset — how many bars to the right the labels appear.
Phát hành các Ghi chú
Sniper Entry IndicatorA simple breakout/scalp trading indicator designed to generate clean, easy-to-remember entry levels around the current market price.
This tool calculates dynamic entry zones using a 0.03% price offset (or custom per-symbol presets), then rounds levels into psychologically clean numbers for faster decision-making during live trading.
Features
✅ Automatic breakout entry calculation above and below current price
✅ Smart price rounding for cleaner levels
Examples:
77.24 → 77.25
77.26 → 77.30
7796.06 → 7796.10
77906.55 → 77910
✅ Per-instrument custom offsets
Examples:
BTCUSDT → fixed 20 points
XAUUSDT → fixed 2 points
Other symbols → automatic 0.03% offset
✅ Designed for scalping / momentum breakout trading
How it works
The indicator:
Takes the current candle open price
Calculates breakout distance
Fixed offset for selected symbols
Dynamic percentage offset for others
Generates:
Long Entry
Short Entry
Rounds entries into clean trading levels
Example:
Open Price: 77906.55
0.03% Offset: 23.37
Generated levels:
Long Entry: 77930
Short Entry: 77880
Best use cases
Scalping
Breakout trading
Momentum entries
Intraday sniper setups
Fast decision execution
Important note
This indicator provides entry reference levels only.
It does NOT include:
Stop loss
Targets
Trend confirmation
Risk management logic
Always combine with your own strategy, price action, volume, or market structure confirmation.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.