shelupinin 120 posts msg #36404 - Ignore shelupinin |
6/22/2005 11:37:26 AM
Hi !
Could someone help me to create filter which will shows stock near a round price value, like near 10usd, 15usd, 20usd etc.... I guess some variables should be used and phrases like "set" but I don't know how to use them :(
thank you in advance
Alex
|
TheRumpledOne 6,411 posts msg #36409 - Ignore TheRumpledOne |
6/22/2005 5:07:46 PM
Crude but effective.
HEY STOCKFETCHER, WHERE'S THE ROUND FUNCTION??
MAY ALL YOUR FILLS BE COMPLETE.
|
TheRumpledOne 6,411 posts msg #36410 - Ignore TheRumpledOne |
6/22/2005 6:07:34 PM
Whoops.. you said "near"...
"Near" seems too wide! Is 15.50 really "near" 15.00?
Would be so much easier with a ROUND FUNCTION!
MAY ALL YOUR FILLS BE COMPLETE.
|
TheRumpledOne 6,411 posts msg #36411 - Ignore TheRumpledOne |
6/22/2005 6:10:35 PM
Still working on this...
|
TheRumpledOne 6,411 posts msg #36412 - Ignore TheRumpledOne |
6/22/2005 6:33:26 PM
Dang, I hate it when I accidently click Post Message!
Need an EDIT BUTTON!!
I need to finish this...
|
shelupinin 120 posts msg #36415 - Ignore shelupinin |
6/23/2005 3:15:18 AM
Hi !
Thank you, TheRumpledOne ! Now I understand how to use "set" function, but still unable to create filter I need :(
How to overcame lack of "or" function?
for example filter
does'nt work because "or" function not working :(((((
|
MrBid 16 posts msg #36416 - Ignore MrBid |
6/23/2005 4:22:03 AM
shelupinin, it's easy !
set{a, 5}
set{a2, a / 100}
set{Lo5, a - a2}
set{Hi5, a + a2}
set{b, 10}
set{b2, b/100}
set{Lo10, b - b2}
set{Hi10, b + b2}
set{C1a,count(close above Lo5,1)}
set{C1b,count(close below Hi5,1)}
set{C2a,count(close above Lo10,1)}
set{C2b,count(close below Hi10,1)}
set {C1, C1a * C1b}
set {C2, C2a * C2b}
set {C1_or_C2, C1 + C2}
C1_or_C2 is above 0.99
and add column C1
and add column C2
|
TheRumpledOne 6,411 posts msg #36420 - Ignore TheRumpledOne |
6/23/2005 9:55:22 AM
Look for my post about Boolean logic.
I show how to implement "OR", "NOT", "AND"
|
TheRumpledOne 6,411 posts msg #43633 - Ignore TheRumpledOne modified |
5/11/2006 3:59:25 PM
Work in progress
|
TheRumpledOne 6,411 posts msg #49148 - Ignore TheRumpledOne modified |
1/11/2007 12:15:13 PM
THANKS AGAIN FOR THE ROUND FUNCTION!!
|