#twitter-follow { border: 0;position: fixed; top: 240px; left:0;} #live-support { border: 0;position: fixed; top: 370px; left:0;} #knowledge-base { border: 0;position: fixed; top: 170px; left:0;}

## Long/Short Term Moving Average Indicator

by Patrick Fonce, 4936 days ago

The Long/Short Term Moving Average uses several moving averages with different periods to account for long, medium and short term trends. It results from the average of ten different simple moving averages with different lookback periods.

Given a start and end period (Example: 30 and 300), the long/short term moving average indicator calculates ten moving averages with periods that span from "start" to "end" values you have specified. (Given the previous example, the different moving averages will get: 30, 60, 90, 120, 150, 180, 210, 240, 270 and 300). Once these moving averages are computed, the formula averages their values for each trading bar and assigns the result to the long/short term moving average indicator.

The long/short term moving average indicator is more suitable for medium and long term traders. One of its main advantages is that the effects of short term fluctuations are minimized but not ignored. This will greatly reduces the number of false buy and sell signals.

The trading indicator is called "LS_Term_MA" and it contains the following parameters:
Series: This argument gets a time-series. Usually the close price is used but you can create a long/short term moving average of any other indicator or time-series.
Start: This is the lookback period that is used to calculate the first simple moving average.
End: This is the last lookback period. The difference between two simple moving average periods (Step) is calculated by subtracting "End" from "Start" then dividing the result by 9.

What is this?

 Type: Trading Indicator Object ID: 812 Country: All Market: All Style: Technical Analysis

 Related objects Empty
Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

 Random Blog Posts How to create a ratio indicator using QS Trading Software Screening with the composite indicators Synchronize Buy/Sell List of Rules in the Trading System Optimizer QS Trading Software: Global Script New Ranking and Percentile Composite Functions QS Trading Software: Database Optimization Stock Market Prediction with QuantShare Stock Market Prediction Show All

Number of reviews
Average rate
Click to rate this item
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object