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

Notification

Icon
Error

Options
Go to last post Go to first unread
childo  
#1 Posted : Sunday, February 19, 2006 10:38:10 PM(UTC)
childo

Rank: Member

Groups: Registered, Registered Users
Joined: 12/16/2005(UTC)
Posts: 18
Location: Brisbane, Australia

Hi all, I'm having trouble with the following Breakout exploration I've come across. When I run the exploration I keep getting....... 'Results of filter formula not defined on calculation date' in the results tab. Much appreciated if anyone could give me a tip as to what maybe wrong? I'm using V9.1. pds1:=21; {HHV (long) breakout periods} pds2:=10; {LLV (short) breakout periods} x:=4; {use Open=1 High=2 Low=3 Close=4 Vol=5} x:=If(x=1,O,If(x=2,H,If(x=3,L,If(x=5,V,C)))); In:=x>Ref(HHV(x,pds1),-1); Out:=x<Ref(LLV(x,pds2),-1); Init:=Cum(In+Out>-1)=1; InInit:=Cum(In)=1; Flag:=BarsSince(Init OR In) < BarsSince(Init OR Out)+InInit; BuyLong:=InInit AND Alert(InInit=0,2) OR Flag AND Alert(Flag=0,2);
Jose  
#2 Posted : Sunday, February 19, 2006 11:45:34 PM(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)
childo wrote:
I'm having trouble with the following Breakout exploration I've come across.
I'm having trouble with it too - there seems to be something missing from it... :crabby: Hmm... maybe this could be missing from the code: [code:1:5d2e20da22] ---8<--------------------------- { Breakout Long signals } { ©Copyright 2003~2006 Jose Silva. The grant of this license is for personal use only - no resale or repackaging allowed. All code remains the property of Jose Silva. http://www.metastocktools.com } ... [/code:1:5d2e20da22] jose '-)
childo  
#3 Posted : Monday, February 20, 2006 12:23:23 PM(UTC)
childo

Rank: Member

Groups: Registered, Registered Users
Joined: 12/16/2005(UTC)
Posts: 18
Location: Brisbane, Australia

Aha..........was missing some of the code..........works fine now......Thanks Jose.
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.