SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: MrBuzz who wrote (6177)8/27/1998 9:40:00 AM
From: Gary Lyben   of 11149
 
In this example, EMovAvg(0,9,vol) returns today's value for a 10-day EMA of the volume; EMovAvg(0,21,vol) returns today's value for a 21-day EMA of the volume.

The documentation is wrong in this case.

EMovAvg(0,9,vol) returns the 9 day ema of the volume for the most current day. EMovAvg(0,21,vol)returns the 21 day ema.

Also - the ema calculation is sensitive to the number of days used in it's calculation. Use DaysToLoad = 500 or 1000 in order to get a value that is close to what is displayed on the screen.

Using DaysToLoad = 2200 will give a value that matches the one on the screen. To verify it in Metastock, make sure that it has exactly the same number of days loaded as qp does.

Gary
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext