How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Feature Request FAQ Help & Wiki Twitter

# DTOSC

1384 0
Robert C. Miners DT Oscillator - a version of the Stochastics RSI .
```//This is Robert C. Miner's DT Oscillator, a version of the Stochastics RSI.
//See his book, High Probability Trading Strategies
// There are four possible parameter combinations for this indicator:
//  8,5,3,3   13,8,5,5   21,13,8,8   34,21,13,13
study(title="DTOscillator", shorttitle="DTOsc")
source = close
lengthRSI = input(8, minval=8)
lengthStoch = input(5, minval=5)
smoothK = input(3, minval=3)
smoothD = input(3, minval=3)
rsi1 = rsi(source, lengthRSI)
stochRSI = stoch(rsi1,rsi1,rsi1,lengthStoch)
k = sma(stochRSI,smoothK)
d = sma(k, smoothD)
plot(k, color=black)
plot(d, linewidth=2,color=purple)
hline(75, color=red)
hline(25, color=green)
```
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia

한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter