DMOBRIEN 365 posts msg #161857 - Ignore DMOBRIEN |
6/25/2025 11:18:19 PM
I'm not the most elegant coder, but in looking over and combining some of my work as well as others into a hybrid filter, this seems to have great potential. Just let the triggers do the work :)
/* HIGHER HIGH Triggers */
set{HH5, high 5 day high}
HH5 equals high
hh5 > hh5 one day ago
set{H5AVG, cwma(HH5, 20)}
draw H5AVG on plot HH5
set{z%, close/ ema(20)}
add column z%
draw lri(7)
draw lri(44)
draw lri(22)
high above high 1 day ago
set {tovo, pp * volume}
set {myvol, avgvol(2)*2}
set {myvwap1, sum(tovo,2) / myvol}
SET{CSTWMA, CWMA(Myvwap1,2)}
set{ema20, ema(20)}
set{BUYTrigger, CSTWMA crossed above ema20}
add column BUYtrigger
draw BUYTrigger
set{Trigger2, HH5 crossed above H5Avg}
add column Trigger2
draw Trigger2
volume above 1000000
volume > average volume(20) * 1.2
close above 5
close < 50
shares outstanding < 100
add column shares outstanding
chart-time is 6 months
sort column 7 descending
draw macd
|
shillllihs 6,079 posts msg #161858 - Ignore shillllihs |
6/26/2025 3:45:23 PM
Looks interesting on the surface but there’s no rhyme or reason.
You need to be better.
|
DMOBRIEN 365 posts msg #161860 - Ignore DMOBRIEN |
6/26/2025 10:28:11 PM
/* === RANGE BREAKOUT & MOMENTUM SCAN === */
/* --- HIGHER HIGHS & HIGHER LOWS --- */
set{HH5, high 5 day high}
HH5 equals high
HH5 > HH5 1 day ago
set{H5AVG, cwma(HH5, 20)}
draw H5AVG on plot HH5
/* --- RELATIVE POSITION TO EMA --- */
set{z%, close / ema(20)}
add column z%
/* --- LRI TREND VISUALIZATION --- */
draw lri(7)
draw lri(22)
draw lri(44)
/* --- PRICE ACTION --- */
high above high 1 day ago
close above 0.50
close below 7
/* --- VOLUME & VWAP CALCULATIONS --- */
set{tovo, pp * volume}
set{myvol, avgvol(2) * 2}
set{myvwap1, sum(tovo, 2) / myvol}
set{CSTWMA, cwma(myvwap1, 2)}
set{ema20, ema(20)}
set{BUYTrigger, CSTWMA crossed above ema20}
add column BUYTrigger
draw BUYTrigger
/* --- BREAKOUT TRIGGER --- */
set{Trigger2, HH5 crossed above H5AVG}
add column Trigger2
draw Trigger2
/* --- VOLUME FILTERS --- */
volume above 1,000,000
volume above average volume(20) * 1.2
/* --- FUNDAMENTALS --- */
shares outstanding < 75
add column shares outstanding
/* --- DISPLAY SETTINGS --- */
chart-time is 6 months
draw macd
sort column 7 descending
|
Mactheriverrat 3,171 posts msg #161862 - Ignore Mactheriverrat |
6/27/2025 10:40:40 PM
draw lri(7)
draw lri(44)
draw lri(22)
Now that's interesting.
|
snappyfrog 747 posts msg #161863 - Ignore snappyfrog |
6/28/2025 7:06:28 AM
Making it clickable
|
nibor100 1,095 posts msg #161864 - Ignore nibor100 |
6/28/2025 6:13:16 PM
@dmobrien,
A couple of observations:
I believe most of your High related line,s after the first one where you set the HH5 variable, can all be replaced by the single phrase:
High equals a new high 6 day high
Looking at a few of the graphs returned by your latest version, it looks like once your H5avg line turns up after hitting a near term low point, the stock follows suit, time and time again.....catching more of those up moves than the triggers seem to.
Ed S.
|
fotchstecker 307 posts msg #161886 - Ignore fotchstecker |
7/14/2025 7:00:45 PM
What about a selection filter? When a filter returns 50 tickers each night, unless you have huge amounts of cash to play into skewed distributions, you really need to decide what you're going to trade for the upcoming session.
|