Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/1/2009(UTC) Posts: 5
|
Hi All,
I would appreciate your assistance with this basic Explorer. I want to confirm this formula does what I need it to do.
x:= 10; {number of weeks} y:= 0.5; {range between high and low} z:= 80; {percent of bars within range} (Sum((H-L)<=y,x)/x)*100>=z
I need to scan over a number of days (daily bars - not weeks). For example, over a period of 60 days, 80% of that time, the daily range between the daily high price and daily low price is LESS THAN 50 points
Thank you very much in advance
George
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
If you run your exploration on daily bars, the value of X only reflects 10 daily bars or only 2 weeks If you run your exploration on weekly bars, the value of X will reflect 10 weeks
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/1/2009(UTC) Posts: 5
|
Hi henry1224, Thank you very much for your assistance. I'm still learning so just want to be sure. Does the last line of the code mean that the Explorer will find bars that have a daily range Less than OR Equal to 50 points? Appreciate your help Thanks very much Regards George
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
what your exploration is telling you is, if a stock has a daily range of 50 points or less for 80 percent or more of the time , the exploration will show a result of 1 else 0
I think that you also have to differentiate between stocks that are cheap vs stocks that are higher in price, for that, I would look into the Rate of change indicator
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 2/1/2009(UTC) Posts: 5
|
Thank you again for your help and advice
Much appreciated
Kind regards
George
|
|
|
|
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.