Discussions
»
Product and Service Development
»
Formula Assistance
»
How to identify a positive divergence btw the RSI (or MACD) and the price by the Meta explorer
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
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)
|
Discussions
»
Product and Service Development
»
Formula Assistance
»
How to identify a positive divergence btw the RSI (or MACD) and the price by the Meta explorer
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.