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

Notification

Icon
Error

Options
Go to last post Go to first unread
realbeginner  
#1 Posted : Wednesday, November 17, 2010 3:25:53 PM(UTC)
realbeginner

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/17/2010(UTC)
Posts: 2

Hi All! Need help with formula to explore:- All daily closing prices which are lower than their $52WkLow + 0.33 X ($52WkHigh - $52WkLow) Thanks.
johnl  
#2 Posted : Wednesday, November 17, 2010 6:46:44 PM(UTC)
johnl

Rank: Advanced Member

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


Try something like:

a1:=LLV(C,52)+(0.33)*(HHV(C,52)-LLV(C,52));
a2:=LLV(C,52)+(0.0)*(HHV(C,52)-LLV(C,52));
a3:=(C>a2)*(C<a1);
a3

Run exploration over (a3=1).
Run over weekly data:


realbeginner  
#3 Posted : Thursday, November 18, 2010 3:42:19 AM(UTC)
realbeginner

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 11/17/2010(UTC)
Posts: 2

Thanks johnl. The 2nd column in the report consist of 0 & 1 where when I checked the search is correct for 1 and wrong for 0. The rejected ones in other tabs had error message. Should I worry? Can you explain a bit more what do you mean by explore over (a3=1)? How to filter the results as I want to get rid the ticks with 0 and keep tickers 1 only.
johnl  
#4 Posted : Thursday, November 18, 2010 7:01:03 PM(UTC)
johnl

Rank: Advanced Member

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




The error messages probably means that security did not have enough data to calculate the HHV() and LLV() functions correctly.
The final plot (a3) will be either 1 or 0. If you use a3=1 as the filter for your exploration,
only those "a3=1"s will show up. The exploration filter is the last right hand column of the
exploration. The other columns just display what ever data you tell each column to calculate..


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.