StockFetcher Forums · Filter Exchange · Inertia High Low Channel<< >>Post Follow-up
tomm1111
202 posts
msg #85687
Ignore tomm1111
1/6/2010 11:48:59 PM

This filter is based on the Inertia indicator within a 4 day high/low channel. Watch for the blue inertia indicator line bouncing between the high and low. Inertia and price are inversely related.

Filter is for both long and short.

The blue alert spike occurs when inertia separates from the 4 day high or low.
The red confirmation spike occurs when inertia touches the 4 day high or low.
The green spike results when the alert and confirmation occur at the same time.


Fetcher[
/* Inertia High Low Filter */
draw inertia(4,50,34) 4 day low
draw inertia(4,50,34) 4 day high

set{at_low,count(inertia(4,50,34) at 4 day low,1)}
set{at_high,count(inertia(4,50,34) at 4 day high,1)}

set{sign,at_high * -1}
set{flip,at_low + sign}
set{flop,flip 1 day ago}

set{var1,count(flip greater than -1,1)}
set{var2,count(flop equal -1,1)}
set{var3,count(flip less than 1,1)}
set{var4,count(flop equals 1,1)}
set{var5,count(flip equals 1,1)}
set{var6,count(flop less than 1,1)}
set{var7,count(flip equals -1,1)}
set{var8,count(flop greater than -1,1)}

set{var9,var1+var2}
set{var10,var3+var4}
set{var11,var5+var6}
set{var12,var7+var8}
set{var13,var9+var11}
set{var14,var10+var12}

set{long_alert,count(var9 equals 2,1)}
set{short_alert,count(var10 equals 2,1)}
set{long_confirm,count(var11 equals 2,1)}
set{short_confirm,count(var12 equals 2,1)}
set{long_both,count(var13 equals 4,1)}
set{short_both,count(var14 equals 4,1)}

draw long_alert
draw long_confirm on plot long_alert
draw long_both on plot long_alert
draw short_alert
draw short_confirm on plot short_alert
draw short_both on plot short_alert

show stocks where close above 1
and volume above 100000

add column separator
add column long_alert
add column long_confirm
add column long_both
add column separator
add column short_alert
add column short_confirm
add column short_both
add column separator
]



chetron
2,817 posts
msg #85701
Ignore chetron
1/7/2010 6:50:17 AM

thanx, tomm

Kevin_in_GA
4,599 posts
msg #85702
Ignore Kevin_in_GA
1/7/2010 6:52:54 AM

Can you write this for the plebians? Performance restrictions on the regular accounts, you know.

tomm1111
202 posts
msg #85706
Ignore tomm1111
1/7/2010 9:34:53 AM

Kevin,

This should work for all subs. You lose the sorting but the indicator works the same.


Fetcher[
/* Inertia High Low Filter */
draw inertia(4,50,34) 4 day low
draw inertia(4,50,34) 4 day high

set{at_low,count(inertia(4,50,34) at 4 day low,1)}
set{at_high,count(inertia(4,50,34) at 4 day high,1)}

draw at_low
draw at_high

show stocks where close above 1
and volume above 100000

add column at_low
add column at_high
]



chetron
2,817 posts
msg #85708
Ignore chetron
modified
1/7/2010 10:12:45 AM

AND MAYBE....

Fetcher[


/* Inertia High Low Filter */
draw inertia(4,50,34) 4 day low
draw inertia(4,50,34) 4 day high

set{at_low,count(inertia(4,50,34) at 4 day low,1)}
set{at_high,count(inertia(4,50,34) at 4 day high,1)}
SET{VAR1,COUNT(AT_LOW CROSSED ABOVE .5,1)}
SET{VAR2,COUNT(AT_HIGH CROSSED BELOW .5,1)}
SET{VBUY,VAR1 * VAR2}
SET{VAR11,COUNT(AT_HIGH CROSSED ABOVE .5,1)}
SET{VAR12,COUNT(AT_LOW CROSSED BELOW .5,1)}
SET{VSHORT,VAR11 * VAR12}
SET{VPLAYS,VSHORT + VBUY}

draw at_low
draw at_high

add column vbuy
add column vshort

show stocks where close above 1
volume above 100000
VPLAYS ABOVE .5
DO NOT DRAW VPLAYS

add column at_low
add column at_high

DRAW VBUY
DRAW VSHORT
]



tomm1111
202 posts
msg #85722
Ignore tomm1111
1/7/2010 12:16:00 PM

Nice work Chetron. The long and short hits in this modificaiton are the same as the "green" hits in the original.

chetron
2,817 posts
msg #85733
Ignore chetron
1/7/2010 1:18:49 PM

thanx, every now and then i get lucky. = )

StockFetcher Forums · Filter Exchange · Inertia High Low Channel<< >>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.