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

Notification

Icon
Error

Options
Go to last post Go to first unread
nakedkurt  
#1 Posted : Saturday, December 25, 2010 5:35:11 AM(UTC)
nakedkurt

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/23/2010(UTC)
Posts: 8

How to write MACD lines crossing zero while macd12,26 is higher than 9, for the explorer? Thanks!
johnl  
#2 Posted : Saturday, December 25, 2010 7:55:26 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

Here is some code you can play around with:

a1:=Mov(C,6,E)-Mov(C,12,E);
a2:=Mov(Mov(C,12,E)-Mov(C,26,E),9,E);
a3:=Cross(MACD(),0);
a1;a2;a3

a2 is what I believe is the MACD with parms and a3 is your crossover.
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.