Buy Crypto
Markets
Contract
Spot
Earn
Web3 new
Learn
Academy > Technical Analysis > What is The Least Squared Moving Average (LSMA): How To Trade With This Indicator? >

What is The Least Squared Moving Average (LSMA): How To Trade With This Indicator?

2022-02-21 10:57:45

In traditional finance, experienced traders typically utilize various trading tools and technical indicators to time the market and determine the optimal entry and exit points to generate maximum profits. These tools and technical indicators can also be applied to crypto trading and other markets. An example of a technical indicator that traders can use to trade crypto is the Least Squared Moving Average (LSMA), another variation of the Moving Average (MA).

lsma

What Is The Least Squared Moving Average (LSMA)?

The Least Squared Moving Average (LSMA) or Linear Regression Moving Average can be used as a trend and reversal indicator. It’s a technical analysis tool that studies past market data, such as the price and trading volume, and uses it to predict the future direction of an asset’s price. As mentioned previously, the LSMA is a variation of the Moving Average (MA). The MA is a calculation of a particular asset’s average trading price over some time. On the other hand, the LSMA indicator is based on the least-squares method.

What Is The Least-Squares Method?

The least-squares method is a statistical approach that involves a regression analysis. Regression is a statistical method that is often used in finance, investing, and scientific analysis. This statistical method takes a set of data and determines the relationship between a dependent variable and one or more independent variables. The most common form of regression analysis is linear regression, which encompasses finding the best fit for a set of data. An example of a linear regression line is shown in the figure below. In the least-squares method, the best fit line can be obtained by minimizing the sum of squared residuals. Residuals are the difference between the observed value and the estimated value of the variable of interest.

linear regression model
A linear regression model with the blue dots signifying the data points and the red line as the linear regression line. (Source: Medium)

How Is The LSMA Indicator Helpful?

The LSMA indicator helps traders determine whether the market is in an uptrend or a downtrend. As a trend following indicator, the indicator will move upwards when the market is in an uptrend and downwards during a downtrend. The indicator will also continue moving in the direction of a price trend even after the trend has ended. To determine a reversal, the trader would look at the asset price. If the asset LSMA rises above the price during the uptrend, it indicates a possible reversal into a downtrend. In contrast, if the asset LSMA drops below the price during the downtrend, then it means that there might be a possible reversal into the uptrend.

Get 180 welcome bonus at Phemex

How To Recognize Reversals Using The LSMA?

Here are some examples showing readers and novice traders how to use the LSMA to determine possible reversal signals. The figures below will show how to use the LSMA to determine reversals from an uptrend into a downtrend and vice versa. The default LSMA 25 is used. The LSMA 25 takes price data from the past 25 days for the best fit line.

Using The LSMA To Determine An Uptrend

From the figure below, two buy signals are identified using the LSMA indicator (blue line). The first buy signal is located at a Bitcoin (BTC) price of around $46,000. In the figure, after the end of a short downtrend, the price moved up and is above the LSMA. In this example, the price continues upward and rises to around $48,500. Afterward, the price enters a sideways trend. The second buy signal can be identified after the sideways trend at $48,500 using the same LSMA indicator. Similar to the first buy signal, the price is above the LSMA indicator and continues to move upwards. BTC’s price then reaches $51,000 and enters another sideways trend. Traders may consider going long at the points where the buy signals are located.

buy signals using the LMSA indicator
Two buy signals were identified using the LMSA indicator from a BTC price chart from December 18 to December 25, 2021, 1h time frame (Source: TradingView)

Using The LSMA To Determine A Downtrend

A sell signal is identified using the LSMA indicator (blue line) from the figure below. The sell signal is located at a BTC price of around $66,000. In the figure, after a sideways trend, the price moved down and is below the LSMA. In this example, the price continues downward and falls to around $60,000. Traders may consider going short at the points where the sell signal is located.

sell signals using the LSMA indicator
A sell signal was identified using the LSMA indicator from a BTC/USD price chart from November 12 to November 19, 2021, 1h time frame (Source: TradingView)

How To Trade With The LSMA?

Once traders can regularly spot the possible buy and sell signals using the LSMA indicator, they should consider how to enter or exit the market and place their Stop Loss or Take Profit orders. As the crypto market is volatile, the Stop Loss or Take Profit order should not be too close to the entry price, or else it will trigger too quickly. Traders can place Take Profit orders depending on the support and resistance levels. Traders can also place the Take Profit order depending on the reward-to-risk ratio, which is calculated as follows:

