Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Login to Download
Double Smoothed Stochastics
Exported using NT Version 7.0.1000.11
The Double Smoothed Stochastics (DSS) is an exponentially smoothed stochastics indicator applied to an exponentially smoothed stochastics. It has been popularized by Walter Bressert. The DSS can be used as a cycle indicator. Usually first a cycle analysis is performed. The DSS should then be applied with half the cycle period of the dominant cycle. Walter Bressert uses the indicator with default periods of 10 and 5, and calls them DBS10 and DBS5.
This indicator is a modified version of the Double Stochastics NinjaTrader default indicator. I have coded it for various reasons.
EMA period : The NinjaTrader default DSS uses an EMA period of 3. This setting cannot be changed. However, nearly all other versions of the DSS use an EMA period between 8 and 10. This version uses a default period of 9, which can be changed.
Coding Inefficiencies : The NinjaTrader default DSS is highly inefficient, when running with COBC = false, because both MAX and MIN methods are performed twice with every incoming ticks. I have changed the algorithm to increase the speed.
Signal Line : I have added a signal line to the DSS. The signal line is generated as an EMA of the DSS, in the same way as it is generated for the MACD.
Rising and Falling Colors : The indicator will plot in different colors, depending on whether the Double Stochastics is rising or falling.
You can put a slow and a fast Double Stochastics indicator on your chart, then use the slow one as trend filter and the fast one for timing the entry signals.
Update March 6, 2013: Code efficiency improved, signal line added.
Update March 7, 2013: Bug removed, indicator displayed false values with COBC = false.
Category NinjaTrader 7 Indicators
952
Fat Tails
Comments/ratings
shah1266 July 4th, 2011 01:28 PM
sher gut
Southsea July 5th, 2011 03:42 PM
Great Indi! Question: Does it repaint? (change color of previous bar depending on present data?) I don't think it does, but would appreciate the final word. Thanks again. SS
GridKing July 10th, 2011 08:00 AM
Thanks , just what I was looking for
Jura January 22nd, 2012 10:11 AM
Thanks FatTails, useful indicator and very nice & clean coded.
Hermo March 7th, 2013 01:43 AM
Thanks FatTails
Trader12A March 7th, 2013 08:38 AM
Many thanks Fattails
kevinhenjum March 7th, 2013 11:38 AM
well coded cycle indicators always help.
brevco March 7th, 2013 05:28 PM
Thank you!
Zondor March 7th, 2013 05:37 PM
A textbook example of efficient coding, exemplary!
resirca52009 March 8th, 2013 09:35 PM
Thanks Fat Tails; have an interest in cycle theory...this is great !