StockFetcher Forums · Filter Exchange · Price above EMA(13) filter.<< 1 2 3 4 5 ... 6 >>Post Follow-up
Mactheriverrat
3,153 posts
msg #128525
Ignore Mactheriverrat
modified
5/17/2016 4:33:28 PM

Dow down 180
S&P down 19
NASDAQ down 59

Price above EMA(13) Filter shows with price above 1 with 100000 in volume shows 1079 stocks.

Hmmmmm!



Fetcher[Show stocks where price is above EMA(13)
Draw MA(50)
Volume is above 100000
Price is above 1
Chart-time is 1 year
Market is not OTCBB
market is not etf
add column average day range(30)

do not draw average day range(30)
Draw RSI(9) line at 85
Draw RSI(9) line at 70
Draw RSI(9) line at 50
draw weekly IFT(2,1)
BxB is number of consecutive days Ema(13) above (+)/below(-) previous ema(13) and set{BBb,days( Ema(13) is above ema(13) 1 day ago,100)}
set{BBa,days( Ema(13) is below ema(13) 1 day ago,100)} set{BxB, BBa - BBb} and add column BxB {B_x_B}

do not Draw BxB


CxC is number of consecutive days close above (+)/below(-) previous close and 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} and add column CxC {C_x_C}

do not draw CxC
]



graftonian
1,089 posts
msg #128574
Ignore graftonian
5/19/2016 2:19:53 PM

Mac@
I do not know why some of my posts wil not become active when I post. Any ideas?

I am working on incorporating your code using the DAYS() function, but its all new to me. I feel like a monkey staring at a wrist watch.


fetcher[market is not OTCBB
Average Volume(30) > 500000
draw ema(13)
/*COMPUTE AVERAGE OF DAILY HIGH, LOW, OPEN, AND CLOSE*/
set{x1, low}
set{x2, x1 + high}
set{x3, x2 + open}
set{x4, x3 + close}
set{x, x4 / 4}
draw x
set{ema13, ema(13)}
draw ema13 on plot x
/*SHOW DAYS WHEN X CROSSED ABOVE(AND BELOW) EMA13*/
set{X_up, count(X crossed above ema(13), 1)}
draw X_up
set{X_down, count(X crossed below ema(13), 1)}
draw X_down
draw Williams %R(60)
draw Williams %R(60) line at -65
set{W, count(Williams %R(60) > -65, 1)}
draw W
/*A MODULE TO COMPARE STOCK TO SPY*/
DRAW IFT(5,9)
set{SPY_IFT, ind(spy,ift(5, 9))}
draw SPY_IFT ON PLOT IFT(5,9)
draw SPY_IFT line at -.50
Draw SPY_IFT X line at .50

/*THE FILTER*/
x > ema13
Williams %R(60) CROSSED ABOVE -65
x > ema(13)

/*SORT ON BIGGIST MOVERS*/
add column Average Day Range(10)
add column 3 day slope of ema13
sort on column 6 descending
chart-time is 2 months
SET{VolX, VOLUME / Average Volume(30)}
ADD COLUMN VolX
/*BELLS AND WHISTLES*/
set{ENTRY, CLOSE}
DRAW PRICE LINE AT ENTRY
SET{5PCT_TGT, ENTRY * 1.05}
DRAW PRICE LINE AT 5PCT_TGT
/*ADDED ON 5/18*/
DRAW IFT(5,9)
DRAW IFT(5,9) LINE AT .5
DRAW IFT(5,9) LINE AT -.5
DRAW IFT(5,9) LINE AT 1
DRAW IFT(5,9) LINE AT -1

/*BUY INFO rev 5/17*/
SET{FOLIO_CASH, 25000}/*to suit your piggy bank*/
SET{CASH_PER_TRADE, FOLIO_CASH /10}/*how much of stash do you want bet?*/
SET{RISK_PER_TRADE, FOLIO_CASH / 100}/*and how much to risk*/
SET{2ATR, ATR(10) * 2}
SET{STOPLOSS, CLOSE - 2ATR}/*set stoploss at 2 x ATR(10)*/
DRAW PRICE LINE AT STOPLOSS
/*MONEY MANAGEMENT*/
SET{SL, CASH_PER_TRADE / CLOSE}
SET{RL, RISK_PER_TRADE / 2ATR}
SET{LS1, MIN(SL, RL)}/*lot size is minimum of cash or risk*/
/*all this to round down*/
SET{LS2, ROUND(LS1)}
SET{LS3, LS2 / 10}
SET{LS4, FLOOR(LS3)}
SET{LotSize, LS4 * 10}
/**/
SET{CASH_REQ, LotSize * CLOSE}
ADD COLUMN SEPARATOR
ADD COLUMN LotSize
ADD COLUMN CASH_REQ
ADD COLUMN 2ATR
ADD COLUMN STOPLOSS]