(Take Profit price – Entry price) / (Entry price – Stop Loss price) = Reward-to-risk ratio

Using The LSMA To Go Long

The figure below is an example of how to enter a market after locating a buy signal using the LSMA indicator. The corresponding steps are as follows:

  1. The trader identifies a buy signal, where the price is above the LMSA indicator, signifying a possible uptrend.
  2. The trader waits until the next candles show that the asset’s price is increasing, confirming the buy signal. Any candle after the first candle above the LMSA indicator can be the entry point. The trader can also place a trade order and enter at the price point where the support level is located.
  3. The trader places an order around the identified price point of around $48,500 and prepares to go long.
  4. To limit losses, the trader places a Stop Loss order at the lower end of any candle before the buy signal. In this case, the Stop Loss order is placed at around $48,500. The Stop Loss order can be placed at an even lower price depending on the trader’s risk tolerance to prevent an early trigger.
  5. The trader places a Take Profit order to exit the market. In this case, the Take Profit order is placed around the resistance level at $51,000, giving a reward-to-risk ratio of roughly 5.6. The reward-to-risk ratio in this scenario can be considered high. More conservative traders can opt for a lower reward-to-risk ratio of around 1 to 3.
using the LMSA indicator
The exit point, Stop Loss, and entry point for a buy signal identified using the LMSA indicator from a BTC price chart from December 18 to 25, 2021, 1h time frame (Source: TradingView))

Using The LSMA To Go Short

The figure below is an example of how to enter a market after locating a sell signal using the LSMA indicator. The corresponding steps are as follows:

  1. The trader identifies a sell signal, where the price is below the LMSA indicator, signifying a possible downtrend.
  2. The trader waits until the next candles show that the asset’s price is decreasing, confirming the sell signal. Any candle after the first candle above the LMSA indicator can be the entry point. The trader can also place a trade order and enter at the price point where the resistance level is located.
  3. The trader places an order around the identified price point of around $65,200 and prepares to go short. Traders profit by selling their assets at a higher price and repurchasing them later at a lower price.
  4. To limit losses, the trader places a Stop Loss order at the higher end of any candle before the buy signal. In this case, the Stop Loss order is placed at around $66,400. The Stop Loss order can be placed at an even higher price to prevent an early trigger depending on the trader’s risk tolerance.
  5. The trader places a Take Profit order to exit the market. In this case, the Take Profit order is placed around the resistance level at $60,200, giving a reward-to-risk ratio of roughly 4.7. The reward-to-risk ratio in this scenario can be considered high. More conservative traders can opt for a lower reward-to-risk ratio of around 1 to 3.
sell signal with LSMA indicator
The exit point, Stop Loss, and entry point for a sell signal identified using the LSMA indicator from a BTC/USD price chart from November 12 to 19, 2021, 1h time frame (Source: TradingView)

How Reliable Is The LSMA Indicator?

Even though the examples above are all successful, new traders should understand that the LSMA indicator is not used in isolation. Sometimes the price may even continue to drop even though the price appeared above the LSMA. Therefore, experienced traders normally combine the LSMA indicator with other trading indicators or technical analysis tools such as the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD). Through the combination of various analysis tools, traders can better confirm the buy and sell signals and minimize losses.

Earn 8.5% apy on Crypto Interest account

Conclusion

Trading using the LSMA can be very profitable if traders can reliably identify the buy and sell signals by adhering to the identification rules. However, like all trading strategies, trading with the LSMA indicator involves a certain degree of risk. The appearance of a buy or sell signal indicates there is a possibility of a trend reversal and does not guarantee that the reversal will happen. Thus, traders are advised to understand the limitations of the LSMA indicator. In addition, traders should combine this technical indicator with other available trading tools and practice with such tools before utilizing them in trades.


For any inquiries contact us at support@phemex.zendesk.com
Follow our official Twitter | Join our community on Telegram
Trade crypto on the go: Download for iOS | Download for Android
Phemex | Break Through, Break Free
giftRegister to get $180 Welcome Bonus!
Email
Password
Invitation code (Optional)
  • Facebook
  • Twitter
  • LinkedIn
  • Telegram
  • Discord
  • Youtube
Subscribe Phemex

Register on Phemex and begin your crypto journey today

Get $180 to Sign Up

Bonus

The Social Network that Pays YOU!

Engage to Earn 1,350 PT Every Day