Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

T3 Indicator

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

    T3 Indicator

    To import:

    - Download the file contained in this thread to your desktop
    - From the Control Center window select the menu File > Utilities > Import NinjaScript
    - Select the downloaded file
    Attached Files

    #2
    Download

    I cant seem to download the Zip file. Each time I try I am told I am either not logged in (when I am) or do not have permission.

    I have been able to download the Double Stochatic successfully.

    Any ideas or suggestions?

    Comment


      #3
      Can you try logging out, clear your browser cache and then log back into the forum and try again?
      RayNinjaTrader Customer Service

      Comment


        #4
        Download

        That did - thanks Ray...

        Comment


          #5
          T3 Ma

          Hi Ray,

          Would it be possible to have this indicator included as part of the Ninja system indicators?

          Below is a tradestation implementation;

          Thanks

          T3 MA Indicator;

          Inputs:
          Price(close),
          Period(6),
          vFactor(.7);

          Vars:
          T3(0);

          T3 = GD (GD (GD (Price, Period, vFactor), Period, vFactor), Period, vFactor);

          Plot1(T3, "T3");

          Function;

          Inputs:
          Price(Numeric),
          Period(Numeric),
          vFactor(Numeric);

          Vars:
          X1(0),
          X2(0);

          X1= XAverage(Price, Period) * (1 + vFactor);
          X2= XAverage(XAverage(Price, Period), Period) * vFactor;

          GD = X1 - X2;

          Comment


            #6
            - we'll add it to the list
            - you might consider coding it yourself and provide it to the community?!?

            Comment


              #7
              rt-trader,

              Isn't that the same indicator?
              Just change the "Smooth" factor to "6" in the properties panel.
              Calling it "Period" would probably be more "Ninja", but then I was just using the original variable names I was given.
              Last edited by Gumphrie; 07-28-2007, 06:45 PM.

              Comment


                #8
                Hi Grumphrie,

                Sorry about the slow reply...

                Yes - the code will produce the same result. I posted it for NT development staff in the hope that they would produce the T3 as a 'system' indicator thus making it easy to then code Oscillators etc using a single call rather than repeating the code you posted (thanks for doing so by the way).

                Comment


                  #9
                  rt-trader: You should already be able to call it as a custom indicator. In the oscillator you are coding try something like this:

                  Code:
                  T3(0.7,2)[0]
                  The first parameter is a double for the Amplification and the second parameter is an int for Smoothing.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    I use the T3 for some indications in my trading.

                    I want to thank Gumphrie for sharing.

                    btw: This calc is very cpu intensive if you do it intra bar, which I do. I have had to make sure it is only on charts where imperative as it has caused freezing on my TS charts during high tick volume. I just wanted to warn others that it is best used only when neccessary.

                    Comment


                      #11
                      You're welcome Thomas.

                      Very true in that it is cpu intensive. I tried adding it as an option in the RMMA indicator, which draws hundreds of MAs all at once, and even though it did display the cpu was severely maxed out. Although by just drawing one there shouldn't be any problems on the NT platform.

                      There may be a better way of doing it such as calling a function as in the other example code, but that looks equally recursive.

                      Comment


                        #12
                        Hi uacvax,

                        Yep, your suggestion worked fine.

                        Thankyou for posting it.

                        Comment


                          #13
                          Request to Gumphrie

                          Hi again, Gumphrie

                          In one of those rare midnight moments I figured out how to do this so please disregard my request below...

                          Thanks




                          Hi there Gumphrie,

                          I am hopeful you may be able to code a new T3 for me based on the tradestation code below. I have made several attempts to do this - all unsuccesful. I realise that as you mentioned in an earlier post in this thread that the TS formula will produce the same result as your T3.

                          The reason I would like to use this particular implementation is that I can then apply a progressive Amplification to each iteration in of the T3 (which I cant figure out how to do in your T3 as coded).

                          An example may look like this;


                          T3 = GD (GD (GD (Price, Period, vFactor), Period, vFactor+vFactorInc), Period, (vFactor+vFactorInc*2));

                          where vFactorInc can be either an additional variable or simply a hard coded number.

                          With some experimentation with both the vFactor and vFactorInc a quite differnt MA can be produced.

                          Many thanks if you are able to help......

                          The TS code is;

                          T3 MA Indicator;

                          Inputs:
                          Price(close),
                          Period(6),
                          vFactor(.7),
                          vFactorInc(.3);

                          Vars:
                          T3(0);

                          T3 = GD (GD (GD (Price, Period, vFactor), Period, vFactor), Period, vFactor);

                          Plot1(T3, "T3");

                          Function;

                          Inputs:
                          Price(Numeric),
                          Period(Numeric),
                          vFactor(Numeric);

                          Vars:
                          X1(0),
                          X2(0);

                          X1= XAverage(Price, Period) * (1 + vFactor);
                          X2= XAverage(XAverage(Price, Period), Period) * vFactor;

                          GD = X1 - X2;
                          Last edited by rt-trader; 11-19-2007, 04:27 PM. Reason: No longer needed

                          Comment


                            #14
                            Thats good. Mad midnight moments always seem to deliver results...

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by trilliantrader, Today, 03:01 PM
                            0 responses
                            3 views
                            0 likes
                            Last Post trilliantrader  
                            Started by pechtri, 06-22-2023, 02:31 AM
                            9 responses
                            122 views
                            0 likes
                            Last Post NinjaTrader_ChelseaB  
                            Started by frankthearm, 04-18-2024, 09:08 AM
                            16 responses
                            67 views
                            0 likes
                            Last Post NinjaTrader_Clayton  
                            Started by habeebft, Today, 01:18 PM
                            1 response
                            8 views
                            0 likes
                            Last Post NinjaTrader_ChelseaB  
                            Started by benmarkal, Today, 12:52 PM
                            2 responses
                            19 views
                            0 likes
                            Last Post benmarkal  
                            Working...
                            X