Mactheriverrat 3,157 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!
|
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...
|
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.
|
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,157 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,046 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,157 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,046 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.
|