StockFetcher Forums · Filter Exchange · gap prediction based on gains?<< 1 2 3 >>Post Follow-up
chetron
2,817 posts
msg #65468
Ignore chetron
modified
7/26/2008 8:54:01 PM

MAYBE....

ARBY,
HOW I GET MY NUMBERS IS THAT I START LOW AND INCREMENT UP AS I EVALUATE THE RESULTS. I LIKE TO INCREMENT PER THE FIB NUMBERS, 1,2,3,5,8,13,21.....

THE DEBUG TAB HELPS ME, NOT ONLY WITH SYNTAX ERRORS, WITH WHICH LINE OF CODE I SHOULD ALTER DUE TO ITS KNOCKING DOWN TOO MANY/FEW EQUITIES. HOPE THIS HELPS.


Fetcher[


DRAW MEDIAN BOLLINGER(10) LINE
BOLLINGER WIDTH(10) IS AT 13 DAY LOW
WEEKLY RSI(2) INCREASING LAST 1 WEEK
SLOW STOCHASTIC(5,3) FAST %K INCREASING LAST 2 DAY
FI(2) INCREASING LAST 2 DAY

]



johnnyvento
51 posts
msg #65469
Ignore johnnyvento
7/26/2008 8:57:05 PM

why are you busting on me WSG?

johnnyvento
51 posts
msg #65472
Ignore johnnyvento
7/26/2008 10:07:20 PM

can anybody simplify this down to run on SF basic?


set {YUp15 , count(close 1 day ago 15 % above open 1 day ago,1)}
set {YUp15Cnt , count(YUp15 >= 1,100)}

set {gu , count(open > close 1 day ago,1)}
set {gucnt , count(gu >= 1,100)}

set {YUp15AndGU , YUp15 * gu}
set {YUp15AndGuCnt , count(YUp15AndGU >= 1,100)}

YUp15Cnt near YUp15AndGuCnt

add column YUp15Cnt {Up 15 Pct}
add column YUp15AndGuCnt {Up 15 Pct then gaps up}
add column average day range(30)
close > 1

sort column 5 descending

johnnyvento
51 posts
msg #65479
Ignore johnnyvento
7/26/2008 11:51:39 PM

This request is different than TRO's gap filter, which displays statistics for the past 100 days. I would like a filter that can check any given stock upon demand, with a variable that can be changed based on percentage gain (which could be applied back over a specified period, or a fixed period like 1 or 2 years).

I may not be able to write it, but I would highly encourage people from coming into my thread and insulting me, for that you will get my continued scorn and ridicule, since you are the one that started the conflict in the first place.

arby347
87 posts
msg #65480
Ignore arby347
7/27/2008 12:17:32 AM

RIGGS, I was just seeing if I could do a filter from what you wrote:

"The very best way to "predict gaps" has always come off the "Bollinger(10) Squeeze." Look for squeezes that have a positive Weekly RSI(2), and make sure price or the open is near the bottom band, and also incorporate FI(2) increasing as well as Slow Stochastics(5,3)."

The ????? meant I was not sure it represented what you said. I am not sure why you need to be so unfriendly.


WALLSTREETGENIUS
983 posts
msg #65484
Ignore WALLSTREETGENIUS
modified
7/27/2008 1:40:09 AM

arby -

Relax man...this is a posting forum. There's no reason for you to wear your heart on your sleeve. You don't need me as a friend, and you know if you need help, all you have to do is ask right? So next time just ask okay?...and never expect me to be friendly....you've gotta know better then that friend!

Now, here's something that will ALWAYS be a benefit to you...If you ALWAYS follow these 4 rules when it comes to a "squeeze", then you will make a fortune in your lifetime.

1. Make sure 1 of your 2 lead indicators "COG(5,3)" or "FI(2)" are pointing up. If you have both, then you are looking at an extremely strong chance of a breakout! I use "Center of gravity" COG(5,3) instead of Stochastics, because it usually turns 1-day B-4 Sto does. Get to know this indicator, because it's turning points are usually sharp and precise.

2. Bollinger Bands(10) is as flat as a board, or converging with one another (upper & lower bands)

3. And the most important of all...WEEKLY RSI(2) IS IN AN UPTREND!!! Make sure it's NOT tailing off, and I preferable like entries when it's below 50. Any higher then that...you're risking a sharp "tail off" (conslidation), or a sharp new downtrend!

4. In these tight formations, you will almost always see a 3-5 candle formation appear. Usually it's only 1 of 3. The first is the "Mat hold", and the 2nd is the "Rising Three Methods." And the 3rd is "Bullish Kicking." When you see these formations complete...get ready for a rocket ride baby!

