Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MARS Anyone?

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

    MARS Anyone?

    Was wondering if anyone knows of any implementations of MARS or Multivariate Adaptive Regression Splines or something similar in c#. Heres the wiki http://en.wikipedia.org/wiki/Multiva...ession_splines

    #2
    Originally posted by darckeen View Post
    Was wondering if anyone knows of any implementations of MARS or Multivariate Adaptive Regression Splines or something similar in c#. Heres the wiki http://en.wikipedia.org/wiki/Multiva...ession_splines
    here is a java implementation very similar to c# ...

    best regards
    wh

    http://www.amisworks.com/MARSplines.java
    Last edited by whself beginner; 05-22-2009, 02:35 PM.

    Comment


      #3
      Now to find a java -> C# converter. Thanks alot

      Comment


        #4
        Read the section in wikipedia about the forward and backward pass..

        essentially, MARS is useless for trading because it is slow to calculate and it 'repaints' in indicator terms =)

        Gaussian process regression or regression using recurrent neural network are currently the best methods for use on financial time series, as far as I know.

        Comment


          #5
          I'm definately not an expert in math or anything but i've been working recently with splines and was looking for something that was more adaptive and came across MARS. Heavy processing time is definately a problem. What do you mean by repainting in indicator terms? Anyways i'll take a look at that those other regression implementations and see what i can comprehend about them.

          Comment


            #6
            I guess what sefstrat is saying is, it's basically constantly refitting in realtime...if anybody is intro 'number crunching', probably SSA is pretty well suited for financial time series - http://en.wikipedia.org/wiki/Singular_Spectrum_Analysis
            BertrandNinjaTrader Customer Service

            Comment


              #7
              Cool i'll check that out too. I think i understand what you mean about repainting and i think thats what i'm looking for. Basically i dont care if its optimizing realtime because as far as i know in backtesting i can't look foward at data so any trades generated off such an indicator would be valid so to speak, right? Then again if something takes an hour to process each bar it wont be of much use lol.

              Comment


                #8
                A good example would be the Regression Channel, it fits a best fit channel to the last x bars of user selected data, you might think ok this is a great short at the upper trendline, but as a new bar comes in the channel will then adjust and move to the newly fitted location so your trade location may not be ideal anymore, that's why dealing with standard deviations is tricky...
                BertrandNinjaTrader Customer Service

                Comment


                  #9
                  http://en.wikipedia.org/wiki/Weka_(machine_learning)
                  Last edited by whself beginner; 05-23-2009, 11:42 AM.

                  Comment


                    #10
                    Regression Channel for bars past

                    Originally posted by NinjaTrader_Bertrand View Post
                    A good example would be the Regression Channel, it fits a best fit channel to the last x bars of user selected data, you might think ok this is a great short at the upper trendline, but as a new bar comes in the channel will then adjust and move to the newly fitted location so your trade location may not be ideal anymore, that's why dealing with standard deviations is tricky...
                    Bertrand or whomever will answer,

                    Since the Built-In Regression Channel Indicator plots to the most current x bars on the chart, is there a manner to "walk the channel backwards" to the displayed chart that is already past? I've tried reloading and that doesn't do the trick.
                    Thanks in Advance,
                    Kirk

                    Comment


                      #11
                      Not sure what you mean "walk the channel backwards". You can try using the displacement property when you add the indicator onto the chart to push it back?
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        no I mean unlock it from the current bar... so it can show up on past bars as I scroll left on the chart to look at the previously completed bars.

                        thanks,
                        kz

                        Comment


                          #13
                          This would need a good amount of custom coding Kirk, you can check into this from our sharing for ideas - http://www.ninjatrader-support2.com/...p&id=2&catid=1
                          BertrandNinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by rajendrasubedi2023, Today, 09:50 AM
                          1 response
                          10 views
                          0 likes
                          Last Post NinjaTrader_BrandonH  
                          Started by geotrades1, Today, 10:02 AM
                          0 responses
                          3 views
                          0 likes
                          Last Post geotrades1  
                          Started by ender_wiggum, Today, 09:50 AM
                          0 responses
                          4 views
                          0 likes
                          Last Post ender_wiggum  
                          Started by bmartz, Today, 09:30 AM
                          1 response
                          8 views
                          0 likes
                          Last Post NinjaTrader_Erick  
                          Started by geddyisodin, Today, 05:20 AM
                          3 responses
                          24 views
                          0 likes
                          Last Post NinjaTrader_Gaby  
                          Working...
                          X