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

Notification

Icon
Error

Options
Go to last post Go to first unread
FormulaPrimer  
#1 Posted : Friday, June 27, 2014 10:56:06 PM(UTC)
FormulaPrimer

Rank: Advanced Member

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

Just cleaning up my indicators and came across an interesting indicator I was going to analyze
awhile back. Can anyone make sense of what it is doing?

Code:
{Composite Momentum}{Key}MOM:=Mov((Mov(C,3,S)-Mov(C,9,S)),1,E) / Mov(C,3,S) *100;
Key:=Mov(((Ref(Sum(If(MOM>Ref(MOM,-1),MOM-Ref(MOM,-1),0),5),-1)- (Ref(Sum(If(MOM>Ref(MOM,-1),MOM-Ref(MOM,-1),0),5),-1)/5)+ If(MOM>Ref(MOM,-1),MOM-Ref(MOM,-1),0)) / (Ref(Sum(Abs(MOM-Ref(MOM,-1)),5),-1) - (Ref(Sum(Abs(MOM-Ref(MOM,-1)),5),-1)/5) + Abs(MOM-Ref(MOM,-1)))*100) -Abs(((Ref(Sum(If(MOM<Ref(MOM,-1),MOM-Ref(MOM,-1),0),5),-1) - (Ref(Sum(If(MOM<Ref(MOM,-1),MOM-Ref(MOM,-1),0),5),-1)/5)+ If(MOM<Ref(MOM,-1),MOM-Ref(MOM,-1),0)) / (Ref(Sum(Abs(MOM-Ref(MOM,-1)),5),-1) - (Ref(Sum(Abs(MOM-Ref(MOM,-1)),5),-1)/5) + Abs(MOM-Ref(MOM,-1)))*100)), 3, E);
XTL:=(Mov( Stoch(5,3),3,S))*2-100;
Mov(((Key) + (XTL))/2,2,W);
Laisze  
#2 Posted : Sunday, June 29, 2014 11:37:30 AM(UTC)
Laisze

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 11/18/2007(UTC)
Posts: 96
Location: HK

Seems to have no correlation to price whatsover - Osc turning up and down at random.
This is a neater version of an uncorrelated oscillator:

Sval:=Input("Sine value",-720,720,15);
Sin(Cum(Sval))*100


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.