StockFetcher Forums · General Discussion · Newbie needs filter help<< >>Post Follow-up
twayburn
4 posts
msg #98716
Ignore twayburn
1/23/2011 6:20:16 PM

I thought I was doing what everyone else did in writing filters, but I get a syntax error on practically every line. What in the world am I doing wrong? I hope not everything.

Here is the filter:

Set{var1, Williams %R(8)}
Set{var2, Williams %R(21)}
Set{var3, Williams %R(55)}
Set{sum1, Williams %R(8) + 100}
Set{sum2, var2 + 100}
Set {sum3, var3 + 100}
Set {var5, max(sum1, sum2)}
Set {var6, max(sum3, RSI(2))}
Max (var5, var6) < 10
and volume > 400000
and price is above 3
And add column sum1
And add column sum2
And add column sum3
And add column RSI(2)

four
5,087 posts
msg #98717
Ignore four
modified
1/23/2011 6:43:36 PM

Works for me. Click below and see what happens.

Fetcher[
Set{var1, Williams %R(8)}
Set{var2, Williams %R(21)}
Set{var3, Williams %R(55)}
Set{sum1, Williams %R(8) + 100}
Set{sum2, var2 + 100}
Set {sum3, var3 + 100}
Set {var5, max(sum1, sum2)}
Set {var6, max(sum3, RSI(2))}
Max (var5, var6) < 10
and volume > 400000
and price is above 3
And add column sum1
And add column sum2
And add column sum3
And add column RSI(2)
]



twayburn
4 posts
msg #98718
Ignore twayburn
1/23/2011 7:28:14 PM

Thanks, four. I have no idea why it didn't work for me earlier. I am wondering, though, what the meaning is of

Fetcher{ .....


}

four
5,087 posts
msg #98719
Ignore four
modified
1/23/2011 8:18:13 PM

Fetcher[ Place filter inside.This makes the filter clickable.]



USE [ ]

not { }

twayburn
4 posts
msg #98720
Ignore twayburn
1/23/2011 8:22:33 PM

Thanks. I still have many questions for this forum, but that's enough for tonight.



traderseb
36 posts
msg #98737
Ignore traderseb
1/25/2011 7:33:46 AM

Fetcher[Set{sum1, Williams %R(8) + 100}
Set{sum2, Williams %R(21) + 100}
Set{sum3, Williams %R(55) + 100}
Set{var5, max(sum1, sum2)}
Set{var6, max(sum3, RSI(2))}
Max (var5, var6) < 10
and volume > 400000
and price is above 3
And add column sum1
And add column sum2
And add column sum3
And add column RSI(2)
]



simpler coding for same results


StockFetcher Forums · General Discussion · Newbie needs filter help<< >>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 2022 - 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


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.