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

Refreshing all Charts for exporting data

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

    Refreshing all Charts for exporting data

    I have set up 40 charts to export data into a spreadsheet using one of the scripts from here.

    The problem I now have is that I need to press f5 on each chart to get the indicator script to work.

    Is there a method to open the workspace I have saved them to and refresh all in one go, or set up a another script to refresh each chart in the workspace one by one?

    Thanks

    Tinkerz

    #2
    Hello,

    Are all 40 chart's indicators writing to the same file, or 40 different files?

    When you restart NinjaTrader does this not refresh the indicators?

    I look forward to assisting further.
    LanceNinjaTrader Customer Service

    Comment


      #3
      They are updating 1 spreadsheet, thanks.

      Comment


        #4
        Hello,

        You're likely running into access errors with multiple scripts trying to access the file at the same time.

        While this case does not sound like a multi-threading issue the topic discussed here is something you will want to be aware of: http://www.ninjatrader.com/support/h..._threading.htm

        Having multiple indicators/strategies write to the same file concurrently is not something supported by us.

        You might be able to write a multi-series writer which would run from one chart and load the series in the background so that it could export from the same script.


        Please let me know if I can be of further assistance.
        LanceNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,281 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        19 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by Tim-c, Today, 02:10 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Taddypole, Today, 02:47 PM
        0 responses
        5 views
        0 likes
        Last Post Taddypole  
        Working...
        X