StockFetcher Forums · Filter Exchange · Random market profie filter<< >>Post Follow-up
202 posts
msg #143351
Ignore tomm1111
4/26/2018 1:58:12 AM

Here is a random market profile filter from my's been a few years so interpretation is open


/*draw fibonacci up(165,10) */
/*draw fibonacci down(165,10)*/
/*draw bollinger bands(20,2)*/
add column separator
add column r2
add column r1
add column pp
add column s1
add column s2
add column separator

/* SPY Bollinger %B(20,2) */
set{spybb,bollinger %b(20,2)}
set{bbvSD10,1.5 * bbvSD}
set{bbvBOLU,bbvMA10 + bbvSD10}
set{bbvBOLD,bbvMA10 - bbvSD10}

draw spybb
draw bbvbold on plot spybb
draw bbvbolu on plot spybb
draw bbvma10 on plot spybb

/* Weekly Williams %R */
set{abc1, Day Position(1,5) - close}
set{abc2, Day Position(1,5) - Day Position(0,5)}
set{q5, abc1 / abc2}
set{weekly_billy,q5 * -100}

set{mabc1, Day Position(1,20) - close}
set{mabc2, Day Position(1,20) - Day Position(0,20)}
set{mq5, mabc1 / mabc2}
set{monthly_billy,mq5 * -100}

draw weekly_billy
draw monthly_billy on plot weekly_billy
draw williams %r(2) on plot weekly_billy

/* OBV */
set{obvvSD10,1.5 * obvvSD}
set{obvvBOLU,obvvMA10 + obvvSD10}
set{obvvBOLD,obvvMA10 - obvvSD10}

draw p_obv
draw obvvbold on plot p_obv
draw obvvbolu on plot p_obv
draw obvvma10 on plot p_obv

/* ETF Opposites rsi(2) */

draw qid
draw qld on plot qid

12,036 posts
msg #143354
Ignore johnpaulca
4/26/2018 11:08:51 AM

good job with this filter Tom.

"Billy" will confuse the newbies on SF
91 posts
msg #143402
4/30/2018 8:20:31 PM

Hi, tomm1111:

I found a filter coded by you that has some general similarities to my ultimate goal.

I am attempting to a run a filter against:

and herein lies my problem:

a list of stocks ranked by the strongest stocks within the industry within the strongest sector.

I have the SF code for determining which sector is the strongest by using EFT's to substitute for each segment.

Would you be willing to take a look at this? Glad to provide you with a few months of membership to my stock indicators on Tradingview.

Please email me at:

Thanks, Michael

202 posts
msg #144470
Ignore tomm1111
8/21/2018 11:54:27 PM

Sorry Michael. I've been away. I can review what you have.

202 posts
msg #144473
Ignore tomm1111
8/22/2018 10:14:45 AM


Yes. "billy" is a blast from the past! As am I, its been a while since i've posted here. I hope all is well with you.

StockFetcher Forums · Filter Exchange · Random market profie filter<< >>Post Follow-up

*** Disclaimer *** 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. does not recommend particular securities., 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.