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 Belfortbucks, Today, 09:29 PM
      0 responses
      6 views
      0 likes
      Last Post Belfortbucks  
      Started by zstheorist, Today, 07:52 PM
      0 responses
      7 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      151 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      6 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Working...
      X