Tracks 4 posts msg #143389 - Ignore Tracks |
4/29/2018 9:47:46 AM
Hi folks. I'm new to StockFetcher and looking for a manual or something that explains available functions and math in the filters. I grabbed the userguide, and I have been searching the forums, but results have not been great. For example, just figuring out how to calculate a square root took about 15 minutes to find a reference with an example. It appears that a simple OR statement is not available, which seems odd, so I also have questions about the possibility of nesting statements.
I'm sure most of my questions have already come up, but I can't seem to find a lot of them in the forums or the guide, so I feel like I'm missing something.
Can anyone enlighten me?
|
four 5,087 posts msg #143391 - Ignore four modified |
4/29/2018 1:17:30 PM
https://www.stockfetcher.com/forums/General-Discussion/OR-condition/104282/-1/104288
Here is his way of working with logic:
TheRumpledOne
6,362 posts
msg #104288
- Ignore TheRumpledOne
1/8/2012 8:42:31 PM
I posted this years ago..
I have implemented OR, NOT and AND using SF set and count functions. Now we have a complete logic system within SF. THERE IS NOTHING YOU CAN'T DO NOW!
This should revolutionize SF Filter writing.
Ok, first, before you BLAST me with "SF already has AND", just sit back, relax and OPEN you mind...
Using these functions, you have a complete logic system. You can implement a complete SET THEORY.
OR is greater than 0
AND is equal 2
NOT is equal 0
So by putting each condition you are filtering in a COUNT and then using SET to sum the condition pair, you can test for the OR, AND or NOT condition.
If you don't understand LOGIC or SET THEORY, I suggest you do a www.google.com search.
Those who understand will see the simple elegance of this.
GOOD LUCK WITH YOUR FILTERS!
|