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

Notification

Icon
Error

Options
Go to last post Go to first unread
henry1224  
#1 Posted : Sunday, July 17, 2005 12:33:03 AM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
Per1:=Input("divide",1,144,40); A:=C/Per1; Marge:=If(A>144,144,If(A>89,89,If(A>55,55,If(A>34,34,If(A>21,21,If(A>13,13,If(A>8,8,If(A>5,5,If(A>3,3,If(A>2,2,If(A<>1,1,0))))))))))); Trapabs:= If( Ref(C,-1)>=PREV AND C>(PREV+marge) , C-marge, If( Ref(C,-1)>=PREV AND C>=PREV,PREV, If(Ref(C,-1)>=PREV AND C<PREV,C+marge, If(Ref(C,-1) <PREV AND C<(PREV-marge), C+marge, If(Ref(C,-1) <PREV AND C<=PREV, PREV,If(Ref(C,-1)<PREV AND C>PREV, C-marge,0)))))); MA:=Mov(Trapabs,5,S); MA; Trapabs;
Jose  
#2 Posted : Sunday, July 17, 2005 7:53:56 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)
14 Prev functions within one indicator - this has to be a new record... :o jose '-) http://metastocktools.com
wabbit  
#3 Posted : Sunday, July 17, 2005 11:53:13 AM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
5 PREVs saved so far... will keep working on it! --8<------------------------------ {Henry1224 - TrapAbs Indicator} {modified by wabbit 17Jul05} A:=C/Input("divide",1,144,40); Marge:=If(A>144,144,If(A>89,89,If(A>55,55,If(A>34,34,If(A>21,21,If(A>13,13,If(A>8,8,If(A>5,5,If(A>3,3,If(A>2,2,1)))))))))); Trapabs:=If(Ref(C,-1)>=PREV, (If(C>(PREV+marge),C-marge,If(C>=PREV,PREV,If(C<PREV,C+marge,0)))), (If(C<(PREV-marge),C+marge,If(C<=PREV,PREV,If(C>PREV,C-marge,0))))); MA:=Mov(Trapabs,5,S); {plots} MA; Trapabs; --8<------------------------------ wabbit :D [Edit] Seven down, wonder how many to go? --8<------------------------------ {Henry1224 - TrapAbs Indicator} {modified by wabbit 17Jul05} A:=C/Input("divide",1,144,40); Marge:=If(A>144,144,If(A>89,89,If(A>55,55,If(A>34,34,If(A>21,21,If(A>13,13,If(A>8,8,If(A>5,5,If(A>3,3,If(A>2,2,1)))))))))); Trapabs:=If(Ref(C,-1)>=PREV, (If(C>(PREV+marge),C-marge,If(C>=PREV,PREV,C+marge))), (If(C<(PREV-marge),C+marge,If(C<=PREV,PREV,C-marge)))); MA:=Mov(Trapabs,5,S); {plots} MA; Trapabs; --8<------------------------------ wabbit :D
wabbit  
#4 Posted : Sunday, July 17, 2005 12:02:34 PM(UTC)
wabbit

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 3,111
Location: Perth, Western Australia

Was thanked: 16 time(s) in 16 post(s)
Henry, I think that about all I can do with this one..... mind sharing the secret of what its supposed to be doing? I get the fib numbers bit, but the rest :?: wabbit :D
henry1224  
#5 Posted : Sunday, July 17, 2005 12:51:28 PM(UTC)
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 2 time(s) in 2 post(s)
A trader from years ago ask about an adaptive stop based on fib numbers this is the indicator that we developed
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.