Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Trust me become an elite member, it helps maintain the forum for aspiring traders, give the resources available here you may end up becoming a better trader and possibly avoiding spending way more than a $100 on some crappy indicators or trading course
Then let me shortly summarize how Stochastics and Double Stochastics are built:
Raw Stochastics:
The Raw Stochastics indicates the value of the last traded price within the range built from the highest high and the lowest low over the lookback period.
Example: You select a lookback period of 14 bars. The highest high is 24200 and the lowest low is 24100. The last traded price is 24163. In that case the Raw Stochastics indicates the value 63, as the range between last price and lowest low makes up for 63% of the total range. When the last price equals the highest high, the Raw Stochastics displays the value 100. When the last price equals the lowest low, it holds the value 0.
Stochastics K-Line:
The Stochastics K-line is obtained by smoothing the Raw Stochastics with a 3-period SMA.
Stochastics D-Line:
The Stochastics D-line is obtained by smoothing the K-line with a 7-period SMA.
Stochastics or Slow Stochastics:
The Slow Stochastics basically is the D-line. If I summarize the steps above it is obtained by
-> first calculating the Raw Stochastics over the last 14 bars
-> then smoothing the Raw Stochastics with a 3- period SMA to obtain the K-line
-> then smoothing the K-line with a 7-period SMA t obtain the D-line
The Double Stochastics follows a similar logic, but uses two calculations of the Raw Stochastics and has the SMA replaced with the EMA. It can be obtained by
-> first calculating the Raw Stochastics over the last 14 bars
-> then smoothing the Raw Stochastics with a 3-period EMA to obtain the K-line
-> then calculating the Raw Stochastics over the last 14 values of the K-line
-> then smoothing the second K-line with a 3-period EMA to obtain the Double Stochastics
With NinjaTrader 7 you can build the Double Stochastics directly with the NinjaTrader Stochastics and the NinjaTrader EMA. For NinjaTrader 8 this is not possible because the Stochastics indicator that ships with NinjaTrader 8 cannot be used with any other input series than price. Therefore I have made a few minor modifications allowing it to be applied to price. The result is called amaStochastics, which is identical to the standard Stochastics when applied to price, but also may be applied to indicators, which is necessary for the calculation of the Double Stochastics.
The chart below shows that the Double Stochastics can be easily built from a Stochastics and an EMA that are both applied twice. The two lower panels show that the Double Stochastics is identical with an EMA(Stochastics(EMA(Stochastics))).
Comparing Medved Trader Double Stochastics and NinjaTrader Double Stochastics
The problem here is that the NinjaTrader Double Stochastics does not allow for adjusting the smoothing parameter in the Double Stochastics. You may select the lookback period for the Raw Stochastics, but the smoothing period for the EMA is preset to 3 and cannot be changed. The Double Stochastics from Medved Trader offers that smoothing parameter, and that is the only difference.
What is needed for the NinjaTrader Double Stochastics is a new input parameter and a property to access that parameter, then calculate the Double Stochastics by using that input parameter.
Alternatively build the Double Stochastics from the system indicators Stochastics and EMA (NT7) or amaStochastics and EMA (NT8), as you may select the missing parameter when using the composite indicator.
Below I have reproduced the Medved chart that you have posted and which shows the BrDSS(14,2). The strange thing here is that I could not reproduce it via applying an EMA(2), but I had to use an EMA(4). Otherwise put
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 …
It comes with the smoothing parameter needed to adjust the exponential moving average.
Just select 14 for the Stochastics period and 4 for the smoothing period and you will obtain the BrDSS(14,2) as shown by Medved Trader.
I have a question and a request:
1- The Bressert DSS indicator you built looks great, do you have it for Ninja 8 as well?
2- I know nothing about coding on Ninja so in another post I requested help in building a simple indicator to show line on chart calculating "(highest high of last x periods - lowest low of last x periods) / 2". Being advanced in Ninja coding, can you help me with this?