Looking for code that draws trend lines or linear regression lines (preferably in C#)

Discussion in 'App Development' started by Newmoney24, Jun 17, 2013.

  1. Go to www.ninjatrader.com and download the software..

    look in:

    \My Documents\NinjaTrader 7\bin\Custom\Indicator


    there you have all of their indicators in .cs file format
     
    #11     Jun 25, 2013
  2. You might want to Goggle (image) 'automatic trend line' to see some results of what others have done. Seeing that,
    you might want to reconsider and draw the lines yourself.

    If you click on some of the images, it'll take you to where you can download the code.

    Hope you find something that really works.
     
    #12     Jun 25, 2013
  3. guest2

    guest2

    #13     Jun 25, 2013
  4. i am bumping this to see if anyone has ideas to add, I got a bit of code from a previous poster but do not feel it's sufficient,

    appreciate the help so far
     
    #14     Jul 16, 2013
  5. Eyez

    Eyez


    "It's sooo basiccc, but I can't do it, can someone give it to me for free?"- is all I read. Maybe if you attach some monetary benefit in solving your problem you would get more proper responses.
     
    #15     Jul 16, 2013


  6. I appreciate this but it is incomplete as I can't use it without plugging data into it, where is the code for that?


    ie: I need to be able to direct it to an excel sheet or ASCII with the data
    (where the layout of my data is as follows:

    "Date","Time","Open","High","Low","Close","Volume"
    06/28/2004,0931,37.49,37.50,37.45,37.46,1049200
     
    #16     Jul 16, 2013
  7. Eyez

    Eyez


    Learn to program
     
    #17     Jul 16, 2013