Spotting a trend

Discussion in 'Technical Analysis' started by logan04x, Mar 21, 2010.

  1. I too am a software engineer keen on UI who came into trading about 10 years ago and you remind me of myself back then. I wrote a lot of charting UI expecting to learn from it and after a while it became obvious that if my model for creating a trend line, for example, had any meaning beyond just looking pretty then it must have some kind of predictive power.

    For example, if the line I plot off my data points indicate perfectly that there is a strong trend and the trend is up then what meaning does this have unless I can buy now and sell later for a profit? I did eventually learn a lot but it would have been a lot faster if I didn't feel like I had to out-do every chart programmer with a better, cleaner, more intuitive version of every chart I looked at and write my own version - like I could plot the points of a trend line in a way no one else thought of, my own special tweak that resulted in perfect predictions, ha!

    In retrospect I would have been better off had I split my time between using off-the-shelf charting software like a "normal" person learning to trade and spent my programming time exclusively running simulations proving or disproving those trends and patterns using various strategies and getting a sense of the benefits and pitfalls of simulators.

    Hmm, reading this I'm thinking I may be simply revealing what a lunatic I am. But if it has meaning I'm glad to help, lunatic to lunatic.:D
     
    #31     Apr 4, 2010
  2. logan04x

    logan04x

    Ha, thanks for the response :). I'm actually using Python for this one (though I'm a C++ programmer at heart). The reason I choose Python is because it has all the goods of an easy to use language and a very powerful set of libraries. For drawing the charts I'm using matplotlib (here is an example of how easily you can plot candle sticks with it - http://matplotlib.sourceforge.net/examples/pylab_examples/finance_demo.html, you can also overlay volume or other indicators with a few lines of code). For me GUI is not so important as are the core classes which do the crunching of numbers to find patterns. However, GUI becomes important to see the results of the code and see if it found the pattern or not, which is very easy with matplotlib. Somebody also pointed me to ta-lib, which I will use for calculating a number of indicators as I move along.

    So far I have coded up the basic pattern class heirarchy and added double top/bottom to it. Today worked upon head and shoulders top, which will be done by end of the week. Does all this work? Yeah, kind of, if the pattern is very visible while looking at the chart then the tool should also be able to spot it. I believe we can make it more better as I go along (like closely look at volume changes and accordingly give the pattern a rating for strength/clarity etc).

    Thanks!
     
    #32     Apr 4, 2010
  3. logan04x

    logan04x

    Let me point out that I just want a tool that scans multiple charts and tells me if there are any emerging patterns or any patterns that completed the formation. I don't want to predict something that no one else knew about :).
     
    #33     Apr 4, 2010
  4. I have a tool like that and it was a bugger to create. It dumps the data to an Excel spreadsheet each morning telling me what charts are ready to immediately execute positions.

    It doesn't predict, it reads. what is the difference you say . . .

    A weatherman predicts it will rain tomorrow.

    A "reader" stands in the middle of the yard, feels the strong winds coming from the direction os a major storm cloud he sees along with the smell of rain just a few miles away and sees the lightning and thunder associated with that storm and then makes the statement, "It's going to rain".
     
    #34     Apr 5, 2010


  5. Stay focussed on what you are looking for. Right click on put-down posts/send to/recycle bin.

    Jack is a thorough gentleman whether you agree or disagree with his technical analysis.

    Goodluck to you, Sir. :)
     
    #35     Apr 5, 2010
  6. logan04x

    logan04x

    Yes, I want it to read as well and not predict.

    You mean it was too difficult to create it or maybe too easy? I'm curious to know more about it.
     
    #36     Apr 5, 2010
  7. No, it was difficult to create because all oscillation outcomes had to be taken into consideration and on my charts there are 8 specific oscillation types. Of these 8 oscillation types at least 3 types, at any given moment, must activate while moving in or being in the same direction.
     
    #37     Apr 5, 2010