StockFetcher Forums · Filter Exchange · An old filter re-written for ooptions<< >>Post Follow-up
graftonian
1,089 posts
msg #146870
Ignore graftonian
3/11/2019 7:12:53 PM

Fetcher[
/*price % oscillator and weekly price % oscillator*/
/****see http://stockcharts.com/school/doku.phpid=chart_school:technical_indicators:price_oscillators_ppo
******/
chart-time is 1 year
/*SYMLIST(SPY,QQQ,IWM,TLT,JNK,GLD,USO,DIA)*/
MARKET IS ETF
Average Volume(30) > 1000000
OPTIONABLE
/*DAILY PPO*/
set{PPO2, cema(close, 10) - cema(close, 24)}
set{PPO1, PPO2 / cema(close, 24)}
set{PPO, PPO1 * 100}
set{signal, cema(PPO, 8)}
draw PPO
draw signal on plot PPO
/*WEEKLY PPO*/
set{WPPO2, cema(close, 50) - cema(close, 120)}
set{WPPO1, WPPO2 / cema(close, 120)}
set{WklyPPO, WPPO1 * 100}
set{Wsignal, cema(wklyppo, 8)}
draw WklyPPO
draw wsignal on plot wklyppo
/*Short and long signals*/
set{lb1, count(ppo > signal, 1)}
set{wlb1, count(wklyppo > wsignal, 1)}
set{long, lb1 * wlb1}
draw long
and add column separator
add column long
/*exit code*/
draw ema(13)
set{sell1, close crossed below ema(13)}
set{sell2, count(long 1 day ago equals 1, 1)}
set{sell, sell1 * sell2}
draw sell

set{short1, count(ppo < signal, 1)}
set{wshort1, count(wklyppo < wsignal, 1)}
set{short, short1 * wshort1}
draw short
add column short
add column separator and add column sell

set{cov1, close crossed above ema(13)}
set{cov2, count(short 1 day ago equals 1, 1)}
set{cover, cov1 * cov2}
draw cover and add column cover
]



StockFetcher Forums · Filter Exchange · An old filter re-written for ooptions<< >>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.