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

Make indicator drawn object, like it was drawn by the user

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

    Make indicator drawn object, like it was drawn by the user

    Hi, okay "unsupported" you will say, but for my trading work, analyzing and keeping it simple, it will be mandatory to get the indicator drawn object into the chart as they were drawn by the user. And I have no time to implement a separate database for the indicator for all instruments and draw them over and over again. And also want them to be changeable and then I have to keep the changes dynamically in my database and so on. This will blow up the time and code size with factor 20.

    I only want to export horizontal lines from one chart and import them in some other - and "All Charts" is not a solution :-)

    Any hint?

    #2
    Hello BearingHH,

    Thank you for your post.

    I could only think of running through the collection of drawn objects and writing their information to an external file that would be read by the indicator when applied to the new chart.

    For information on the drawing objects collection please visit the following link: http://ninjatrader.com/support/helpG...drawobject.htm
    Please visit the following link for samples on reading from and writing to files: http://ninjatrader.com/support/forum...splay.php?f=30

    Comment


      #3
      At least, I saved the drawing objects in files with JSON-Layout and implemented im- and export
      If someone stumbles over this thread and want to have the source, ask me. I wouldn't upload it, as it is a relative quick and dirty solution.

      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ageeholdings, Today, 07:43 AM
      0 responses
      6 views
      0 likes
      Last Post ageeholdings  
      Started by pibrew, Today, 06:37 AM
      0 responses
      4 views
      0 likes
      Last Post pibrew
      by pibrew
       
      Started by rbeckmann05, Yesterday, 06:48 PM
      1 response
      14 views
      0 likes
      Last Post bltdavid  
      Started by llanqui, Today, 03:53 AM
      0 responses
      6 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by burtoninlondon, Today, 12:38 AM
      0 responses
      12 views
      0 likes
      Last Post burtoninlondon  
      Working...
      X