PROTECTED SOURCE SCRIPT
LSMA ATR

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.
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.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.