NexusFi: Find Your Edge


Home Menu

 





Bressert Double Smoother Stochastics


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 11 posts (19 thanks)
    2. looks_two edward40 with 11 posts (0 thanks)
    3. looks_3 planetmoto with 8 posts (2 thanks)
    4. looks_4 sandptrader with 2 posts (0 thanks)
    1. trending_up 11,525 views
    2. thumb_up 22 thanks given
    3. group 10 followers
    1. forum 35 posts
    2. attach_file 6 attachments




 
Search this Thread

Bressert Double Smoother Stochastics

  #11 (permalink)
 planetmoto 
freasno, ca usa
 
Experience: Advanced
Platform: ninja trader
Trading: forex
Posts: 104 since Apr 2013
Thanks Given: 51
Thanks Received: 85


edward40 View Post
Do I really have to spend $100 to download this file by becoming an Elite member?

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

Sent using the NexusFi mobile app

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Exit Strategy
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
REcommedations for programming help
Sierra Chart
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #12 (permalink)
 planetmoto 
freasno, ca usa
 
Experience: Advanced
Platform: ninja trader
Trading: forex
Posts: 104 since Apr 2013
Thanks Given: 51
Thanks Received: 85


edward40 View Post
Amazing. Looks spot on! I work in IT but I am a total noob to this arena. Looking forward to learning more. Just let me know what I need to do to adjust it.

FatTails is one of the best

Sent using the NexusFi mobile app

Reply With Quote
Thanked by:
  #13 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


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

Slow Stochastics = SMA(SMA(Raw Stochastics(14)),3),7)


Double Stochastics:

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

Bressert Double Stochastics = EMA(Raw Stochastics(EMA(Raw Stochastics(14),3)14)3)


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))).



Reply With Quote
Thanked by:
  #14 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

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

BrDSS(14,2) = EMA(Raw Stochastics(EMA(Raw Stochastics(14),4)14)4)

For the time being I do not understand, why I had to use a 14-period Raw Stochastics and a 4-period EMA to reproduce the BrDSS(14,2).


Reply With Quote
Thanked by:
  #15 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102

I had coded the Bressert DSS for NinjaTrader 7 back in 2013.



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.



Reply With Quote
Thanked by:
  #16 (permalink)
edward40
Chicago
 
Posts: 143 since Jan 2015
Thanks Given: 2
Thanks Received: 73


Fat Tails View Post
I have had a look at the DSS that ships with NinjaTrader. It only has a single parameter for the lookback period and lacks the second parameter.

I have slightly modified it, and it now looks very similar to the chart that you posted.

I think it is no problem to replicate the Medved indicator for NinjaTrader.

Will do tomorrow.



I was able to go in and copy some lines of code and make some adjustments, which is cool, but have not figured out the second parameter issue.

Reply With Quote
  #17 (permalink)
edward40
Chicago
 
Posts: 143 since Jan 2015
Thanks Given: 2
Thanks Received: 73


Fat Tails View Post
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

BrDSS(14,2) = EMA(Raw Stochastics(EMA(Raw Stochastics(14),4)14)4)

For the time being I do not understand, why I had to use a 14-period Raw Stochastics and a 4-period EMA to reproduce the BrDSS(14,2).


Sorry, I am lost, can I adjust this myself?

Reply With Quote
  #18 (permalink)
edward40
Chicago
 
Posts: 143 since Jan 2015
Thanks Given: 2
Thanks Received: 73


Fat Tails View Post
I had coded the Bressert DSS for NinjaTrader 7 back in 2013.



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.



Cannot msg you and I cannot download.

Reply With Quote
  #19 (permalink)
bld5
Istanbul/Turkey
 
Posts: 6 since May 2013
Thanks Given: 2
Thanks Received: 0

Hi Fat Tails,

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?

Reply With Quote
  #20 (permalink)
 planetmoto 
freasno, ca usa
 
Experience: Advanced
Platform: ninja trader
Trading: forex
Posts: 104 since Apr 2013
Thanks Given: 51
Thanks Received: 85



bld5 View Post
Hi Fat Tails,

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?

You may want to check the ninja forum for help with that, if he doesn't have it available

Sent using the NexusFi mobile app

Reply With Quote
Thanked by:




Last Updated on August 24, 2018


© 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
no new posts