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 -- Ignore unavailable to you. Want to Upgrade?


To: MrBuzz who wrote (6177)8/27/1998 7:47:00 AM
From: Jan Robert Wolansky  Respond to of 11149
 
Try rerunning the scan with the following line added above Println symbol:

DaysToLoad=500;

Jan



To: MrBuzz who wrote (6177)8/27/1998 8:37:00 AM
From: Sean W. Smith  Read Replies (2) | Respond to of 11149
 
Mr. Buzz try (0,199) is a 200 Day EMA you have a 201. Your're right the second example should say 22 day moving average. Think this will clear up your situation.

Sean



To: MrBuzz who wrote (6177)8/27/1998 9:40:00 AM
From: Gary Lyben  Respond to 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