What's newContact support
PurchaseDownload trialLinks


Least Squares Moving Average Envelope

 

Least Squares Moving Average Envelopes are trading bands plotted around a price. Market reversals occur near the upper and lower bands.

Formula:

Least Squares MA(LSMA) is calculated on the input Argument
upper = LSMA + (Percentage/100)* LSMA
lower = LSMA - (Percentage /100) * LSMA

Parameters:

Period interval with which to calculate an Least Squares moving average.
Percentage Multiply by this value to form upper and lower bands as shown in the formula below

Arguments:

OHLC of TimeFrame, or an output Indicator of a study configured on the TimeFrame

Output Indicators:

upper
middle

Example:

Study Name Expanded in a 3 minute timeframe:

I3_LSMAEnvelope(25,20)(I3CloseI3)_I3

This study Least Squares Moving Average Envelope based on the close of the 3 minute period, with a period of 25 and percentage of 20.

The output indicators names are appended to the studyname, that is if the studyname is sn1 then the outputindicator is

sn1::upper
sn1::middle

 


Copyright © 2000. All Rights Reserved. Storm Chaser Technologies