Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Seeking Programmer for Hire for complex project

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

    Seeking Programmer for Hire for complex project

    Dear programmer,

    I want to hire a Ninja programmer that can deliver to me:

    1) Fully functioning source
    2) Function I can easily incorporate into my other strategies
    3) Ability to connect to my private MySQL database
    4) Store information into my DB regarding the success/failure of last trade
    5) Retrieve information from my DB regarding past trades success/failure

    The information recorded on the trade would be something like:
    a) Date/time of entry/exit
    b) Instrument
    c) Entry price
    d) MAE
    e) MFE
    f) Exit price
    g) Stop
    h) Target
    i) Multiple indicator values at entry and exit, such as "indicator 1: value 1", "indicator 1: value 2", "indicator 2: value 1", "indicator 3: value 1"

    It is also very likely the DB will need to store a lot of other information in the database, such as the open/high of each bar and the values of each indicator passed to it. This is so that later when a trade fails, the database will contain the information necessary to determine what the indicator values would need to have been in order to either not take the trade if the target was not possible before hitting the stop, or what the indicator values should have been to get an earlier/later/better entry in order to hit the target before hitting the stop.

    My strategy will need to be able to use the global function to query the database for this information, so it can make changes to itself (self-adapting/self-learning) for future trades.

    I can call an update function onbarupdate (close of bar) so database has access to ninja variables. It can also be called immediately upon execution of an Entry order, with predefined stops and targets. So it can use this info to determine if a trade was a success or failure, or maybe there is another way to query Ninja directly for this.

    I am willing to take on partners that want to split the cost of development and receive the full code, you can let me know if interested.

    Mike

    #2
    Well, I've managed to accomplish the beginning of this on my own.

    I now have a mySQL database storing trade transactions, and a whole slew of indicator values at the time of the trade, along with the profit target, stop limit, etc.

    It is only a beginning, but I can now query the DB to see if the last trade was successful, and know what the values of certain indicators were if it was (or wasn't), and then Ninja could take a different action.

    Below is a screen shot of mysql db table, along with the trades tab from ninja.

    Woot!



    Mike

    Comment


      #3
      I had a similar idea a while ago. It seems like it could be a great way to develop and improve trading strategies.

      Good luck.

      Comment


        #4
        Indicator / Trade Analysis

        Hi guys

        I wish you good luck with your project - I spent 3 years as part of a team that did just this. We analysed 100s of millions of trades / indicator combinations, including combinations of indicators. We used Microsoft Analysis Server with a cluster of 10 pcs automatically collecting trade data and analysing over many 1000s of hours.

        In our case it proved to be a dead end, all you get are the classic curve fitting results.

        Rgds
        Paul

        Comment


          #5
          Originally posted by pauly139 View Post
          Hi guys

          I wish you good luck with your project - I spent 3 years as part of a team that did just this. We analysed 100s of millions of trades / indicator combinations, including combinations of indicators. We used Microsoft Analysis Server with a cluster of 10 pcs automatically collecting trade data and analysing over many 1000s of hours.

          In our case it proved to be a dead end, all you get are the classic curve fitting results.

          Rgds
          Paul
          Wow.

          But surely you agree you can make better trade decisions (or the strategy can) by examining some of this information, yes?

          Mike

          Comment


            #6
            It depends upon how you approach the whole exercise. If you use such a system to try and find indicators that work, no. If you design your analysis to look at indicators that you know have a certain performance, using whatever metrics you decide are useful, and then compare that performance in different market situations, then some value can be found.

            However this was just my experience - others may have had better success :-)

            Comment


              #7
              Originally posted by pauly139 View Post
              It depends upon how you approach the whole exercise. If you use such a system to try and find indicators that work, no. If you design your analysis to look at indicators that you know have a certain performance, using whatever metrics you decide are useful, and then compare that performance in different market situations, then some value can be found.

              However this was just my experience - others may have had better success :-)
              I have a system that works fairly well, but only for short periods like 60-90 days. Then, the system needs a tweak (ie, value1 needs to be 50, not 75). It then works in another time frame for another 60-90 days.

              So my intention is to auto-tweak, not to find/use/add indicators or other metrics to my existing system.

              Mike

              Comment


                #8
                A worthy read ... see Chapter 6

                Evidence-Based Technical Analysis: Applying the Scientific Method and Statistical Inference to Trading Signals by David R Aronson has an excellent chapter on Data-Mining Bias. And no I am not a programmer nor a statistician.

                I admire your work and hope this might help you get closer to your goal:

                Comment


                  #9
                  i have not the time, to do similar. but i have read this book. code sample in c++ and curve fitting and so on ...
                  at my study time i worked with gnu r ... with a lot of timeseries ...

                  gnu r great tool for analysis



                  i think it is a good intro for genetic coding like an biologian or neural networks.

                  best regards

                  Comment


                    #10
                    I am late to this thread but my experience is much the same as pauly139's. I was with a hedge fund working on high frequency/algorithmic trading and in the end most of that stuff didn't help.

                    What does work is pure price action analysis around opening ranges and pivots (R1, S1, etc). On another forum, someone (not me) started what amounted to an adult (to use the term loosely) food fight by quoting studies that seemed to indicate that most indicators were not useful at all and the rest were only marginally useful.

                    Traders just don't want to hear that. When looking at a chart, your eyes will naturally be drawn to things that look predictive but try those same techniques against what is affectionally known as the hard right edge of the chart.
                    Last edited by ScottB; 03-27-2011, 07:53 AM.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by rdtdale, Today, 01:02 PM
                    1 response
                    5 views
                    0 likes
                    Last Post NinjaTrader_LuisH  
                    Started by alifarahani, Today, 09:40 AM
                    3 responses
                    16 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by RookieTrader, Today, 09:37 AM
                    4 responses
                    19 views
                    0 likes
                    Last Post RookieTrader  
                    Started by PaulMohn, Today, 12:36 PM
                    0 responses
                    11 views
                    0 likes
                    Last Post PaulMohn  
                    Started by love2code2trade, 04-17-2024, 01:45 PM
                    4 responses
                    41 views
                    0 likes
                    Last Post love2code2trade  
                    Working...
                    X