StockFetcher Forums · Filter Exchange · need help to write a filter for (180's)<< 1 2 >>Post Follow-up
morteza471
132 posts
msg #36796
Ignore morteza471
7/8/2005 5:18:18 PM

this is out of book (HIT AND RUN)"180'S" is a strategy i use to identify stocks that have a one-day trend reversal and then resume the trend. simply stated, it is two-day reversal pattern in the direction of the trend.this setup is one of easier patterns to identify,and with a little practice it will begin to jump out at you.
as i have mentioned,i tend to trade stocks in the direction of the stock's trend.i am constantly looking for strong stocks that are pausing ,and i wait to climb aboard as their move begins(up or down)again.180's is the perfect strategy for this.in an uptrend,this setup waits for strongly trending stocks to close in the bottom of their range one day and close in the top of their range the following day.
RULES FOR BUY
1-on day one the stock must close in the bottom 25 percent of its daily range. on day two ,the stock must close in the top 25 percent of its range
2-the stocks's price must close greater then both its 10-day and 50-day moving average on the day two only.(neither ADX nor RS are needed here since the trend is indicated by price relative to the moving averages)
3- day three only,buy 1/8 point above the day-two high.thank you


TheRumpledOne
6,407 posts
msg #36798
Ignore TheRumpledOne
7/8/2005 8:12:13 PM

Fetcher[
set{d1x, high 1 day ago - low 1 day ago }
set{pctday1, d1x * .25 }
set{c1x, close 1 day ago }
set{low1x, low 1 day ago }
set{e1x, low1x + pctday1}
set{day1, count(c1x below e1x, 1) }

set{pctday2, day point range * .25}
set{High2x, High - pctday2 }
set{day2, count(close above High2x, 1) }

day1 above 0
day2 above 0
close above ma(10)
close above ma(50)

/* for testing
add column d1x
add column pctday1
add column c1x
add column low1x
add column e1x
add column day1
add column pctday2
add column High2x
add column day2
*/

]




CLICK ON THE MAGNIFYING GLASS ICON:


Fetcher[
/* your filter code goes below this line */

set{d1x, high 1 day ago - low 1 day ago }
set{pctday1, d1x * .25 }
set{c1x, close 1 day ago }
set{low1x, low 1 day ago }
set{e1x, low1x + pctday1}
set{day1, count(c1x below e1x, 1) }

set{pctday2, day point range * .25}
set{High2x, High - pctday2 }
set{day2, count(close above High2x, 1) }

day1 above 0
day2 above 0
close above ma(10)
close above ma(50)

sort column 4 descending

/* STOCK DASHBOARD DISPLAY for newbies and old pros */

set{E36b,days(ema(3) is above ema(6),100)}
set{E36a,days(ema(3) is below ema(6),100)}
set{E3xE6, E36a - E36b}

set{E50200b,days(ma(50) is above ma(200),100)}
set{E50200a,days(ma(50) is below ma(200),100)}
set{M50xM200, E50200a - E50200b}

set{E1326b,days(ema(13) is above ema(26),100)}
set{E1326a,days(ema(13) is below ema(26),100)}
set{E13xE26, E1326a - E1326b}

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{CxC, CCa - CCb}

set{E5b,days(close is above ema(5),100)}
set{E5a,days(close is below ema(5),100)}
set{CxE5, E5a - E5b}


set{E50b,days(close is above ma(50),100)}
set{E50a,days(close is below ma(50),100)}
set{CxM50, E50a - E50b}

set{E200b,days(close is above ma(200),100)}
set{E200a,days(close is below ma(200),100)}
set{CxM200, E200a - E200b}


set{T10, count(10 day slope of the close above 0,1)}
set{T60, count(60 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{a1, T200 * 1}
Set{a2, T60 * 10}
Set{a3, T10 * 100}

Set{aa, a1 + a2}
Set{TREND, aa + a3}

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{PARBuy, count(close crossed above Parabolic SAR, 5) }
set{DMIBuy, count( di(14) Difference crossed above 0 , 5) }
set{DMIBuyX, count( di(14) Difference above 0 , 1) }

set{PARSell, count(close crossed below Parabolic SAR, 5) }
set{DMISell, count( di(14) Difference crossed below 0, 5) }
set{DMISellX, count( di(14) Difference below 0, 1) }

set{PARSBuy1, PARBuy * DMIBuy}
set{PARSBuy, PARSBuy1 * DMIBuyX}

set{PARSSell1, PARSell * DMISell}
set{PARSSell, PARSSell1 * DMISellX}

set{PARSTrade, PARSBuy + PARSSell}

set{HiOp, high - open}

set{WRb,days(Williams %R(10) is above Williams %R(10) 1 day ago,100)}
set{WRa,days(Williams %R(10) is below Williams %R(10) 1 day ago,100)}
set{WRxWR, WRa - WRb}

and add column VolCnt
and add column Vdbl
and add column volpct

and add column HiOp
and add column Trend

and add column CxC {CxC_}
and add column CxE5 {CxE5}

and add column E3xE6 {E3xE6}
and add column E13xE26 {E13xE26}


and add column CxM50
and add column CxM200
and add column M50xM200

add column rsi(2)
add column weekly rsi(2)

add column PARSBuy
add column PARSSell

add column WRxWR

and draw RSI(2)
and draw ema(5)

and draw Williams %R(10)

and draw Parabolic SAR
and draw +di(14)
and draw -di(14)
and draw adx(14)
and draw di(14) difference

]



MAY ALL YOUR FILLS BE COMPLETE.


alf44
2,025 posts
msg #36806
Ignore alf44
7/9/2005 3:50:58 PM

I like this trading strategy alot and it is very similar to what I look for in the majority of my trade set-ups.

There is an old trading axiom:

"Buy the Dumps...Sell the Humps...and Don't Diddle in the Middle !"

Put another way...Buy pull-backs in an Uptrend...Short rallys in a Downtrend...and try to avoid trendless or sideways markets.

You want to trade in the direction of the prevailing trend and use these counter-trend moves as possible entry points. This tactic is referred to sometimes as Momentum Retracement or Slope Opposition.

Linda Bradford Raschke has a similar approach in one of her set-ups she calls "The Holy Grail."

Some time ago I posted about it here at SF...

-------------------------------------------------------

alf44 12/31/2003 2:09:21 PM

This set-up is what Linda Bradford Raschke calls "The Holy Grail" !

Not to be in any way confused with the RSI(2) "HG" scan frequently touted on SF by RumpledOne and others!


Rashke's "Holy Grail" is what she calls Momentum Retracement !

GO LONG:
...only after ADX(14) rises above 30 (this indicates a "strong" UPtrend) AND retraces to SUPPORT (ie.Trendline or EMA)...she uses an EMA(20) !

This would be a countertrend decline within an upward trend !

She places a "Buy-Stop" just above the HIGH of the last declining bar and let's that take you into the Long trade !

GO SHORT:
...only after ADX(14) rises above 30 (indicating a "strong" DOWNtrend) AND retraces to RESISTANCE (ie. Trendline or EMA)...again...she uses an EMA(20) !

This would be a countertrend advance within a downward trend !

She places a "Sell-Stop" just below the LOW of the last advancing bar and let's that take you into the SHORT trade !

Price objectives for both of these trades is a retest of the previous High/Low ! Then you have to decide whether it's ONLY a retest OR a continuation of the original trend !

-------------------------------------------------------

Also...nice job by RumpledOne on the filter he posted.


Regards,

alf44 :8^)






TheRumpledOne
6,407 posts
msg #36808
Ignore TheRumpledOne
7/9/2005 4:30:03 PM

*** UNDER CONSTRUCTION ***




set{E20b,days(close is above ema(20),100)}
set{E20a,days(close is below ema(20),100)}
set{CxE20, E20a - E20b}

set{adx14b,days(adx(14) is above 30,100)}
set{adx14a,days(adx(14) is below 30,100)}
set{adx14, adx14a - adx14b}

CxE20 above 0

adx14 above CxE20
low touched ema(20)


add column adx14
add column cxe20

*** UNDER CONSTRUCTION ***




alf44
2,025 posts
msg #36809
Ignore alf44
7/9/2005 4:56:34 PM

Cool !

RumpledOne, keep in mind that ADX just defines "Strength of Trend."

"Direction of Trend" will need to include +DI and -DI (or, some other method).

That is ...

... +DI above -DI defines an UPTREND !

and...

... -DI above +DI defines a DOWNTREND !


----------------------


alf44 :8^)








ittoli
5 posts
msg #36841
Ignore ittoli
7/11/2005 1:21:49 PM

Therumpledone,
how have we to do to add these Basic filters on "My filters" ?
If I click on "add" and at the bottom page where is "next" : doesn,t it go on.
The same happens with copy/paste. If I'd wish to save the BASIC FILTER only (without conditions) How could I to do ?
Thank you
ittoli


TheRumpledOne
6,407 posts
msg #36842
Ignore TheRumpledOne
7/11/2005 4:16:50 PM

Just add this to the bottom of your filter:

/* your filter code goes below this line */



/* STOCK DASHBOARD DISPLAY for newbies and old pros */

set{E36b,days(ema(3) is above ema(6),100)}
set{E36a,days(ema(3) is below ema(6),100)}
set{E3xE6, E36a - E36b}

set{E50200b,days(ma(50) is above ma(200),100)}
set{E50200a,days(ma(50) is below ma(200),100)}
set{M50xM200, E50200a - E50200b}

set{E1326b,days(ema(13) is above ema(26),100)}
set{E1326a,days(ema(13) is below ema(26),100)}
set{E13xE26, E1326a - E1326b}

set{CCb,days(close is above close 1 day ago,100)}
set{CCa,days(close is below close 1 day ago,100)}
set{CxC, CCa - CCb}

set{E5b,days(close is above ema(5),100)}
set{E5a,days(close is below ema(5),100)}
set{CxE5, E5a - E5b}


set{E50b,days(close is above ma(50),100)}
set{E50a,days(close is below ma(50),100)}
set{CxM50, E50a - E50b}

set{E200b,days(close is above ma(200),100)}
set{E200a,days(close is below ma(200),100)}
set{CxM200, E200a - E200b}


set{T10, count(10 day slope of the close above 0,1)}
set{T60, count(60 day slope of the close above 0,1)}
set{T200, count(200 day slope of the close above 0,1)}

Set{a1, T200 * 1}
Set{a2, T60 * 10}
Set{a3, T10 * 100}

Set{aa, a1 + a2}
Set{TREND, aa + a3}

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{PARBuy, count(close crossed above Parabolic SAR, 5) }
set{DMIBuy, count( di(14) Difference crossed above 0 , 5) }
set{DMIBuyX, count( di(14) Difference above 0 , 1) }

set{PARSell, count(close crossed below Parabolic SAR, 5) }
set{DMISell, count( di(14) Difference crossed below 0, 5) }
set{DMISellX, count( di(14) Difference below 0, 1) }

set{PARSBuy1, PARBuy * DMIBuy}
set{PARSBuy, PARSBuy1 * DMIBuyX}

set{PARSSell1, PARSell * DMISell}
set{PARSSell, PARSSell1 * DMISellX}

set{PARSTrade, PARSBuy + PARSSell}

set{HiOp, high - open}

set{WRb,days(Williams %R(10) is above Williams %R(10) 1 day ago,100)}
set{WRa,days(Williams %R(10) is below Williams %R(10) 1 day ago,100)}
set{WRxWR, WRa - WRb}

and add column VolCnt
and add column Vdbl
and add column volpct

and add column HiOp
and add column Trend

and add column CxC {CxC_}
and add column CxE5 {CxE5}

and add column E3xE6 {E3xE6}
and add column E13xE26 {E13xE26}


and add column CxM50
and add column CxM200
and add column M50xM200

add column rsi(2)
add column weekly rsi(2)

add column PARSBuy
add column PARSSell

add column WRxWR

and draw RSI(2)
and draw ema(5)

and draw Williams %R(10)

and draw Parabolic SAR
and draw +di(14)
and draw -di(14)
and draw adx(14)
and draw di(14) difference




ham1198
174 posts
msg #36970
Ignore ham1198
7/18/2005 5:21:44 PM

Fetcher[set{yesterday_high, high 1 day ago}
set{yesterday_low, low 1 day ago}
set{yesterday_close, close 1 day ago}
set{yesterday_range, yesterday_high - yesterday_low}
set{yesterday_price_point, yesterday_close - yesterday_low}
set{yesterday_target, yesterday_range * 0.25}
set{range, high - low}
set{price_point, close - low}
set{target, range * 0.75}
Show stocks where yesterday_price_point is below yesterday_target
and price_point is above target
and close 1 day ago is below MA(10) 1 day ago
and close 1 day ago is below MA(50) 1 day ago
and close is above MA(10)
and close is above MA(50)
and average volume(90) is above 100000
and price is between 1 and 100
and draw MA(10)
and draw MA(50)



joseph
15 posts
msg #36995
Ignore joseph
7/20/2005 3:45:25 PM

alf44 your nuts,just find adx(14) over 30,look at weekly chart to identify trend then pull up daily chart to observe counter trends, learn to trade and never mind the fancy filters,pal


joseph
15 posts
msg #36996
Ignore joseph
7/20/2005 3:50:57 PM

alf44 keep in mind adx by definition identifies the existence or non existence of a trend,to say as you did strength of trend is absolutely incorrect. +di and or -di identify direction of price, case close and please get some sleep.


StockFetcher Forums · Filter Exchange · need help to write a filter for (180's)<< 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.