StockFetcher Forums · Filter Exchange · ANOTHER ADX FILTER.......<< 1 2 3 >>Post Follow-up
chetron
2,817 posts
msg #87943
Ignore chetron
modified
2/8/2010 7:22:54 AM

doesn't get any simpler.....

Fetcher[


/* adx simple newbie */
/* buy the breakout in the direction of the trend */

set{var1a,high 2 day ago}
set{var2a,low 2 day ago}
set{var1b,high 1 day ago}
set{var2b,low 1 day ago}
set{var3,count(var1b below var1a,1)}
set{var4,count(var2b above var2a,1)}
set{var5a,count(adx above 40,1)}
set{var5b,count(pdi above mdi,1)}
set{var5c,count(mdi above pdi,1)}
set{vbi,var5a * var5b}
set{vss,var5c * var5a}


set{var6,var3 * var4}
set{vlong,vbi * var6}
set{vshort,vss * var6}
set{vplays,vshort + vlong}

add column vlong
add column vshort

draw var1b on plot price
draw var2b on plot price
draw vshort
draw vlong

vplays above .5
do not draw vplays
close above .1
volume above 100000



]



does this help??????????

Fetcher[
/* adx simple newbie */
/* buy the breakout in the direction of the trend */
/* with close position */

set{var1a,high 2 day ago}
set{var2a,low 2 day ago}
set{var1b,high 1 day ago}
set{var2b,low 1 day ago}
set{var3,count(var1b below var1a,1)}
set{var4,count(var2b above var2a,1)}
set{var5a,count(adx above 40,1)}
set{var5b,count(pdi above mdi,1)}
set{var5c,count(mdi above pdi,1)}
set{vbi,var5a * var5b}
set{vss,var5c * var5a}

set{var6,var3 * var4}
set{vlong,vbi * var6}
set{vshort,vss * var6}
set{vplays,vshort + vlong}

set{vme1,count(close above var1b,1)}
set{vme2,count(close below var2b,1)}
set{vmel,vme1 * vlong}
set{vmes,vme2 * vshort}

add column vmel
add column vmes


add column
add column vlong
add column vshort

draw var1b on plot price
draw var2b on plot price
draw vshort
draw vlong

vplays above .5
do not draw vplays
close above .1
volume above 100000



]



Kevin_in_GA
4,543 posts
msg #87946
Ignore Kevin_in_GA
2/8/2010 8:54:10 AM

It needs to - basic level subscribers can't use this one.

chetron
2,817 posts
msg #87949
Ignore chetron
2/8/2010 9:19:30 AM

thanx kev, updated = )

Mactheriverrat
1,328 posts
msg #87976
Ignore Mactheriverrat
2/8/2010 5:40:09 PM

i have basic and it worked for me

Eman93
4,659 posts
msg #88272
Ignore Eman93
modified
2/14/2010 1:36:30 PM

Revised: again---

I think what you want to look for is when the ADX line is well above both DI lines... this sets up for larger moves.

Some people like to be bullish above EMA 50 or EMA 100

Fetcher[/*ADX Bullish Eman1.1*/

Under construction
]



Eman93
4,659 posts
msg #88273
Ignore Eman93
modified
2/14/2010 2:13:35 PM

still working

Eman93
4,659 posts
msg #88274
Ignore Eman93
modified
2/14/2010 3:39:47 PM

No take a look at CSCO on June and July see the diffrence in the ADX

Eman93
4,659 posts
msg #88278
Ignore Eman93
modified
2/14/2010 10:26:23 PM

where is the wick?

Image and video hosting by TinyPic

Eman93
4,659 posts
msg #88279
Ignore Eman93
2/14/2010 10:38:15 PM

Formula
ADX = modify moving average of DX

DX = 100 x ( (+DI - -DI)/( +DI + -DI) )

+DI = +DMn / TRn , -DI = -DM / TRn

+DM = Ht - Ht-1 , -DM = Lt - Lt-1

CL = Ct - Ct-1

TR = largest of +DM,-DM ,and CL

where :

+DI = current positive directional index

-DI = current negative directional index

+DMn = current modified moving average of +DM

+DM = current positive directional movement value

Ht = current hign

Ht-1 = previous high

Lt = current low

Lt-1 = previous low

-DMn = current modified moving average of -DM

-DM = current negative directional movement value

TRn = current modified modified moving average of the true range

TR = true range

n = number of periods

DX = current DX

reference from : J.Welles Wilder

Trading Strategy
A move below 40 from above indicates that the trend is slowing. Since most option strategies rely on large price movements in short timeframes, a slowing trend is bad. Therefore an ADX move below 40 would indicate that it is time to close positions.

Conversely, an ADX indicator move above 20 from below indicates that the sideways trading is over, and a new trend is developing. This would indicate that it is time to make a move, either bullish or bearish.

Also, signals can be obtained by looking at where the positive directional index +DI (green) and negative directional index -DI (red) lines cross each other. When the +DI crosses above the -DI from below, it is a bullish signal, such as in early February. Whe


chetron
2,817 posts
msg #88284
Ignore chetron
modified
2/15/2010 8:55:53 AM

maybe, but i don't think so...

ADX = modify moving average of DX
DX = 100 x ( (+DI - -DI)/( +DI + -DI) )
+DI = +DMn / TRn , -DI = -DM / TRn
+DM = Ht - Ht-1 , -DM = Lt - Lt-1
CL = Ct - Ct-1
TR = largest of +DM,-DM ,and CL

where :

+DI = current positive directional index
-DI = current negative directional index
+DMn = current modified moving average of +DM
+DM = current positive directional movement value
Ht = current hign
Ht-1 = previous high
Lt = current low
Lt-1 = previous low
-DMn = current modified moving average of -DM
-DM = current negative directional movement value
TRn = current modified modified moving average of the true range
TR = true range
n = number of periods
DX = current DX

Fetcher[
/* correct math error version */

/* advanced subs */
/* because we are maxing an already maxed variable */

set{var1a,high 1 day ago}
set{var1b,low 1 day ago}
set{var1c,close 1 day ago}

set{vadxr,close - var1c}
set{vpdir,high - var1a}
set{vmdir,low - var1b}

set{var1,max(vpdir,vmdir)}
set{vtr,max(var1,vadxr)}

set{vpdi,cma(vpdir,14) / cma(vtr,14)}
set{vmdi,cma(vmdir,14) / cma(vtr,14)}

set{var2,vpdi - vmdi}
set{var3,vpdi + vmdi}
set{var4,var2 / var3}
set{vdx,100 * var4}

draw cma(vdx,14)
draw vmdi on plot vpdi
draw on plot cma(vdx,14)
do not draw vdx

draw adx
symlist(csco)

]





Fetcher[
/* bad math version */
/* advanced subs */
/* because we are maxing an already maxed variable */

set{var1a,high 1 day ago}
set{var1b,low 1 day ago}
set{var1c,close 1 day ago}

set{vadxr,close - var1c}
set{vpdir,high - var1a}
set{vmdir,low - var1b}

set{var1,max(vpdir,vmdir)}
set{vtr,max(var1,vadxr)}

set{vpdi,vpdir / vtr}
set{vmdi,vmdir / vtr}

set{var2,vpdi - vmdi}
set{var3,vpdi + vmdi}
set{var4,var2 / var3}
set{vdx,100 * var4}

draw cma(vpdi,14) on plot cma(vmdi,14)
draw cma(vdx,14)
do not draw vmdi
do not draw vpdi
do not draw vdx

draw adx
symlist(csco)

]





StockFetcher Forums · Filter Exchange · ANOTHER ADX FILTER.......<< 1 2 3 >>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 2016 - 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