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 helpwanted, Today, 03:06 AM
        0 responses
        3 views
        0 likes
        Last Post helpwanted  
        Started by Brevo, Today, 01:45 AM
        0 responses
        7 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X