OPEN-SOURCE SCRIPT
已更新 ATR Based Entry and Exit Levels

This indicator calculates ATR‑based Entry and Exit levels for every candle using ATR(14) with RMA. Entry = High + ATR, Exit = Low − ATR. All values appear in the Data Window when hovering any candle. Plot lines are transparent by default to keep the chart clean, but can be shown by toggling the indicator visibility. Color‑coded: Entry (green), Exit (red), ATR (purple).
版本注释
Changed the chart and updated the name版本注释
This indicator calculates ATR‑based Entry and Exit levels using Wilder’s RMA smoothing. The default ATR length is set to 14, but traders can modify it to suit different volatility conditions. Entry is defined as High + ATR and Exit as Low − ATR, with all values rounded to two decimals for clean precision. All plots remain fully transparent by default to keep the chart uncluttered, while still showing complete values in the Data Window when hovering over candles.
Ideal for traders who want volatility‑adjusted levels without adding visual noise to their charts.
版本注释
The ATR value itself is intentionally hidden from the chart, data window, and status line using display.none — this prevents the smaller ATR number from collapsing the price scale and compressing candlestick visibility, which is a known TradingView scaling issue when mixing ATR and price values on an overlay pane.版本注释
Added manual ATR multiplier input for fully customizable entry and exit levels.This version now allows traders to define their own ATR percentage or multiple (e.g., 0.30 for 30%, 0.50 for 50%, 1.0 for 100%, 2.0 for 2× ATR).
Entry and exit levels automatically adjust based on the selected multiplier.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。