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 rjbtrade1, 11-30-2023, 04:38 PM
        2 responses
        75 views
        0 likes
        Last Post DavidHP
        by DavidHP
         
        Started by Stanfillirenfro, Today, 07:23 AM
        3 responses
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by FitSpressoHonest, Today, 09:14 AM
        0 responses
        1 view
        0 likes
        Last Post FitSpressoHonest  
        Started by Davide999, 05-18-2023, 03:55 AM
        4 responses
        557 views
        1 like
        Last Post kcwasher  
        Started by rexsole, Today, 08:39 AM
        2 responses
        7 views
        0 likes
        Last Post NinjaTrader_Erick  
        Working...
        X