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

Notification

Icon
Error

Options
Go to last post Go to first unread
Chung Nguyen  
#1 Posted : Wednesday, March 23, 2011 10:50:37 AM(UTC)
Chung Nguyen

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/20/2009(UTC)
Posts: 6

Hi all. I am newbie. I want to use the Meta explorer to scan securities with a positive divergence between the RSI (or MACD) and the Price. Below is my formula but it seems not a proper one. Pls help to fix it. Below is my one: IF((Linregslope(RSI(14), 5) >0) And (Linregslope(C, 5)<0),1,0) in which "1" means having positive divergence, "0" is having no signal. Thank you
johnl  
#2 Posted : Wednesday, March 23, 2011 7:33:30 PM(UTC)
johnl

Rank: Advanced Member

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

The first part is conditional but not the second so won't be 1 or 0.

a1:=LinRegSlope(RSI(14),5)>0;
a2:=LinRegSlope(C,5);
a3:=a1*a2;
a3



Chung Nguyen  
#3 Posted : Monday, March 28, 2011 10:06:25 AM(UTC)
Chung Nguyen

Rank: Newbie

Groups: Registered, Registered Users
Joined: 12/20/2009(UTC)
Posts: 6

TQ jolnl Thru your formular then we just only plot the a3 into the chart by using the Indicator Builder. But I need to use the Explorer to scan securiieses. Anyone can help pls, TQ
johnl  
#4 Posted : Monday, March 28, 2011 7:10:10 PM(UTC)
johnl

Rank: Advanced Member

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

You want to create some sort of condition for "a2" so that "a3" is either 1 or 0.
Like:

a1:=LinRegSlope(RSI(14),5)>0;
a2:=LinRegSlope(C,5)<0.5;
a3:=a1*a2;
a3

Then you can use the above indicator =1 as your filter for your explorer.
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.