OPEN-SOURCE SCRIPT
已更新

ATR, DTR and Stop Loss

268
ATR, DTR and Stop Loss
Compact TradingView overlay table for daily ATR, daily trading range, and ATR-based stop-loss reference levels.

Features
  • Shows ATR / DTR with DTR as a percent of ATR.
  • Shows ATR-based stop-loss guidance using 0.25 ATR and 0.5 ATR.
  • Optional display modes:
    • ATR distance values only
    • Stop prices using close - 0.25 ATR and close - 0.5 ATR
    • Stop prices with ATR distance values in parentheses
  • Default table position is bottom-left.
  • Includes an extra blank spacer row so the table is less likely to be hidden by TradingView UI icons.
  • Uses muted, non-invasive table colors.


Settings
  • Table Position: Choose where the table appears.
  • Text Size: Tiny, Small, Normal, or Large. Default is Normal.
  • ATR Length: Daily ATR period. Default is 14.
  • Stop Loss Format: Choose ATR values, stop prices, or stop prices plus ATR values. Default is Stop Prices.
  • Show $ Prefix: Toggle dollar-style formatting on/off.

版本注释

  • Removed the extra blank spacer row by changing the table from 3 rows to 2.
  • Set Stop Loss Format default to ATR Values.
  • Set Show $ Prefix default to unchecked.
版本注释

  • Updates default colors
版本注释

  • Adds light and dark mode support

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。