kyfish10 3 posts msg #160105 - Ignore kyfish10 |
2/15/2023 9:43:26 AM
Hi all, first time post, long time customer/trader.
I need help with a filter. In summary,
Weekly candles. Not Daily. Although it may not matter.
13ema crossed over the 20ema recently. last week or so. (long setup) - KEY POINT
200ema is shown on chart
stock is trading 30%+ or more BELOW it's 52 week high - KEY POINT
Volume with 100 day avg shown
RSI (9) shown
Seems simple enough. I've built others (below) but nothing like this before.
Thoughts?
"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 -70
set{W, count(Williams %R(60) > -70, 1)}
draw W
/*THE FILTER*/
Williams %R(60) crossed above -70
x > ema(13)
/*SORT ON BIGGIST MOVERS*/
add column Average Day Range(10)
sort on column 5 descending
chart-time is 6 months
/*BELLS AND WHISTLES*/
set{ENTRY, CLOSE}
DRAW PRICE LINE AT ENTRY
SET{5PCT_TGT, ENTRY * 1.05}
DRAW PRICE LINE AT 5PCT_TGT"
|