Kyle凯尔ATR精控引擎2.0

Blends Heikin Ashi smoothing with a Supertrend-style engine and an EMA filter to generate directional flips (Buy/Sell).
Auto-draws Supply/Demand zones with POI (point of interest) and marks BOS (Break of Structure).
Prints ATR-based Entry, Stop Loss, and TP1/TP2/TP3 levels; includes alerts.
Shows two dashboards: trend & momentum panel (top-right) and liquidity snapshot (bottom-right).
Adds auto trendlines and multi-timeframe horizontal S/R for context.
Quick start
Add the indicator to any symbol/timeframe.
Act on a fresh flip:
Long when direction flips Up and price is above EMA.
Short when direction flips Down and price is below EMA.
Look for confluence: reaction at Demand/Supply, BOS, trendline break, horizontal S/R, ADX > 20, supportive RSI and volume.
Manage risk with the ATR targets. Scale at TP1/TP2, let TP3 run (targets can “roll” after TP3 to rid trends).
Set alerts once per bar close for reliability.
How signals are formed
Heikin Ashi reduces noise by averaging price; ATR bands around HA price form two rails.
Direction flips when HA price crosses the opposite rail; EMA filter blocks counter-trend flips.
Buy/Sell signals are only valid on the bar close.
Supply/Demand, POI & BOS
Swing pivots create Supply (red) above and Demand (green) below; each zone shows a POI mdline.
When price breaks a zone boundary, the script stamps BOS at the midline and retires the old zone.
ATR risk targets
On a fresh signal, the tool snapshots Entry, then computes SL and TP1/2/3 as ATR multiples.
When TP3 hits, the module rolls targets from the new price to help ride sustained trends.
Optional on-chart lines + labels show Entry/SL/TPs.
Dashboards (how to read)
Top-right panel:
Direction (Up/Down/Neutral)
Momentum (close vs close 10 bars ago)
RSI(2) smoothed by 7: oversold/overbought cues + value
Volume bias: OBV minus its EMA (>0 = bullish)
ADX: >20 suggests stronger trend conditions
Multi-TF direction: 1m/5m/15m/1h/4h/D; more agreement = stronger setups
Bottom-right panel (“Liquidity”):
HA bias & intensity %, relative volume vs 20-SMA, and ATR.
Overlays
Trendlines auto-connect short/long window extremes; alerts on breaks.
Multi-TF S/R draws recent pivot highs/lows across selected TFs with de-overlapped labels.
Inputs to tune (common)
ATR Period / Multiplier: higher = smoother, fewer flips.
EMA Period: higher = stricter trend filter.
Supply/Demand: pivot sensitivity (swing_length), zone depth (box_width), number of zones to keep.
Risk/Targets: slMultiplier, tp1/2/3Multiplier (in ATRs), line/label toggles, colors.
Dashboards/Overlays: enable, position, size, S/R TFs, label spacing.
Suggested starting points (XAUUSD, intraday)
ATR(14), ATR Mult 1.3–1.6, EMA 9–21.
Risk: SL = 1.0–1.2 ATR; TPs at 1/2/3 ATR.
S/D: swing_length 8–12, box_width ~2–3.
Adjust per instrument and timeframe.
Example playbooks
Trend continuation: Fresh Buy (Up + above EMA) + pullback into Demand or near the midline; ADX > 20 preferred; scale at TP1/TP2, let TP3 run.
BOS retest: After BOS, trade the first retest into the broken area/POI in alignment with higher-TF direction; confirm with volume bias.
Breakout: Combine trendline break + Buy/Sell flip + S/R breach. Avoid low-liquidity hours.
Alerts included
Buy signal / Sell signal
Trendline break (Up/Down)
TP1/TP2/TP3 reached
Use “Once per bar close”.
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với fymy888888.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.
Hướng dẫn của tác giả
Thông báo miễn trừ trách nhiệm
Tập lệnh chỉ hiển thị cho người được mời
Chỉ những người dùng được tác giả đồng ý mới có thể truy cập tập lệnh này. Bạn cần yêu cầu và xin phép sử dụng tập lệnh này. Quyền truy cập thường được cấp sau khi thanh toán. Để biết thêm chi tiết, hãy làm theo hướng dẫn của tác giả bên dưới hoặc liên hệ trực tiếp với fymy888888.
TradingView KHÔNG khuyến khích trả tiền hoặc sử dụng tập lệnh trừ khi bạn hoàn toàn tin tưởng tác giả và hiểu cách hoạt động của tập lệnh. Bạn cũng có thể tìm thấy các giải pháp thay thế miễn phí, mã nguồn mở trong mục tập lệnh cộng đồng của chúng tôi.