Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/11/2005(UTC) Posts: 37
Was thanked: 1 time(s) in 1 post(s)
|
@Patrick,
this is the answer to post http://forum.equis.com/viewtopic.php?t=2880 , can you please copy my answer?
@asdsa.
To simulate the pre build MACD, you can use this formula:
{MACD Custom}
a:=0.15;
b:=0.075;
MovAvg:=9;
ShortMA:= If(Cum(1)=1,C,PREV*(1-a)+C*a);
LongMA:= If(Cum(1)=1,C,PREV*(1-b)+C*b);
cMACD:=ShortMA-LongMA;
cTrigger:=Mov(ShortMA - LongMA,MovAvg,E);
cMACD;Mov(cMACD,MovAvg,E)
Chris
|
|
|
|
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.