Thursday, January 2, 2020

New 78 - Darvas Day High (filter for stockfetcher)

This is the filter that use combining the strength of New 78 Day High and Darvas Box. I named the filter "New 78 - Darvas Day High" and the script below is what extract the type of stock I am looking for.

If you want copy this script and build it into your stockfetcher filter, just copy the following:

/*START OF SCRIPT*/
/*New 78 Day High with Darvas Box*/
symlistsymlist()
Set{hi52w, high 52 week high}
Set{lo52w, low 52 week low}
Set{hi/lo-Ratio, hi52w / lo52w}
SET{X, ATR(20) / CLOSE}
SET{ATR%,X * 100}

Show stocks where close reached New 78 Day High
and price is near the 7 year high
and volume is more than 400% above average volume(365) 1 day ago
and AvgVol(20) is above 250000 /*Tweaked the AvgVol from 100K to 250K to match Trading Ninja*/
and volume is above 50000
AND hi/lo-Ratio IS GREATER THAN 1.85
And Price between .1 and 30

and comparative relative strength(^SPX,90) is above .99
and do not draw comparative relative strength(^SPX,90)
and compare with ^SPX
and chart-length is 2 years


And Market is not OTCBB
and add column RMI(10,1)
and add column RSI(^SPX,90)
and add column ADX(14,30)
and add column Average True Range(14)
and add column Open
and add column High
and add column Low
and add column Close
and add column AvgVol(20)
and add column high 7 year high
and add column ma(30)
and add column ATR(20)
and add column ATR%
and add column hi/lo-Ratio
and add column industry description
AND DRAW DARVAS BOX

and do not draw EMA(18)
and draw EMA(20)
and draw EMA(10)
and do not draw EMA(30)
and draw EMA(50)
and do not draw MA(50)
and do not draw MA(100)
and do not draw EMA(100)
and do not draw MA(200)
and draw EMA(200)
and do not draw Close of New 78 day High
and draw ADX(14,30)
/*and ADX(14) > 30                                L.Williams like 30 with Price touching MA(20)*/
/*A couple of bells and whistles for back testing*/
set{entry, close}
set{target, entry * 1.10}
set{ stop, entry * 0.95}
draw price line at entry
draw price line at target
draw price line at stop
/*END OF SCRIPT*/


1 comment:

  1. Thanks for sharing. It very useful and great blog for eachone.
    Please click here if you wish to receive further offers from us:
       Forex Market
     Financial Market
      Currency Pairs
     Currency Trading

    ReplyDelete

More on Different kind of Trading: Vol High - Prior Vol High Stock Entry - Case on CONL (Granite Shares Trust Granite Shares 2x LON)

CHART: CONL (Granite Shares Trust Granite Shares 2x LON) http://charts.stockfetcher.com/sfchart/OeSm5wo7tZ.png https://www.tradingview.com/x...