StockFetcher Forums · Filter Exchange · mom(12) and a/d<< >>Post Follow-up
lizzydog
32 posts
msg #37324
Ignore lizzydog
8/5/2005 10:56:04 AM

Is it possible to write a filter where the mom(12)shows up on a chart
from 0 to 25% and the A/D line shows up from 75% to 100% and or 0 to
25% for the last 3 months including today
(bottom studies on chart)


TheRumpledOne
6,411 posts
msg #37356
Ignore TheRumpledOne
8/7/2005 11:49:58 PM

Lizzy,

"Is it possible to write a filter where the mom(12)shows up on a chart
from 0 to 25% and the A/D line shows up from 75% to 100% and or 0 to
25% for the last 3 months including today
(bottom studies on chart)"

You can use my MP RSIWLR ANALYZER DISPLAY (or just copy/paste the normalization code) and add in your criteria...

For momentum(12) you would use:

moval below 26

For A/D, you would use either:

adval below 26

or

adval is between 75 and 100

Now for the last 3 months, you would have to include a count or days statement.

I will let you figure that out...

If you can't, post YOUR ATTEMPT(S) and I will help you.



Fetcher[
/* MP RSIWLR ANALYZER DISPLAY */

set{adrng, accumulation distribution 100 day high - accumulation distribution 100 day low}
set{adpct, adrng * .01}
set{adcon, accumulation distribution - accumulation distribution 100 day low}
set{adval, adcon / adpct }

set{morng, momentum(12) 100 day high - momentum(12) 100 day low}
set{mopct, morng * .01}
set{mocon, momentum(12) - momentum(12) 100 day low}
set{moval, mocon / mopct }

set{wrval, Williams %R(10) + 100}


set{rsix, count(rsi(2) between 0 and 20 , 1)}
set{wrx, count(wrval between 0 and 20 , 1)}
set{momox, count(moval between 0 and 30, 1)}
set{accdx, count(adval between 0 and 20, 1)}

set{xBB1, count(HIGH crossed above the upper bollinger band (20),1) - count(LOW crossed below the lower bollinger band (20),1)}

set{xBB2, count(close above the upper bollinger band (20),1) - count(close below the lower bollinger band (20),1)}

set{xBB, xBB1 + xBB2}

set{xLR1, count(HIGH crossed above the top linear regression line(60),1) - count(LOW crossed below the bottom linear regression line(60),1)}

set{xLR2, count(close above the top linear regression line(60),1) - count(close below the bottom linear regression line(60),1)}

set{xLR, xLR1 + xLR2}


set{wBB1, count(HIGH crossed above the weekly upper bollinger band (20),1) - count(LOW crossed below the weekly lower bollinger band (20),1)}

set{wBB2, count(close above the weekly upper bollinger band (20),1) - count(close below the weekly lower bollinger band (20),1)}

set{wBB, wBB1 + wBB2}

set{wLR1, count(HIGH crossed above the weekly top linear regression line(60),1) - count(LOW crossed below the weekly bottom linear regression line(60),1)}

set{wLR2, count(close above the weekly top linear regression line(60),1) - count(close below the weekly bottom linear regression line(60),1)}

set{wLR, wLR1 + wLR2}

set{MoMob,days(Momentum(12) is above Momentum(12) 1 day ago,100)}
set{MoMoa,days(Momentum(12) is below Momentum(12) 1 day ago,100)}
set{M12xM12, MoMoa - MoMob}

set{ACDIb,days(accumulation distribution is above accumulation distribution 1 day ago,100)}
set{ACDIa,days(accumulation distribution is below accumulation distribution 1 day ago,100)}
set{ADxAD, ACDIa - ACDIb}

set{WPRb,days(Williams %R(10) is above Williams %R(10) 1 day ago,100)}
set{WPRa,days(Williams %R(10) is below Williams %R(10) 1 day ago,100)}
set{W10xW10, WPRa - WPRb}

set{rsib,days(rsi(2) is above rsi(2) 1 day ago,100)}
set{rsia,days(rsi(2) is below rsi(2) 1 day ago,100)}
set{R2xR2, rsia - rsib}

set{xc2, rsix + wrx}
set{xc1, xc2 + accdx}
set{RSIWLR, xc1 + momox}


Set{n1, momox * 1}
Set{n2, rsix * 10}
Set{n3, accdx * 100}
Set{n4, wrx * 1000}

Set{na, n1 + n2}
Set{nb, n3 + n4}
Set{WARM, na + nb}

set{rsi60D, count(rsi(2) equal rsi(2) 60 day low, 1)}
set{wr60D, count(Williams %R(10) equal Williams %R(10) 60 day low , 1)}
set{momo60D, count(momentum(12) equal momentum(12) 60 day low, 1)}
set{accd60D, count(accumulation distribution equal accumulation distribution 60 day low, 1)}

add column warm

add column adval
add column moval
add column wrval

add column w10xw10
add column ADxAD

add column r2xr2
add column M12xM12

add column wr60D
add column accd60D
add column rsi60D
add column momo60D

and add column xBB {BBx_}
and add column xLR {LRx_}
and add column wBB {wBBx}
and add column wLR {wLRx}


add column accumulation distribution
add column RSI(2)
add column Williams %R(10)
add column momentum(12)
and add column industry


draw adval
draw moval
draw wrval

draw accumulation distribution
draw rsi(2)
draw Williams %R(10)
draw momentum(12)

/* YOUR SELECTION CRITERIA GOES BELOW THIS LINE */

close above 1
volume above 100000

RSIWLR ABOVE 2

close is less than 1 percent above bottom linear regression line(60)


SORT COLUMN 5 DESCENDING

/* YOUR SELECTION CRITERIA GOES ABOVE THIS LINE */
]



Here's the code:

[Code deleted - Please do not repost the entire screen as text. This is available with the "more..." link. Thank you. - StockFetcher Admin]


MAY ALL YOUR FILLS BE COMPLETE.


lizzydog
32 posts
msg #37370
Ignore lizzydog
8/8/2005 9:45:24 PM

Thanks for the help. I am working on it.


StockFetcher Forums · Filter Exchange · mom(12) and a/d<< >>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.