Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DSS Double stochastic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DSS Double stochastic

    Hi!
    i am looking for an indicator DSS or Double stochastic.
    There are some versions around here but i cant get them working like they should.

    There is one called "DoubleStochastik" + "DStochMod"
    The "DoubleStochastik" does not change its plot if changing the parameters.
    The "DStochMod" causes errors when importing the zip-file.


    Then there is a blank code posted here - DSS Bressert -
    when i put it in an empty indicatorfile i have also some errors - cant compile it.


    Can anyone help me to get a version thats working ? If you have one wich is working maybee export it and post it here or something like this.

    I tried my best with the thing around- but with no luck

    ThanX - max-td
    Last edited by max-td; 06-27-2008, 03:45 AM.

    #2
    The link you provided cannot be simply copied to a blank indicator. You need to copy it in to match the namespace structure of the file. Create yourself a new indicator file and copy over relevant sections to match the functions in the new file.

    For instance, take the Variables section and drop those into the Variables section of the code. Take the stuff in Initialize() method and overwrite the stuff in the new Initialize(). Etc.

    Do not copy over the very top part:
    Code:
     			 				  /// <summary>
     /// TS double Stochastic from Forum
     /// </summary>
     [Description("TS double Stochastic from Forum")]
     [Gui.Design.DisplayName("DoubleStoc")]
     public class DoubleStoc : Indicator
     {
    Don't copy that. Start from right after that.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh - thanx for the ideas.
      It was not so easy as expected - lots of errors has been there inside.
      I fixed it now with help from Heart - official thanx again here
      The indie shows 2 Lines + has one parameter, that works when changing it.
      But i really dont know what it is right now : it looks like the somewhere postet DoubleStochastik - but what the hell is double stochastik ?
      I only know DSS - double smoothed stachastik (bressert or blau) - this is an everywhere known indicator.
      So if someone can clear this - it would be great - i can post the fixed zip-file - but dont know how to name it now cause of these questions.
      max-td
      Last edited by max-td; 06-27-2008, 03:22 AM.

      Comment


        #4
        Could you post Double Stoch pls

        Max-td please post the DSS double stoch please.

        Many thanks

        Comment


          #5
          Name it whatever you want. People like to have their own naming conventions and spellings of things.
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Well, here we go : its called DSS_2Lines - what ever it is at the end.
            If someone is able to compare this one with an "original" DSS - Double Smoothed Stochastik (bressert or blau) - from another chart-software - feel free to post about it here if its ok or if its something else. I dont like to cover a "wrong" thing behind the name of the "DSS".
            Have fun with it.
            max-td
            Attached Files

            Comment


              #7
              Thanks for posting. Would you mind uploading to the file sharing area? http://www.ninjatrader-support.com/v...ks.php?catid=1

              Comment


                #8
                No problem - but i am still not shure about what it really is :

                DSS - Double Smoothed Stochastic (bressert or blau)
                OR
                DoubleStochastic

                and what basic differents there are between those 2 concepts.
                max-td

                Comment


                  #9
                  Originally posted by max-td View Post
                  No problem - but i am still not shure about what it really is :

                  DSS - Double Smoothed Stochastic (bressert or blau)
                  OR
                  DoubleStochastic

                  and what basic differents there are between those 2 concepts.
                  max-td
                  Max, this is Bressert. Very nice! Thanks for posting.
                  Attached is a pic of your DSS with Bressert's actual indicator for TS. I have the TS code if you want to go over it.
                  Again, thanks. I love Bresserts stuff but since my switch to Ninja have not had it.
                  Attached Files

                  Comment


                    #10
                    Those look pretty close jjthetrader, I think the Bressert one just calculates tho stochs instead of smoothing the normal ones two times like Blau did it...this way you get more amplitude and the buy / sell levels are more constant...
                    BertrandNinjaTrader Customer Service

                    Comment


                      #11
                      in the code it has

                      if(CurrentBar>stLen)
                      {
                      // {Stoc-1}
                      Num1=Close[0]-MIN(Low, StLen)[0];
                      Denom1=MAX(High, StLen)[0]-MIN(Low, StLen)[0];
                      ratio1.Set(Denom1>0 ? (Num1 / Denom1)*100 : ratio1[1]);
                      pctK1.Set(CurrentBar==1? ratio1[0]: pctK1[1]+(.5*(ratio1[0]-pctK1[1])));
                      Plot0.Set(pctK1[0]);

                      // {Stoc-2}
                      Num2=pctK1[0]-MIN(pctK1,StLen)[0];
                      Denom2=MAX(pctK1,StLen)[0]-MIN(pctK1,StLen)[0];
                      ratio2.Set(Denom2>0?(Num2/Denom2)*100:ratio2[1]);
                      pctK2.Set(CurrentBar==1? ratio2[0]ctK2[1]+(.5*(ratio2[0]-pctK2[1])));

                      Plot1.Set(pctK2[0]);

                      this lines can anyone tell me what this code part is doing?
                      stoc1 nd 2?
                      thanks

                      Comment


                        #12
                        sillykiddo, I suggest you google for Bressert work on the Double Stochastic - the first part is a regular Stochastic smoothed by an EMA...the second part the does the same but uses now the first stochastic as input series, basically a stochastic on a stochastic.
                        BertrandNinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by bortz, 11-06-2023, 08:04 AM
                        47 responses
                        1,602 views
                        0 likes
                        Last Post aligator  
                        Started by jaybedreamin, Today, 05:56 PM
                        0 responses
                        8 views
                        0 likes
                        Last Post jaybedreamin  
                        Started by DJ888, 04-16-2024, 06:09 PM
                        6 responses
                        18 views
                        0 likes
                        Last Post DJ888
                        by DJ888
                         
                        Started by Jon17, Today, 04:33 PM
                        0 responses
                        4 views
                        0 likes
                        Last Post Jon17
                        by Jon17
                         
                        Started by Javierw.ok, Today, 04:12 PM
                        0 responses
                        12 views
                        0 likes
                        Last Post Javierw.ok  
                        Working...
                        X