StockFetcher Forums · General Discussion · Weekly performance<< 1 2 >>Post Follow-up
bullrun
27 posts
msg #66300
Ignore bullrun
8/17/2008 2:10:14 AM

Would anyone here know how to create a filter that shows the stocks with the highest gains & losses over the past week?

Thank you very much in advance!

WALLSTREETGENIUS
983 posts
msg #66303
Ignore WALLSTREETGENIUS
modified
8/17/2008 7:17:56 AM

/ * ((( THEMIGHTYRIGGS "TOP GUN'S" OF THE WEEK ))) * /

Fetcher[Price gained more than 5% over the last 1-week

Draw Linear Regression Channel(60)
Draw Draw DMA(28,-14)
Draw Linear Regression Indicator(20)
Draw Bollinger bands(10)

Draw Williams %R(2) line at 0
Draw Projection Oscillator(14) line at 100
Draw RSI(2) line at 99
Draw Weekly RSI(2) line at 99
offset 0

NORMALIZE accumulation distribution */

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

NORMALIZE OBV(1) */

set{obval, INDPOSITION(OBV(1), 60) * 100}

NORMALIZE williams %R(2) */

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

Draw wrval
Draw adval on plot wrval
Draw obval on plot wrval
Draw wrval line at 100

Draw COG(5,3) line at 0
Draw Bearpower on plot Bullpower
Draw Bullpower line at 0
Draw MACD(4,8)
Draw VMACDD line at 0

volume is above 100000
sort column 3 descending
chart-time 45-days
close is above 1

set{WRSb,days(weekly RSI(2) is above weekly RSI(2) 1 day ago,100)}
set{WRSa,days(weekly RSI(2) is below weekly RSI(2) 1 day ago,100)}
set{WRSxWRS, WRSa - WRSb}
set{WWLb,days(weekly williams %R(2) is above weekly Williams %R(2) 1 day ago,100)}
set{WWLa,days(weekly Williams %R(2) is below weekly Williams %R(2) 1 day ago,100)}
set{WWLxWWL, WWLa - WWLb}

set{RSb,days(RSI(2) is above RSI(2) 1 day ago,100)}
set{RSa,days(RSI(2) is below RSI(2) 1 day ago,100)}
set{RSxRS, RSa - RSb}
set{WLb,days(williams %R(2) is above Williams %R(2)
1 day ago,100)}
set{WLa,days(Williams %R(2) is below Williams %R(2)
1 day ago,100)}
set{WLxWL, WLa - WLb}
set{POb,days(Projection Oscillator(14) is above Projection Oscillator(14) 1 day ago,100)}
set{POa,days(Projection Oscillator(14) is below Projection Oscillator(14) 1 day ago,100)}
set{POxPO, POa - POb}

set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

set{VolZ, days(volume < 1,100)}
set{VolUp, days(volume is below volume 1 day ago,100)}
set{VolDn, days(volume is above volume 1 day ago,100)}
set{VolCnt, VolUp - VolDn}

set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}

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{VMACDD,MACD(4,8) histogram}
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)}

ADD COLUMN SEPARATOR
add column industry
ADD COLUMN SEPARATOR
add column PE
add column EPS
add column ROE
ADD COLUMN SEPARATOR
add column adval
add column obval
ADD COLUMN SEPARATOR
add column Weekly RSI(2)
add column Weekly RSI(2) 1-day ago(1dayago)
ADD COLUMN SEPARATOR
add column RSXRS
add column WLXWL
add column POXPO
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 Vdbl
add column volpct
ADD COLUMN SEPARATOR
]




/ * ((( THEMIGHTYRIGGS "TOP LOSERS" OF THE WEEK ))) */

Fetcher[Draw Linear Regression Channel(60)
Draw Draw DMA(28,-14)
Draw Linear Regression Indicator(20)
Draw Bollinger bands(10)

Draw Williams %R(2) line at 0
Draw Projection Oscillator(14) line at 100
Draw RSI(2) line at 99
Draw Weekly RSI(2) line at 99
offset 0

NORMALIZE accumulation distribution */

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

NORMALIZE OBV(1) */

set{obval, INDPOSITION(OBV(1), 60) * 100}

NORMALIZE williams %R(2) */

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

Draw wrval
Draw adval on plot wrval
Draw obval on plot wrval
Draw wrval line at 100

Draw COG(5,3) line at 0
Draw Bearpower on plot Bullpower
Draw Bullpower line at 0
Draw MACD(4,8)
Draw VMACDD line at 0

volume is above 100000
sort column 3 ascending
chart-time 45-days
close is above 1

set{WRSb,days(weekly RSI(2) is above weekly RSI(2) 1 day ago,100)}
set{WRSa,days(weekly RSI(2) is below weekly RSI(2) 1 day ago,100)}
set{WRSxWRS, WRSa - WRSb}
set{WWLb,days(weekly williams %R(2) is above weekly Williams %R(2) 1 day ago,100)}
set{WWLa,days(weekly Williams %R(2) is below weekly Williams %R(2) 1 day ago,100)}
set{WWLxWWL, WWLa - WWLb}

set{RSb,days(RSI(2) is above RSI(2) 1 day ago,100)}
set{RSa,days(RSI(2) is below RSI(2) 1 day ago,100)}
set{RSxRS, RSa - RSb}
set{WLb,days(williams %R(2) is above Williams %R(2)
1 day ago,100)}
set{WLa,days(Williams %R(2) is below Williams %R(2)
1 day ago,100)}
set{WLxWL, WLa - WLb}
set{POb,days(Projection Oscillator(14) is above Projection Oscillator(14) 1 day ago,100)}
set{POa,days(Projection Oscillator(14) is below Projection Oscillator(14) 1 day ago,100)}
set{POxPO, POa - POb}

set{v, volume 1 day ago}
set{volinc, volume - v}
set{volpc, volinc / v}
set{volpct, volpc * 100}

set{VolZ, days(volume < 1,100)}
set{VolUp, days(volume is below volume 1 day ago,100)}
set{VolDn, days(volume is above volume 1 day ago,100)}
set{VolCnt, VolUp - VolDn}

set{vck1, volume 1 day ago }
set{vck, volume / vck1 }
set{vdbl, days(vck < 2, 100)}

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{VMACDD,MACD(4,8) histogram}
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)}

