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

Notification

Icon
Error

Options
Go to last post Go to first unread
RUAGOODP  
#1 Posted : Thursday, July 21, 2005 5:00:31 PM(UTC)
RUAGOODP

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 1/13/2005(UTC)
Posts: 87
Location: perth australia

Below is a formula previously posted by Patrick. Bsetup:=sum(C < Ref(C,-4),4)=4 AND Ref(C,-4) >= Ref(C,-8); BCD:=HighestSince(1,Peak(1,Bsetup,.001),(C<=Ref(L,-2) AND V > 0) + PREV); BUY:=BCD-ValueWhen(1,Bsetup,BCD)=6 AND Ref(BCD-ValueWhen(1,Bsetup,BCD)=6,-1)<>1; BUY I am trying to remove the PREV function to speed up its execution. Has anybody got any ideas? Cheers Norman
Jose  
#2 Posted : Friday, July 22, 2005 8:51:03 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
I don't have MetaStock with me, but I think this should work: [code:1:55ace94b01]Bsetup:=sum(C<Ref(C,-4),4)=4 AND Ref(C,-4)>=Ref(C,-8); BCD:= HighestSince(1,Peak(1,Bsetup,.001),Cum(C<=Ref(L,-2) AND V>0)); BUY:=BCD-ValueWhen(1,Bsetup,BCD)=6 AND Ref(BCD-ValueWhen(1,Bsetup,BCD)=6,-1)<>1; BUY [/code:1:55ace94b01] jose '-) http://metastocktools.com/#metastock
RUAGOODP  
#3 Posted : Friday, July 22, 2005 9:41:07 AM(UTC)
RUAGOODP

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 1/13/2005(UTC)
Posts: 87
Location: perth australia

Hi Jose, That was simple.Thanks for that. Also I guess buying your ADT6 kit is probably not on the cards until you get back from your holidays? Cheers Norman
Jose  
#4 Posted : Saturday, July 23, 2005 5:07:31 AM(UTC)
Jose

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 1/19/2005(UTC)
Posts: 1,065
Location: Koh Pha-Ngan, Earth

Was thanked: 2 time(s) in 2 post(s)
Thanks for the plug, Norman... :oops: Unfortunately I don't have physical access to any of my trading tools whilst I'm away. I thought I that would help me keep away from PCs and the Net, but it hasn't really worked out that way. :) Jose '-) http://metastocktools.com/ADT/ADT-06.htm
RUAGOODP  
#5 Posted : Saturday, July 23, 2005 6:09:16 AM(UTC)
RUAGOODP

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 1/13/2005(UTC)
Posts: 87
Location: perth australia

No problems Jose Cheers Norman
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.