OPEN-SOURCE SCRIPT

LSMAs

63
This indicator consists of three lines.

The main line (LSMA-A) is the least squares moving average (LSMA).

The second line (SMMA) is the smoothed moving average of the LSMA-A. When the SMMA crosses the LSMA-A below, it generates a BUY signal, while when it crosses the LSMA-A above, it is considered a SELL signal.

Furthermore, an uptrend is considered if the SMMA line is below, or a downtrend if it is above. Along these trend lines, the third line, LSMA-B (another shorter-period least squares moving average) is used to identify peaks and bottoms. This allows for wave analysis.

For optimization, adjusting the shorter period to market conditions is sufficient.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.