This is a trading object shared by a member. You can use this object as well as hundreds of others with QuantShare - Trading Software.
Click on the Like button or on one of the share buttons to share this object and spread the word about QuantShare.
QuantShare is an advanced trading software for stock, forex, futures, ETF and options markets. It is the best and the most complete EOD trading software software and it is FREE (beta version).
Dave's New System or DNS is an indicator, developed by David R. Evans, which consists of the sum of eight trading rules. Each time a trading rule passes, the indicator value increases by one. The DNS indicator value varies between zero and eight, a value of zero means that no trading rules were TRUE, while a DNS value of eight means that all the trading rules were TRUE.
The Dave's indicator is bullish when its value increases and reaches a high threshold (Example: eight, which is the maximum). It is bearish when its value decreases and reaches a low threshold (Example: 3).
Trading Rules:
The first one compares the Parabolic SAR value with the close price
The second one compares the 5-bar exponential moving average of the close price with the 13-bar exponential moving average of the same close price
The third rule is the same as the second one but with different lookback periods. In this rule, periods of 13-bar and 40-bar are used.
The forth trading rule compares the difference between two exponential moving averages (EMA) with the EMA of another two EMAs difference.
The fifth trading rule uses the simple moving average of the close price
The sixth rule returns one if either the moving average of the 12-bar rate-of-return of the close price is higher than -6% or the 12-bar rate of return of the close price is positive
The seventh rule compares the raw On Balance Volume indicator value with its simple moving average
The eighth and final rule returns one if the volume is higher than its 120-bar simple moving average.
To plot the raw value of the DNS indicator:
Plot(dns,"DNS",colorBlack,chartLine,styleOwnScale);
To plot the 5-bar simple moving average of the DNS indicator:
Plot(sma(dns, 5),"MA DNS",colorRed,chartLine,styleOwnScale);