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: Nazbuster who wrote (7226)10/18/1998 1:02:00 AM
From: Roy Yorgensen  Read Replies (1) | Respond to of 11149
 
Daniel, Just downloaded the data for those stocks to a spreadsheet, via the Excel macros, and got decimal information for them all.

roy



To: Nazbuster who wrote (7226)10/18/1998 10:25:00 AM
From: Richard Estes  Read Replies (1) | Respond to of 11149
 
How do you use such precision? Why is it important?



To: Nazbuster who wrote (7226)10/18/1998 4:13:00 PM
From: Gary Lyben  Respond to of 11149
 
I am having trouble getting decimal values out of ADX, PDM and MDM. They are all showing as integers.

Those values are all rounded off to integer values because that's the way that Welles Wilder describes them in the reference - New Concepts in Technical Trading Systems.

Wow rounds them off, and I think Metastock also rounds them off.

Gary




To: Nazbuster who wrote (7226)10/18/1998 5:06:00 PM
From: Jan Robert Wolansky  Read Replies (2) | Respond to of 11149
 
Daniel, I have ADX in decimals for Metastock:

Periods:=Input("Time Periods",1,100,14);
PlusDM:=If(H>Ref(H,-1) AND L>=Ref(L,-1), H-Ref(H,-1),If(H>Ref(H,-1)
AND L<Ref(L,-1) AND H-Ref(H,-1)>Ref(L,-1)-L, H-Ref(H,-1),0));
PlusDI:=100*Wilders(PlusDM,Periods)/ATR(Periods);

MinusDM:=If(L<Ref(L,-1) AND H<=Ref(H,-1), Ref(L,-1)-L,If(H>Ref(H,-1)
AND L<Ref(L,-1) AND H-Ref(H,-1)<Ref(L,-1)-L, Ref(L,-1)-L,0));
MinusDI:=100*Wilders(MinusDM,Periods)/ATR(Periods) ;
DIDif:=Abs(PlusDI-MinusDI);
DISum:=PlusDI+MinusDI;
ADXFinal:=100*Wilders(DIDif/DISum,Periods);
ADXFinal