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: Rob Kipp who wrote (3832)4/5/1998 4:10:00 PM
From: TechTrader42  Read Replies (2) | Respond to of 11149
 
Rob: I don't know why you're not getting the same results. I've tested the MACD scans, and they give the same values as WOW (and QP if you bring up the charts). You do have to make sure that before you run the scans, you close QP after downloading quotes -- otherwise you'll get yesterday's values. But you're probably doing this. I'd have to see the specific scans you're using in WOW and QP to know why your results differ.

Here's an MACD scan you can use to get values, and then compare with WOW:

//MACD (Variable): Get values for MACD(0); MACDSignal(0); Histogram; and Histogram Percent +/-
//by Brooke

output="macd.lst";
input="ames.lst";
issuetype=common;
exchange nyse,nasdaq,amex;
DaysToLoad=500;

integer a, b, c;
float histogram, histogramprev, percentchange;

a:=13;
b:=34;
c:=89;

Set MACD = a,b,c;

histogram:=MACD(0)-MACDSignal(0); //this creates oscillator to look
//for macd crossing its signal line; 0 represents crossing point
histogramprev:=MACD(-1)-MACDSignal(-1); //yesterday's value

percentchange:=((histogram-histogramprev)/abs(histogramprev+.0000001))*100;

println Symbol:-3, ",", "Close: ":-3,Close(0):7:3,"," , " MACD ", ",", MACD(0):7:4,"," , " MACDSignal ", ",", MACDSignal(0):7:4,"," , " Histogram ", ",", histogram:7:4, " Histogramprev ", ",", histogramprev:7:4, " Histogram percent +/- ", ",", percentchange:7:4;