ADD COLUMN SEPARATOR
add column industry
ADD COLUMN SEPARATOR
add column PE
add column EPS
add column ROE
ADD COLUMN SEPARATOR
add column adval
add column obval
ADD COLUMN SEPARATOR
add column Weekly RSI(2)
add column Weekly RSI(2) 1-day ago(1dayago)
ADD COLUMN SEPARATOR
add column RSXRS
add column WLXWL
add column POXPO
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 Vdbl
add column volpct
ADD COLUMN SEPARATOR
]





bullrun
27 posts
msg #66319
Ignore bullrun
8/17/2008 2:26:38 PM

Hi Riggs,
Mucho gracias for the filters. Some of the columns are beyond my grasp though...lol. Thanks again!

WALLSTREETGENIUS
983 posts
msg #66324
Ignore WALLSTREETGENIUS
8/17/2008 3:39:20 PM

Bullrun -

Let me know which one's you need help with, and I'll set em up for you....

bullrun
27 posts
msg #66326
Ignore bullrun
8/17/2008 10:00:18 PM

Riggs,
Would it be ok if I email you privately? I wish there was a way on SF to pm you.

Thanks again!

bullrun
27 posts
msg #66612
Ignore bullrun
8/24/2008 4:06:02 PM

The change % appears to only give the results from the last trading day. Would anyone here know how to create a grand total column for the week. Example would be ABC stock was up 6% last trading day but is up 17% overall for the week. Basically I would like a running total for the week.

Thanks again SF experts!

TheRumpledOne
6,411 posts
msg #66614
Ignore TheRumpledOne
modified
8/24/2008 4:36:03 PM

Fetcher[
/* TRO STAT SCAN for SWING TRADERS - use only on Saturday and Sunday */

set{wclop, weekly close - weekly open}
set{whiop, weekly high - weekly open}
set{Long_Profit, wclop/ weekly open }
set{wkProfitPct, 100 * Long_Profit }

add column wkProfitPct

and add column wclop
and add column whiop

and add column separator
and add column weekly open {wopen}
and add column weekly high {whigh}
and add column weekly low {wlow}
and add column weekly close {wclose}
and add column separator

SYMLIST( GHM,GMXR,CF,TITN,BUCY,POT,ENS,MOS,EZPW,TTES,MEE,APEI,KSU,MEA,CAP,FLS,OLN,ISYS,CLHB,WGOV,BABY,CEDC,AFAM,SNHY,WLL,SYUT,CELG,NOV,NGS,CFX,DXPE,AGU,PQ,LL,FLIR,HIL,RBN,AMED,WAB,GTLS,CNQR,BIDU,CYBS,RIMM,PCLN,CMED,HES,ANSS,CSH,BTE,SID,JST,IIIN,URBN,CMP,CIR,UTHR,CSX,ATVID,FMC,AXYS,MA,MPWR,SPW,OXY,MSB,VMI,BKE,NDSN,TISI,MANT,SXE,AZZ,GRC,SOHU,BMI,ICLR,X,NCIT,SCL,ATW,EOC,EME,MR,VSEC,WBSN,MON,TDY,ARG,IIVI,ARO,ESV,SDA,ACL,HUBG,VAR,NPK,SYNA,FLO,FORR)

sort column 5 descending

chart-display is weekly
]



TheRumpledOne
6,411 posts
msg #66617
Ignore TheRumpledOne
8/24/2008 4:40:50 PM

Fetcher[
/* TRO STAT SCAN for SWING TRADERS - use only on Saturday and Sunday */

set{wclop, weekly close - weekly open}
set{whiop, weekly high - weekly open}
set{Long_Profit, wclop/ weekly open }
set{wkProfitPct, 100 * Long_Profit }

add column wkProfitPct

and add column wclop
and add column whiop

and add column separator
and add column weekly open {wopen}
and add column weekly high {whigh}
and add column weekly low {wlow}
and add column weekly close {wclose}
and add column separator

wkProfitPct above 10
close above 1
average volume(90) above 500000

sort column 5 descending

chart-display is weekly
]



Shows stocks that closed up over 10 percent for the week.

bullrun
27 posts
msg #66627
Ignore bullrun
8/24/2008 9:20:53 PM

TRO,
Perfect! That was what I was looking for. Thank you very much! Now where would I insert show stocks where stock is optionable? Also, for the top losers of the week too.

Thanks again!

FuriousThug
256 posts
msg #66630
Ignore FuriousThug
8/25/2008 12:07:54 AM

anywhere...

put the line:
"stock is optionable"

StockFetcher Forums · General Discussion · Weekly performance<< 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.