StockFetcher Forums · General Discussion · SF Sources of Filter Coding Info POP QUIZ<< 1 2 >>Post Follow-up
nibor100
1,010 posts
msg #152328
Ignore nibor100
5/25/2020 3:43:35 PM

Recently in another thread, Xarlor posted the following to track down SF coding terms/indicators/help etc.

"three places to look when trying to find commands.

1. The manual, which you noticed is not complete.

2. At the top of the site there is "Indicators". Here you would have found your days( command.

3. The forums. This one is harder, but I have found commands in the forums that were not listed in either the manual or the "Indicators" link. One example is PlotType."

Those are all excellent but there are a few more I've discovered while being a SF subscriber; so today's Pop Quiz is to come up with at least 8 other reliable options/places, that I use to find SF coding info when trying to write a filter.

I'm hoping we'll uncover some new ones also...

If I remember I'll post my 8 on Friday.,
Thanks,
Ed S.:


nibor100
1,010 posts
msg #152371
Ignore nibor100
5/30/2020 8:57:59 AM

No one responded to the Pop Quiz so I guess everyone already knows where to find all SF coding info...

In case some don't, here are my 8 other reliable options/places, that I use to find SF coding info when trying to write a filter.

1. There is another SF User Manual created by an SF user is at
https://web.archive.org/web/20150914021151/http://yepher.com/stockfetcher/command.html

2. There is a SF Forum entitled "Announcements" where some coding commands have been introduced over the years but not added to the Indicators and Measures Forum.

3. There is another SF Forum entitled "Filter Phrases" where some additional useful info can be found.

4. At the top of your SF webpage there is an "Examples" tab which if selected will give us a list of coded examples for many different situations and which ends at 'Max of MACD Fast/Slow crossed above 0'.

Each one is clickable as a stand alone filter or you can copy it into your own.

5. For some reason the list of SF Examples is cutoff in the M's but the complete list can be found in the SF Ipad App and there are quite a few more examples.

To make them your own save them inside a new filter on the Ipad app and then open them up in My Filters when you go back to your PC/browser.

6. Go to the Indicators Forum and click on any indicator, then go to the top left and click on the underligned name of the poster which in this case is "StockFetcher". and you'll be taken to list of all of StockFetcher's post over the years which will have some hidden gems and other useful info.

A lot there but reading thru it may prove useful to some.

7. Go to the SF search bar at the top of the Forums screen and enter "Tomb" then click on first result and do the same as in 6. above to find Tomb's historical posts.

He was a very helpful SF help desk guy apparently and you'll find many unrevealed commands in there.

8..Finally, do a search on "Logic ands and ors", then click on first result and scroll down the first post written by "Cegis" and do the same as in 6. above to find Cegis's historical posts which contain some great examples and explanations of unique SF coding logic.

Hope this helps some of you and might relieve Xarlor's workload...
Ed S.



xarlor
561 posts
msg #152373
Ignore xarlor
5/30/2020 12:42:56 PM

Excellent summary nibor!

I feel StockFetcher is like Middle Earth sometimes. There is so much history that it is lost to the years. Then one day, someone leans against the side of cliff and it collapses into a cave, uncovering a long lost civilization full of ancient knowledge.

I wish these could be found catergorized in one place, either a constantly updating manual, the Indicators list, or elsewhere.

There are some real treats in your suggestions.

Positive and negative divergence:

Fetcher[sfPosDiv(MACD Fast Line(12,26,9), MA(3), 10,3) is above 0]


Fetcher[sfNegDiv(MACD Fast Line(12,26,9), MA(3), 10,3) is above 0]



Top and bottom sectors or industries

Fetcher[
/* top 2 performing sectors for today */
Show stocks in top sectors(2,daily)
and close is above 5.00
and average volume(30) is above 250000
and add column sector
]



Fetcher[
/* bottom 10 industries over the last week */
show stocks in bottom industries(10,weekly)
and close is above 5.00
and average volume(30) is above 250000
and add column industry
and add column sector
]



Custom Upper Bollinger Band (CUBB):
Fetcher[set{myvar,RSI(10)}
close is above 10
and RSI(10) crossed above CUBB(RSI(10),10,2.0)
]



Custom Lower Bollinger Band (CLBB):
Fetcher[close is above 10
and CCI(10) crossed below CLBB(CCI(10),15,1.0)
]



Custom Bollinger Band Oscillator(CBBOsc):
Fetcher[close is above 10
and draw CBBOsc(EMA(50),10,2.0)
]



Custom Bollinger Band Width(CBBWidth):
Fetcher[close is above 10
and CBBWidth(RSI(10),20,2.0) reached a new 1 month high
]



Cheese
1,374 posts
msg #152374
Ignore Cheese
5/30/2020 12:55:24 PM

Thank you.

snappyfrog
651 posts
msg #152382
Ignore snappyfrog
5/31/2020 10:58:07 AM

Very nice. I especially like the sfDivergence.

sandjco
648 posts
msg #152383
Ignore sandjco
5/31/2020 1:37:44 PM

@nibor and xarlor
Many thanks for posting the above! I didn't know they existed! More ingredients to play with!

Question: using the sfnegdiv function...how do I code:
price going lower in "x" days vs volume going higher in "x" days?

Thank you.

nibor100
1,010 posts
msg #157193
Ignore nibor100
7/8/2021 12:08:25 PM

@Gene,

This is the old thread that has some of SF undocumented commands and how to find others.

Ed S.

glgene
613 posts
msg #157198
Ignore glgene
7/8/2021 5:41:01 PM

Thank you, Ed.

Much appreciated.

Gene

push5280
197 posts
msg #157201
Ignore push5280
7/8/2021 7:48:00 PM

@nibor

Great post
Thank You !


bushynose
22 posts
msg #157203
Ignore bushynose
7/9/2021 8:02:49 AM

https://www.stockfetcher.com/forums/Filter-Exchange/Sharpe-Allocation-Filter-11-ETS-Want-to-Add-Two-More/134280/-1/134301

Kevin_in_GA, msg #134301

SF added the Sharpe and Sortino ratio functions a while back

Fetcher[
market is S&P 500
add column Sharpe Ratio(63) {sharpe ratio}
add column Sortino Ratio(63) {sortino ratio}
sort on column 5 descending
]





StockFetcher Forums · General Discussion · SF Sources of Filter Coding Info POP QUIZ<< 1 2 >>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.