**** This is one of the biggest secrets in all of TA! This is the one formula that works 100% of the time! But you have to get in before the W-RSI(2) turns down. In other words...don't enter when W-RSI(2) is nearing it's upper reference line. i.e...80-99. Now, reverse the formula, and you've just landed yourself the most dynamic shorting filter you will ever lay your eyes on! Especially if it's at the top of a chart...and you'll see many. ****

Now go put it to work, and come back and tell me I'm wrong....and one other thing....to get more plays (not that you'll need em), change the "Bollinger Width(10)" to 3,4,5 or 6-Month lows etc....


((( THEMIGHTYSQUEEZE FILTER )))

Fetcher[Show stocks where bollinger width(10) is at a 1 month low
do not draw bollinger width(10) 1 month low
do not draw bollinger diff(10)

Draw Bollinger bands(50,.20)
Draw Bollinger Bands(10,.10)
Draw 3-day slope of Bollinger bands(50,.20)
Draw parabolic Sar
Draw Linear Regression Indicator(20)
Draw Bollinger bands(10)

Draw COG(5,3)
Weekly RSI(2) is above Weekly RSI(2) 1-day ago
Draw Weekly RSI(2) line at 99
Draw Weekly RSI(2) line at 0
FI(2) is above FI(2) 1-day ago

NORMALIZE accumulation distribution */

set{adval, INDPOSITION(accumulation distribution, 60) * 100 }

NORMALIZE RSI(2) */

set{RSval, INDPOSITION(RSI(2), 60) * 100}

NORMALIZE williams %r(2) */

set{wrval, INDPOSITION(williams %r(2), 60) * 100 }


DRAW THE MR CCIWLR CHART

and draw adval on plot wrval
and draw rsval on plot wrval

Draw Bearpower on plot Bullpower
Draw Bullpower line at 0
Draw MACD(4,8)
Draw Williams %R(20) line at -75

volume is above 50000
sort column 3 descending
chart-time 45-days
close is above 5
offset 0

Set{Bullpower, high minus ema(13)}
Set{Bearpower, low minus ema(13)}
set{BLb,days(BullPower is above BullPower 1 day ago,100)}
set{BLa,days(BullPower is below BullPower 1 day ago,100)}
set{BLxBL, BLa - BLb}
set{BRb,days(BearPower is above BearPower 1 day ago,100)}
set{BRa,days(BearPower is below BearPower 1 day ago,100)}
set{BRxBR, BRa - BRb}

set{mhis,indposition(macd(4,8) histogram,60)}
set{mhist,macd(4,8) histogram}
set{mhisb,days(mhist is above 0, 100)}
set{mhisa,days(mhist is below 0, 100)}
set{hstxhst, mhisa - mhisb}
set{var1,count(macd(4,8) histogram 1 day ago < macd histogram(4,8),1)}
set{mhisp,days(var1 < .5,100)}
set{var11,count(macd(4,8) histogram 1 day ago > macd histogram(4,8),1)}
set{mhisn,days(var11 < .5,100)}

set{ upweek, count( weekly close above weekly open, 1) }

ADD COLUMN SEPARATOR
add column sector
add column industry
ADD COLUMN SEPARATOR
add column Weekly RSI(2)
add column Weekly RSI(2) 1-day ago(1dayago)
ADD COLUMN SEPARATOR
add column FI(2)
add column FI(2) 1-day ago(1dayago)
ADD COLUMN SEPARATOR
add column PE
add column EPS
add column ROE
ADD COLUMN SEPARATOR
add column BLxBL
add column BRxBR
ADD COLUMN SEPARATOR
add column mhisp
add column mhisn
add column hstxhst
ADD COLUMN SEPARATOR
add column upweek
ADD COLUMN SEPARATOR
]








arby347
87 posts
msg #65485
Ignore arby347
7/27/2008 2:02:29 AM

RIGGS:
Thanks for all the info. I have gained a lot from your efforts/knowledge shared on these forums. OK,I can deal with your personality quirks. :)

WALLSTREETGENIUS
983 posts
msg #65488
Ignore WALLSTREETGENIUS
7/27/2008 8:30:17 AM

....it's all good arby!....

chetron
2,817 posts
msg #65489
Ignore chetron
7/27/2008 9:07:23 AM

best i could do...
your 100 counts wanted to be greater 1,can't happen, changed to .5
i noted out the "near" line. if you look at the graphs, something ain't right.

