PROTECTED SOURCE SCRIPT

LSMA ATR

5 492
This indicator combines the Linear Regression Moving Average (LSMA) with the Average True Range (ATR) to detect trend directions and potential reversals. The LSMA is used to determine the trend direction based on its slope, while the ATR, smoothed by a Simple Moving Average (SMA), provides dynamic bands around the LSMA.

Uptrend: Occurs when the LSMA slope is positive and the price is above the LSMA plus a multiple of the smoothed ATR.

Downtrend: Occurs when the LSMA slope is negative and the price is below the LSMA minus a multiple of the smoothed ATR.

Bar Colors: Bars are colored green for an uptrend and red for a downtrend.

The indicator also plots the upper and lower ATR bands around the LSMA to visually represent potential areas of price reversals or trend continuation.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。