johnpaulca
12,036 posts
msg #128576
Ignore johnpaulca
5/19/2016 3:03:51 PM

Something like this...

Fetcher[
market is not OTCBB
Average Volume(30) > 500000
draw ema(13)
/*COMPUTE AVERAGE OF DAILY HIGH, LOW, OPEN, AND CLOSE*/
set{x1, low}
set{x2, x1 + high}
set{x3, x2 + open}
set{x4, x3 + close}
set{x, x4 / 4}
draw x
set{ema13, ema(13)}
draw ema13 on plot x
/*SHOW DAYS WHEN X CROSSED ABOVE(AND BELOW) EMA13*/
set{X_up, count(X crossed above ema(13), 1)}
draw X_up
set{X_down, count(X crossed below ema(13), 1)}
draw X_down
draw Williams %R(60)
draw Williams %R(60) line at -65
set{W, count(Williams %R(60) > -65, 1)}
draw W
/*A MODULE TO COMPARE STOCK TO SPY*/
DRAW IFT(5,9)
set{SPY_IFT, ind(spy,ift(5, 9))}
draw SPY_IFT ON PLOT IFT(5,9)
draw SPY_IFT line at -.50
Draw SPY_IFT X line at .50
]



graftonian
1,089 posts
msg #128577
Ignore graftonian
5/19/2016 3:11:18 PM

What was I doing wrong? Must be the spaces, right?

graftonian
1,089 posts
msg #128584
Ignore graftonian
5/19/2016 7:15:32 PM

Mac@ For your viewing pleasure.
I've decided april 28 was the day the S&P started going south. At the beginning of April this filter would pick up 50 or more candidates, and after 4/28 only 1 or 2; and they were not much to write home about.

This morning I was planning to get a position in TROV, but oversleeping killed that idea.

Fetcher[DRAW EMA(13)
SET{VolX , VOLUME / Average Volume(30)}
ADD COLUMN VolX
CLOSE > CLOSE 1 DAY AGO
SET{DAYS_VOL_UP, DAYS(VOLUME < VOLUME 1 DAY AGO, 10)}
ADD COLUMN DAYS_VOL_UP
SET{DAYS_PRICE_UP, DAYS(CLOSE < CLOSE 1 DAY AGO, 10)}
ADD COLUMN DAYS_PRICE_UP
SET{DAYS_OVER_EMA13, DAYS(CLOSE < EMA(13),10)}
ADD COLUMN DAYS_OVER_EMA13
/* NOW, WHAT TO DO WITH IT ALL */
SET{SN1, DAYS_VOL_UP + DAYS_PRICE_UP}
SET{SN2, SN1 + DAYS_OVER_EMA13}
SET{SORT_NUM, SN2 * VolX}
ADD COLUMN SORT_NUM
SORT ON COLUMN 9 DESCENDING
CHART-TIME IS 5 MONTHS
/*NOW GET RID OF THE DEADWOOD*/
DAYS_VOL_UP > 2
DAYS_PRICE_UP > 2
DAYS_OVER_EMA13 > 2
/*B AND W*/
SET{CUR_PRICE, CLOSE}
DRAW PRICE LINE AT CUR_PRICE
SET{TARGET, CLOSE * 1.10}
DRAW PRICE LINE AT TARGET
]






pthomas215
1,251 posts
msg #128586
Ignore pthomas215
5/19/2016 9:06:03 PM

graftonian, would be careful going long on trov in the short term. its now up against its resistance. unless you are value investing of course.

Mactheriverrat
3,153 posts
msg #128640
Ignore Mactheriverrat
5/23/2016 6:46:18 AM

IMHO-
Short term swing trend
Price running above EMA(13) = Bullish.
Price running below EMA(13) = Bearish.

shillllihs
6,044 posts
msg #128642
Ignore shillllihs
5/23/2016 10:38:16 AM

Good input with the ema13 but am I wrong in seeing a lot of false starts such as chop?
Never the less good to know.

Mactheriverrat
3,153 posts
msg #128645
Ignore Mactheriverrat
5/23/2016 12:28:14 PM

Yes there are a lot false starts. - Ive been watching the day 2 of ema(13) moves

shillllihs
6,044 posts
msg #128647
Ignore shillllihs
5/23/2016 12:57:32 PM

This is where I have learned layering indicators really comes into play.
When you have 10 hours, go thru every indicator on SF. and look how they interacted
with your system individually. It really helps. Also, look at them on a weekly timeframe.

StockFetcher Forums · Filter Exchange · Price above EMA(13) filter.<< 1 2 3 4 5 ... 6 >>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.