Fetcher[


set{var1,close 1 day ago}
set{var2,open 1 day ago}
set{var3,var1 / var2}
set {YUp15 , count(var3 above 1.15 ,1)}
set {YUp15Cnt , count(YUp15 > .5,100)}

set {gu , count(open > close 1 day ago,1)}
set {gucnt , count(gu > .5,100)}

set {YUp15AndGU , YUp15 * gu}
set {YUp15AndGuCnt , count(YUp15AndGU > 1,100)}

/* YUp15Cnt near YUp15AndGuCnt */
draw yup15
draw yup15cnt
draw gu
draw gucnt
draw yup15andgu
draw yup15andgucnt

add column YUp15Cnt {Up 15 Pct}
add column YUp15AndGuCnt {Up 15 Pct then gaps up}
add column average day range(30)
add column var1
add column var2
add column var3
close > 1
volume above 1000000
sort column 5 descending
]



guru_trader
485 posts
msg #65508
Ignore guru_trader
modified
7/27/2008 5:24:37 PM

I just figured out that filters won't fetch if they contain "?"s

Fetcher[
/* Basic Criteria */
and not otcbb
and close between 0.5 and 100
and avgvol(30) > 543210

/* Chart, Date & Column Display Settings */
and chart-length 100 days
and date offset 0
and sort column 8 descending

and add column separator

/* Additional columns to display */
add column average day range(30)

and add column separator

/* What was yesterday's gain or loss */
set{open_yest, open 1 day ago}
set{close_yest, close 1 day ago}
set{open_close_diff, close_yest - open_yest}
set{temp_pct_gl_yest, open_close_diff / open_yest}
set{pct_gl_yest, temp_pct_gl_yest * 100}

/* Did the stock gap up today (1=yes, 0=no) */
and set {gap_up_today, count(open > close_yest, 1)}

/* How many times, over the last 100 days, did this stock gap up following a x% increase yesterday */
and set {up_03pct_yest, count(pct_gl_yest > 03, 1)}
and set{gap_up_today_with_up_03pct_yest, gap_up_today * up_03pct_yest}
and set{03pct, count(gap_up_today_with_up_03pct_yest equals 1,100)}
and add column 03pct

and set {up_06pct_yest, count(pct_gl_yest > 06, 1)}
and set{gap_up_today_with_up_06pct_yest, gap_up_today * up_06pct_yest}
and set{06pct, count(gap_up_today_with_up_06pct_yest equals 1,100)}
and add column 06pct

and set {up_09pct_yest, count(pct_gl_yest > 09, 1)}
and set{gap_up_today_with_up_09pct_yest, gap_up_today * up_09pct_yest}
and set{09pct, count(gap_up_today_with_up_09pct_yest equals 1,100)}
and add column 09pct

and set {up_12pct_yest, count(pct_gl_yest > 12, 1)}
and set{gap_up_today_with_up_12pct_yest, gap_up_today * up_12pct_yest}
and set{12pct, count(gap_up_today_with_up_12pct_yest equals 1,100)}
and add column 12pct

and set {up_15pct_yest, count(pct_gl_yest > 15, 1)}
and set{gap_up_today_with_up_15pct_yest, gap_up_today * up_15pct_yest}
and set{15pct, count(gap_up_today_with_up_15pct_yest equals 1,100)}
and add column 15pct

and set {up_18pct_yest, count(pct_gl_yest > 18, 1)}
and set{gap_up_today_with_up_18pct_yest, gap_up_today * up_18pct_yest}
and set{18pct, count(gap_up_today_with_up_18pct_yest equals 1,100)}
and add column 18pct

and set {up_21pct_yest, count(pct_gl_yest > 21, 1)}
and set{gap_up_today_with_up_21pct_yest, gap_up_today * up_21pct_yest}
and set{21pct, count(gap_up_today_with_up_21pct_yest equals 1,100)}
and add column 21pct

and set {up_25pct_yest, count(pct_gl_yest > 25, 1)}
and set{gap_up_today_with_up_25pct_yest, gap_up_today * up_25pct_yest}
and set{25pct, count(gap_up_today_with_up_25pct_yest equals 1,100)}
and add column 25pct

and set {up_30pct_yest, count(pct_gl_yest > 30, 1)}
and set{gap_up_today_with_up_30pct_yest, gap_up_today * up_30pct_yest}
and set{30pct, count(gap_up_today_with_up_30pct_yest equals 1,100)}
and add column 30pct

and set {up_35pct_yest, count(pct_gl_yest > 35, 1)}
and set{gap_up_today_with_up_35pct_yest, gap_up_today * up_35pct_yest}
and set{35pct, count(gap_up_today_with_up_35pct_yest equals 1,100)}
and add column 35pct
]



StockFetcher Forums · Filter Exchange · gap prediction based on gains?<< 1 2 3 >>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