NexusFi: Find Your Edge


Home Menu

 



Categories Help    






 
Double Smoothed Stochastics 5 *
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 
 
Suggest other entries I might like
Details: Double Smoothed Stochastics
Category: NinjaTrader 7 Indicators 


March 7th, 2013
Size: 8.40 KB
Downloaded: 2715 times

Keywords: cycles doublestochastics stochastics
Comments/ratings
4 * shah1266 July 4th, 2011 01:28 PM
sher gut
5 * 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
5 * GridKing July 10th, 2011 08:00 AM
Thanks , just what I was looking for
4 * Jura January 22nd, 2012 10:11 AM
Thanks FatTails, useful indicator and very nice & clean coded.
5 * Hermo March 7th, 2013 01:43 AM
Thanks FatTails
4 * Trader12A March 7th, 2013 08:38 AM
Many thanks Fattails
5 * kevinhenjum March 7th, 2013 11:38 AM
well coded cycle indicators always help.
5 * brevco March 7th, 2013 05:28 PM
Thank you!
5 * Zondor March 7th, 2013 05:37 PM
A textbook example of efficient coding, exemplary!
5 * resirca52009 March 8th, 2013 09:35 PM
Thanks Fat Tails; have an interest in cycle theory...this is great !

 
Sort by

 




© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top