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

Notification

Icon
Error

Options
Go to last post Go to first unread
minnamor  
#1 Posted : Saturday, February 11, 2006 7:41:02 AM(UTC)
minnamor

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/27/2005(UTC)
Posts: 126
Location: Italy

I am trying to replicate a crossing system based on Tillson's T3. Both Indicator and expert give the right signals but in system tester I receive the message:"Period out of valid range in Mov() function". The expert for the system is: Periods:=5;a:=.7; e1:=Mov(P,Periods,E);e2:=Mov(e1,Periods,E);e3:=Mov(e2,Periods,E);e4:=Mov(e3,Periods,E);e5:=Mov(e4,Periods,E);e6:=Mov(e5,Periods,E); c1:=-a*a*a;c2:=3*a*a+3*a*a*a;c3:=-6*a*a-3*a-3*a*a*a;c4:=1+3*a+a*a*a+3*a*a; T3:=c1*e6+c2*e5+c3*e4+c4*e3; LE:= L>Ref(T3,-1); SE:= H<Ref(T3,-1); LX:= Cross(Ref(T3,-1),L); SX:= Cross(H,Ref(T3,-1)); Can somebody help me in solving this problem? Thanks in advance.
StorkBite  
#2 Posted : Saturday, February 11, 2006 6:13:34 PM(UTC)
StorkBite

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 3/19/2005(UTC)
Posts: 2,995

Was thanked: 14 time(s) in 10 post(s)
Hey Minnamor- Replace this line: [code:1:d0e7d5bfa9] e1:=Mov(P,Periods,E);e2:=Mov(e1,Periods,E);e3:=Mov(e2,Periods,E);e4:=Mov(e3,Periods,E);e5:=Mov(e4,Periods,E);e6:=Mov(e5,Periods,E); [/code:1:d0e7d5bfa9] With this line: [code:1:d0e7d5bfa9] e1:=Mov(C,Periods,E);e2:=Mov(e1,Periods,E);e3:=Mov(e2,Periods,E);e4:=Mov(e3,Periods,E);e5:=Mov(e4,Periods,E);e6:=Mov(e5,Periods,E); [/code:1:d0e7d5bfa9] I believe the 'P' variable is giving you the error.
minnamor  
#3 Posted : Saturday, February 11, 2006 10:41:56 PM(UTC)
minnamor

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 4/27/2005(UTC)
Posts: 126
Location: Italy

Thanks. Should have noticed that. Regards.
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.