logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
oem7110  
#1 Posted : Thursday, June 26, 2014 6:26:13 AM(UTC)
oem7110

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/30/2005(UTC)
Posts: 120

I would like to know the formula for Chaikin A/D Oscillator in Metastock.

Does anyone have any suggestions?
Thanks in advance for any suggestions :>
FormulaPrimer  
#2 Posted : Thursday, June 26, 2014 4:29:06 PM(UTC)
FormulaPrimer

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 8/12/2005(UTC)
Posts: 73

This is a rough code I came up with:

Code:

{The Chaikin Oscillator is created by subtracting a 10-period exponential moving average of the Accumulation/Distribution Line from a 3-period exponential moving average of the Accumulation/Distribution Line.}
ADL:=(((C-L) - (H-L)) / (H-L))*V;
Mov(ADL,3,E) - Mov(ADL,10,E);
FP
FormulaPrimer  
#3 Posted : Thursday, June 26, 2014 4:33:54 PM(UTC)
FormulaPrimer

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 8/12/2005(UTC)
Posts: 73

This is a rough code I came up with:

Code:
{A/D Calculation}{(((C-L) - (H-L)) / (H-L))*V;}
{The Chaikin Oscillator is created by subtracting a 10-period exponential moving average of the Accumulation/Distribution Line from a 3-period exponential moving average of the Accumulation/Distribution Line.}
ADL:=(((C-L) - (H-L)) / (H-L))*V;
Mov(ADL,3,E) - Mov(ADL,10,E);
FP
mstt  
#4 Posted : Thursday, June 26, 2014 6:36:09 PM(UTC)
mstt

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 7/25/2005(UTC)
Posts: 1,042

Was thanked: 57 time(s) in 54 post(s)
Hi oem

Here's my interpretation of MS code for the Chaikin A/D Oscillator.

{Chaikin AD Oscillator}

M1:=Mov(AD(),3,E);
M2:=Mov(AD(),10,E);
M1-M2;

The AD() function (Advance/Decline) can be broken down into discrete MS code but the results would be either slow to access if generated using PREV, or fractionally inaccurate if using Cum(). The above version appears to be very accurate in spite of the huge numbers calculated by the AD() function.

Roy


oem7110  
#5 Posted : Thursday, June 26, 2014 7:40:22 PM(UTC)
oem7110

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/30/2005(UTC)
Posts: 120

I would like to know Chaikin's multipler using following approach, which parameter is using the same day.
Multipler : ((C-L) - (H-L)) / (H-L)

If there is a gap between today and previous day, and I would like to consider scaling on this range between today and previous day for multipler.

Does anyone have any suggestions?
Thanks, to everyone very much for any suggestions :>



oem7110  
#6 Posted : Thursday, June 26, 2014 7:45:40 PM(UTC)
oem7110

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 12/30/2005(UTC)
Posts: 120

I get a further question on multiper, please see following above for detailed information.
Thanks, to everyone very much for any suggestions :>
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.