lsma

 
Does anybody have a 25 period lsma indicator for Metatrader 3?
Many Thanks
 
hmm if you can tell me what lsma stand for i can have a look for it...
 
least square moving average
 
nope i dont have it
do you know how to calculate it? i couldnt find a precise formula...

shrak
 
No it is an indicator apparently available in both tradestation and sierra charts. I will look on the web see if i can find a formula.
 
http://www.linnsoft.com/tour/techind/movAvg.htm
there you can see all moving averages
the lsma is very similar to the epma

the formula can be found on that site;)
i'll try to write the proper indicator for mt3 and mt4 next week


shark=)
 
this is what I have found so far:
Least Square Moving Average
LSMA = Endpoint of Regression Line including current bar and previous n - 1 bars
by the way is it possible to have a 3 minutes charts as opposed to a 1 or a 5 minutes?
 
thats the same formula i found;)

3minute charts
hmm - in general it's not possible...
but you can write an indicator which sums every 3 bars on a 1minute-chart and displays their open,high,low,close... - i suggest you paint vertical lines with that indicator ... in mql4 it's at least "possible"... but the use is not quite high...

but perhaps slawa will implement a field where one can define the timeperiod=)
 
.
 
got it done on my own...

a nice english manual for MQL4 might do the trick seeing that english is a international standard language and most users are english speaking....so honestly I do not see the logic behind not having one from the start
Reason: