StockFetcher Forums · Filter Exchange · Weekly Price Filter - Need a Little Help<< >>Post Follow-up
davesaint86
725 posts
msg #133761
Ignore davesaint86
modified
1/16/2017 11:51:37 AM

The trigger is not showing up on the price plot and I want to show.
Thanks,
Dave

I changed the filter and to show the price_osc crossing above 0


Fetcher['
*WEEKLY PRICE FILTER*/
* your filter code goes below this line */
//*create threshold as a variable*/
show stocks where price is between 5 and 120 and price_osc crossed above 0
and Average Average Volume(90)is above 500000 and close above ema(50)
set{threshold, WEEKLY low 4 weeks ago}
/*close must be above threshold*/
set{BUY, count(close > threshold,1)}
set{SELL, count(close < threshold,1)}
//*create variables for graphical display*/
set{trigger, close}
set{price_osc, trigger - threshold}


set{Price_Osc_Bar,price_osc}
price above 0
draw Price_Osc_Bar
PlotType{Price_Osc_Bar,zerobar}



and chart-display is weekly
and chart-time 2 year
/*draw threshold and trigger on price plot*/
draw threshold on plot price
draw trigger on plot price
draw price line at threshold
draw price_osc line at 0
draw threshold on trigger plot
do not draw CCI(20)
do not draw RSI(14)
do not draw Slow Stochastic(5,1)
do not draw EMA(10)
do not draw EMA(50)
do not draw weekly EMA(50)
do not draw EMA(250)
add column separator
add column BUY
add column separator
add column SELL
add column separator
add column price_osc{po}
add column separator
add column threshold{thold}
add column separator

sort column 9 descending
]



Fetcher[
*WEEKLY PRICE FILTER*/
* your filter code goes below this line */
//*create threshold as a variable*/
show stocks where price is between 5 and 120 and trigger crossed above threshold
and Average Average Volume(90)is above 500000 and close above ema(50)
set{threshold, WEEKLY low 4 weeks ago}
/*close must be above threshold*/
set{BUY, count(close > threshold,1)}
set{SELL, count(close < threshold,1)}
//*create variables for graphical display*/
set{trigger, close}
set{price_osc, trigger - threshold}
and chart-display is weekly
and chart-time 2 year
/*draw threshold and trigger on price plot*/
draw threshold on plot price
draw trigger on plot price
draw price line at threshold
draw price_osc line at 0
do not draw CCI(20)
do not draw RSI(14)
do not draw Slow Stochastic(5,1)
do not draw EMA(10)
do not draw EMA(50)
do not draw weekly EMA(50)
do not draw EMA(250)
add column separator
add column BUY
add column separator
add column SELL
add column separator
add column price_osc{po}
add column separator
add column threshold{thold}
add column separator

sort column 9 descending
]



nibor100
1,031 posts
msg #133764
Ignore nibor100
1/16/2017 2:13:56 PM

@dave

when I moved

'draw trigger on plot price'

to immediately above

'show stocks where price is between 5 and 120 and trigger crossed above threshold'

your trigger line showed up at each week's closing value.

Not sure why......

Ed S.

StockFetcher Forums · Filter Exchange · Weekly Price Filter - Need a Little Help<< >>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.