Rank: Newbie
Groups: Registered, Registered Users Joined: 12/30/2008(UTC) Posts: 8
|
hi,
I kindly request a ZERO LAG EMA formula to inject my system.
Can someone help me for a zero lag ema formula to add my buy-sell conditons with AND function in order to smooth my system.
thanks,
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/6/2010(UTC) Posts: 113 Location: London
|
_________________________________________________________________________________________________________
{http://www.forexfactory.com/showpost.php?s=5c0fe565b20231f90ce4ea2dfb5a702e&p=154395&postcount=2}
n:=Input("Please enter MA period",3,65500,4);
K:= 2 / (n + 1);
x:= (n - 1) / 2;
ZLMA:= (K * ((2 * C) - ExtFml("Forum.Ref",C,x))) + ((1 - K) * PREV);
ZLMA;
_________________________________________________________________________________________________________
You will need the Forum dll installed to calculate the above.
I've acknowledged the source from another forum (Forex Factory).
|
|
|
|
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.