NexusFi: Find Your Edge


Home Menu

 





Double stochastic multi colors


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one Fat Tails with 9 posts (43 thanks)
    2. looks_two wujek59 with 4 posts (0 thanks)
    3. looks_3 Big Mike with 2 posts (4 thanks)
    4. looks_4 zt379 with 2 posts (0 thanks)
    1. trending_up 13,283 views
    2. thumb_up 48 thanks given
    3. group 6 followers
    1. forum 19 posts
    2. attach_file 7 attachments




 
Search this Thread

Double stochastic multi colors

  #11 (permalink)
 zt379 
UK London
Market Wizard
 
Platform: NT
Posts: 2,081 since Sep 2009
Thanks Given: 1,590
Thanks Received: 1,996


Fat Tails View Post
Somehow, I uploaded the false indicator.


I have now replaced it with the one which I had intended to upload.


Thanks again for telling me.

Welcome although the thanks goes to you for your continued efforts....

Btw, I'm still not getting the same indicator that's in the picture ?
Your picture (post# 8) has "anaDoubleStochastic" with two Period settings (, ie 13/3).
The Download link is still giving me the basic NT DoubleStochastic that does have up/down line coloured,
and arrows (which don't change when the "overSold" and "overBought" threshold are changed)
but only has one Period setting ?

Is it me or perhaps Fat Tails is having a Fat Finger day ?

Thx

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
Trade idea based off three indicators.
Traders Hideout
Cheap historycal L1 data for stocks
Stocks and ETFs
MC PL editor upgrade
MultiCharts
 
  #12 (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,103


zt379 View Post
Welcome although the thanks goes to you for your continued efforts....

Btw, I'm still not getting the same indicator that's in the picture ?
Your picture (post# 8) has "anaDoubleStochastic" with two Period settings (, ie 13/3).
The Download link is still giving me the basic NT DoubleStochastic that does have up/down line coloured,
and arrows (which don't change when the "overSold" and "overBought" threshold are changed)
but only has one Period setting ?

Is it me or perhaps Fat Tails is having a Fat Finger day ?

Thx

I think this time it must be your Fat Finger (maybe mine is already tired).

I just checked the download file, and it contains anaDoubleStochastics.

Reply With Quote
Thanked by:
  #13 (permalink)
 Southsea 
USA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Amp Futues/Zen-fire
Trading: Futures
Posts: 45 since Apr 2010
Thanks Given: 13
Thanks Received: 6



Fat Tails View Post
Best you post the indicator for NT 6.5. right here, and somebody will solve the problem.

The indicator version from the download section of the forum is compatible with NT 7.0.

Indicator attached below.

Hey, does this indicator repaint? In other words, does it sometimes modify the color of the line in prior bar based on new data on the present bar? Thanks so much for the indicator!!! Great job!

Reply With Quote
  #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,103


Southsea View Post
Hey, does this indicator repaint? In other words, does it sometimes modify the color of the line in prior bar based on new data on the present bar? Thanks so much for the indicator!!! Great job!

No, it does not repaint.

Reply With Quote
  #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,103

I have updated the Double Stochastics Indicator. The new version has a signal line added, so it will be incompatible with prior versions, if used by other indicators or a strategy, as the period of the siganl line appears as additional input parameter. I have therefore named the new version Double Smoothed Stochastics (or DSS), which is also the term used by Walter Bressert, who has made the indicator popular.

The code of the old version was highly inefficient - although I had claimed the opposite two years ago - but that is life.

I have also changed the default settings of the indicator to the more common settings of 10 for the stochastics period and 9 for the EMA period.

Please find the new indicator per link below.





Reply With Quote
  #16 (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,103

David Varadi from CSSA has developed a similar indicator, which he calls DVSSDS (DV Super Smoothed Double Stochastics). As I had just reviewed the original Bressert Double Stochastics, it only took add the modifications. I have also produced a modified version of the DVSSDS, which I have called DVSSDS2. Both indicators are attached below.

Here are the differences:

Bressert DSS: Take a raw M-period Stochastics, smooth it exponentially with the period N, then apply the M-period Stochastics again, then apply exponential smoothing with the period N for a second time. Default values for M are 10 and 5. Default values for N are typically between 3 and 10.

DVSSDS: Take a raw M-Period Stochastics, then apply the M-Period Stochastics again, then apply simple smoothing with a period N = 3, and finally smooth the result over the last two bars with a smoothing factor of 0.15 for the last bar.

Modified DVSSDS: Take a raw M-Period Stochastics, then apply the M-Period Stochastics again, then apply simple smoothing with a period N1 = 3, and finally apply exponential smoothing. The period N2 =12 results in a smoothing factor of 2/(n+1) = 2/13 = 0.1538.

For the purpose of comparing the indicators I have used the following settings:

Bressert DSS: Stochastics period 10, EMA period 3, trigger period 5
DVSSDS: Stochastics period 10, SMA period 3, last bar weight 15%, trigger period 5
Modified DVSSDS: Stochastics period 10, SMA period 3, EMA period 3, trigger period 5

The three indicators are similar and I would not dare to decide which of them will produce the better signals.


Attached Files
Elite Membership required to download: DVSSDS.zip
Elite Membership required to download: DVSSDS2.zip
Reply With Quote
  #17 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,467 since Jun 2009
Thanks Given: 33,243
Thanks Received: 101,667

Notifications sent.

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #18 (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,103

Unfortunately I was tired, when I published both the Double Smoothed Stochastics and the DVSSDS yesterday. I discovered a simple copy-and-paste error today, which has serious consequences, when the indicator is set to COBC = false. It will simply display false values.

I apologize, but it is absolutely necessary to download the indicators again. You can install the new over the prior version.

For the Double Smoothed Stochastics, here is the link:



For the DVSSDS, I have replaced the indicator files in post #16 of this thread:


Reply With Quote
  #19 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,467 since Jun 2009
Thanks Given: 33,243
Thanks Received: 101,667

Notifications sent.

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #20 (permalink)
TexasFX
Buda TX/USA
 
Posts: 1 since Feb 2014
Thanks Given: 0
Thanks Received: 1


I use the Robby DSS Bressert for currency trading on MT4. I only scalp trade and Robby DSS Bressert is best indicator I have found after testing many. I prefer the MT4 version with one line and dots overlayed in the indicator region.

Image of Robby DSS Bressert at (www dot)newdigitallife.wordpress.com/2012/08/16/robby-dss-bressert-colored-with-alert_v1-2/


MQ4 code if you can convert to ninjatrader for our use;


#property indicator_separate_window
#property indicator_minimum 0
#property indicator_maximum 100
#property indicator_buffers 3
#property indicator_color1 OrangeRed
#property indicator_width1 3
#property indicator_color2 Blue
#property indicator_width2 2
#property indicator_color3 Red
#property indicator_width3 2
#property indicator_level1 20
#property indicator_level2 80


extern int EMA_period=8;
extern int Stochastic_period=13;


double DssBuffer[];
double MitBuffer[];
double DssBuffer_UP[];
double DssBuffer_DW[];


double smooth_coefficient;


int init()
{
IndicatorBuffers(4);
SetIndexBuffer(0,DssBuffer);
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(1,DssBuffer_UP);
SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,159);
SetIndexBuffer(2,DssBuffer_DW);
SetIndexStyle(2,DRAW_ARROW);
SetIndexArrow(2,159);

SetIndexBuffer(3,MitBuffer);

SetIndexEmptyValue(0, 0.0);
SetIndexLabel(0, "DSS");
SetIndexEmptyValue(1, 0.0);
SetIndexLabel(1, "DSS Up");
SetIndexEmptyValue(2, 0.0);
SetIndexLabel(2, "DSS Down");

IndicatorShortName ("DSS("+EMA_period+","+Stochastic_period+")");

smooth_coefficient = 2.0 / (1.0 + EMA_period);
return(0);
}


int start()
{
int i, limit, counted_bars=IndicatorCounted(), Bar_OK;
if (counted_bars == 0) limit = Bars - Stochastic_period;
if (counted_bars > 0) limit = Bars - counted_bars;

double HighRange, LowRange;
double delta, MIT;
for (i = limit; i >= 0; i--)
{
HighRange = High[iHighest(NULL,0,MODE_HIGH,Stochastic_period,i)];
LowRange = Low[iLowest(NULL,0,MODE_LOW,Stochastic_period,i)];
delta = Close[i] - LowRange;
MIT = delta/(HighRange - LowRange)*100.0;
MitBuffer[i] = smooth_coefficient * (MIT - MitBuffer[i+1]) + MitBuffer[i+1];
}

double DSS;
for (i = limit; i >= 0; i--)
{
HighRange = MitBuffer[ArrayMaximum(MitBuffer, Stochastic_period, i)];
LowRange = MitBuffer[ArrayMinimum(MitBuffer, Stochastic_period, i)];
delta = MitBuffer[i] - LowRange;
DSS = delta/(HighRange - LowRange)*100.0;
DssBuffer[i] = smooth_coefficient * (DSS - DssBuffer[i+1]) + DssBuffer[i+1];
}

for (i = limit; i >= 0; i--)
{
//DssBuffer_UP[i]=EMPTY_VALUE;
//DssBuffer_DW[i]=EMPTY_VALUE;
Bar_OK=0;

if(DssBuffer[i]>DssBuffer[i+1])
{
DssBuffer_UP[i]=DssBuffer[i];
Bar_OK=1;
DssBuffer_DW[i] = 0.0;
}

if(DssBuffer[i]<DssBuffer[i+1])
{
DssBuffer_DW[i]=DssBuffer[i];
Bar_OK=1;
DssBuffer_UP[i] = 0.0;
}

if(Bar_OK==0)
{
DssBuffer_UP[i]=DssBuffer_UP[i+1];
DssBuffer_DW[i]=DssBuffer_DW[i+1];
}
}

return(0);
}

Reply With Quote
Thanked by:




Last Updated on February 16, 2014


© 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