OPEN-SOURCE SCRIPT
已更新

ATR Lines from EMA and SMA

172
Lines for scaling out at 2xATR from the 21ema and 5xATR from the 50sma.
發行說明
New Features:

Horizontal lines instead of plotted lines that follow the price action
Editable line width (1-10 pixels)
Customizable colors for each line (EMA upper/lower, SMA upper/lower)
Lines extend to the right and update with each new bar
All parameters are now input-configurable

How it works:

The script calculates ATR levels (of your choosing)
Instead of plotting curves, it creates horizontal lines
The lines are deleted and recreated on each bar to show current levels
Lines extend to the right or can be limited to a certain width

Customization options:

Line width (1-10 pixels)
Individual colors for each of the 4 lines
All the original parameters (EMA/SMA lengths, ATR length, multipliers)

The horizontal lines will now show the current ATR-based support/resistance levels and move dynamically as the EMAs, SMA, and ATR values change with new price data.
發行說明
Updated to allow a settings option to hide the ATR lines after price crosses them.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。