StockFetcher Forums · Filter Exchange · New High Filter<< >>Post Follow-up
Kalin35
2 posts
msg #91104
Ignore Kalin35
4/12/2010 10:00:48 PM

Hi,

How would I make a new filter that is triggered when the current price raises above the pervious 30 day high prices. When using the current high method (example below) it includes the current day, so the price never raises above it.

EXAMPLE:

set{my_high, high 30 day high}
price > my_high

I'm looking for a filter that catches stocks that are starting to run....probably going to add volume increase to filter too. Anyone have other suggestions to add to the filter too?

Thanks

four
4,002 posts
msg #91112
Ignore four
4/12/2010 11:53:16 PM

Fetcher[

set{new_30high, high reached a new 30 day high}
draw new_30high
add column new_30high

set{new_2high, high reached a new 2 day high}
draw new_2high
add column new_2high

volume > average volume(5)
volume > 1000000
close > 1

]



four
4,002 posts
msg #91114
Ignore four
modified
4/13/2010 12:10:21 AM

perhaps. . .

Fetcher[

set{new_30high, high reached a new 30 day high}
draw new_30high
add column new_30high

set{new_2high, high reached a new 2 day high}
draw new_2high
add column new_2high

volume > average volume(5)
volume > 1000000
close > .50

set{diff, new_2high - new_30high}
diff equals 0
new_2high equals 0
new_30high equals 0

rsi(2) < 30
rsi(2) > rsi(2) 1 day ago
]



Kalin35
2 posts
msg #91125
Ignore Kalin35
4/13/2010 8:29:00 AM

Thanks four, but I don't think it is working quite correctly. What is this part of the code doing?

set{diff, new_2high - new_30high}
diff equals 0
new_2high equals 0
new_30high equals 0

Thanks for the help. I'm trying to build on this and then I'll explain the final filter.

heypa
283 posts
msg #91148
Ignore heypa
4/13/2010 7:25:38 PM

KIDS
Fetcher
[high 2 days ago is less than high 30 day high 2 days ago
price reached a new high 30 day high yesterday
high is greater than high yesterday ]

reels
29 posts
msg #91187
Ignore reels
4/14/2010 5:33:07 PM

is this?

high , price or low crossing myhi ... for times BRK is true in days range

Fetcher[
offset 50

set{myhi, high 99 days high}
set{brk,price crossed above myhi 1 days ago}
draw brk

count(brk > 0,1) equals 1
]



Reels.

chetron
2,817 posts
msg #91189
Ignore chetron
4/14/2010 5:55:33 PM

CLICKABLE....

Fetcher[high 2 days ago is less than high 30 day high 2 days ago
price reached a new high 30 day high yesterday
high is greater than high yesterday
]




StockFetcher Forums · Filter Exchange · New High Filter<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus