OPEN-SOURCE SCRIPT

LSMAs

39
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 SELL signal, while when it crosses the LSMA-A above, it is considered a BUY signal.

Furthermore, an uptrend is considered if the SMMA line is above, or a downtrend if it is below. 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.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.