mslattery@dc.rr.com 91 posts msg #97276 - Ignore mslattery@dc.rr.com |
11/1/2010 1:01:22 PM
Trying to get this filter to produce stocks from a calculation of the center point of the true range and compare it to the center point of the real body and compares that to the close.
Here is the filter I produced:
set{true_range(High + Low /2)}
set{real_body(Open + Close /2)}
Show stocks where true_range < real_body
and real_body < close
My problem is it returns no (zero) stocks,
Can someone point out what I have done wrong?
Thanks Michael
|
miko 68 posts msg #97282 - Ignore miko |
11/1/2010 3:37:05 PM
You tried to do 2 calculations in the set statements, afaik only 1 is permitted (I assume you meant (H+L)/2, what you wrote was H plus one half of the Low). Also, you omitted the comma needed to separate the 2 parts of the set bracket.
|
mslattery@dc.rr.com 91 posts msg #97283 - Ignore mslattery@dc.rr.com |
11/1/2010 6:49:07 PM
Hello Miko:
What an education, thanks for your assistance. Michael
|