Indicator: Derivative Oscillator

10345 8 429
Constance Brown's Derivative Oscillator was published in her book "Technical Analysis for the Trading Professional".

The oscillator uses a 14-period RSI . The RSI is then double smoothed with exponential moving averages. The default settings for the smoothing periods are 5 and 3.

In a second step a signal line is generated from the smoothed RSI by calculating a simple moving average with a period of 9.

The Derivative Oscillator is calculated as the difference between the smoothed RSI and the signal line and displayed as histogram.

All the values are configurable.
Remove from Favorite Scripts Add to Favorite Scripts
// @author LazyBear
// @credits Constance Brown
study(title = "Derivative Oscillator [LazyBear]", shorttitle="DO_LB")
length=input(14, title="RSI Length")
p=input(9,title="SMA length")
ema1=input(5,title="EMA1 length")
ema2=input(3,title="EMA2 length")

s1=ema(ema(rsi(close, length), ema1),ema2)
s2=s1 - sma(s1,p)
c_color=s2 < 0 ? (s2 < s2[1] ? red : lime) : (s2 >= 0 ? (s2 > s2[1] ? lime : red) : na)
plot(s2 , style=histogram, color=c_color)
Great indicator! and great support when trading with the range rules of Contstance Brown method. I think you do the same?
Please pardon the newbie question, but is there a way to import the derivative oscillator into Thinkorswim's Thinkscript?
Thanks for coding a broad range of indicators. Is this Indicator, what she refers as Composite index indicator?
LazyBear PRO HamedAghajani
No. Composite index is available here -
+1 Reply
Thanks for your prompt reply. I am trying to read her paper on how to trade with this indicator.
Do you know how to convert derivative oscillator to pinescript?
+2 Reply
QuantitativeExhaustion christopherbrecher
just click "make it mine" and after you have it uploaded check out pine script
+1 Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out