StockFetcher Forums · Filter Exchange · New indicator - DV(2)<< >>Post Follow-up
Kevin_in_GA
4,557 posts
msg #83641
Ignore Kevin_in_GA
11/30/2009 9:25:53 PM


Hey, I ran across this interesting post tonight, and thought it might be worthwhile sharing with others here at SF:

Trading on the DV(2) versus the RSI(2)

It is similar to the RSI(2). At the link I posted here they have done some performance backtesting to compare the RSI(2) to the DV(2) - based on what is shown, it might be worth taking a look at if you currently use the RSI(2).

Here is a quick filter for it - feel free to critique and modify as you see fit:

Fetcher[

set{var1, high + low}
set{var2, var1 / 2}
set{var3, close/var2}
set{var4, var3 - 1}
set{var5, var4 1 day ago}
set{var6, var4 + var5}
set{DV2, var6 / 2}

draw DV2 line at 0

set{BUY, count(DV2 > 0,1)}
set{SHORT, count(DV2 < 0,1)}

draw BUY
draw SHORT on plot BUY

add column DV2
add column BUY
add column SHORT
]



I'm not sure how well this works - looks like a lot of crossovers where you can get whipsawed. Anyway, it might make for some useful tinkering.

Kevin

chetron
2,817 posts
msg #83642
Ignore chetron
modified
11/30/2009 9:44:13 PM

maybe....
BACK TO BASICS.....


Fetcher[


set{var1, high + low}
set{var2, var1 / 2}
set{var3, close/var2}
set{var4, var3 - 1}
set{var5, var4 1 day ago}
set{var6, var4 + var5}
set{DV2, var6 / 2}

draw DV2 line at 0

set{BUY, count(DV2 > 0,1) * count(macd(4,8) histogram above -0,1)}
set{SHORT, count(DV2 < 0,1) * count(macd(4,8) histogram below 0,1)}
set{vplays,buy + short}

draw BUY
draw SHORT

add column DV2
add column BUY
add column SHORT
vplays above .5
do not draw vplays

]



Kevin_in_GA
4,557 posts
msg #83656
Ignore Kevin_in_GA
12/1/2009 7:51:55 AM

"Draw SHORT on plot BUY" is causing a filter performance restiction on this one. I just removed the "on plot BUY" portion and it works nicely.

chetron
2,817 posts
msg #83658
Ignore chetron
12/1/2009 8:30:09 AM

UPDATED, THANX KEV.

Kevin_in_GA
4,557 posts
msg #83662
Ignore Kevin_in_GA
12/1/2009 8:50:52 AM

Chet - what time zone are you in? Don't you sleep???

Eman93
4,659 posts
msg #83765
Ignore Eman93
12/2/2009 8:42:12 PM

Sleep is over rated

Mactheriverrat
1,328 posts
msg #118127
Ignore Mactheriverrat
2/8/2014 2:44:28 PM

Well that's some interesting code to play around with on my other filters.

Hmmmm!

guspenskiy13
976 posts
msg #120376
Ignore guspenskiy13
modified
6/3/2014 5:27:51 PM

I found this pretty useful from the first glance and the recent brief back-testing...

Might implement this in Tos...

Thanks Kevin.

boston
34 posts
msg #120377
Ignore boston
6/3/2014 7:33:41 PM

Fetcher[
set{var1, high 20 day high + low 20 day low }
set{var2, var1 / 2}
set{var3, close/var2}
set{var4, var3 - 1}
set{var5, var4 1 day ago}
set{var6, var4 + var5}
set{DV2, var6 / 2}

draw DV2 line at 0
draw cci(20) line 0
]





I think you get just a little bit of a smoothed out version of the cci with the dv . Just looking at them

StockFetcher Forums · Filter Exchange · New indicator - DV(2)<< >>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