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

Need help with windows 10 permissions

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

    Need help with windows 10 permissions

    I'm trying to use the "SampleStreamWriter" indicator code in a custom strat but I'm having trouble with file permissions. I created a folder and the text file and then gave full access to all users. Still, I'm getting the " A required privilege is not held by the client." error when I try to run it in the analyzer.

    #2
    Hello Chippy,

    Thanks for your post.

    This may be due to other issues than permissions.

    Is the file open and in use with another application or part of the platform?

    If you write the file to a unique folder related to the script/instrument, do you see the symptoms still?

    I am not seeing this issue with the test script attached. Do you see the issue with this basic modification? If you are still stuck, could you modify the script to show me exactly how you are encountering your issue?

    I look forward to hearing from you
    Attached Files
    JimNinjaTrader Customer Service

    Comment


      #3
      Thanks Jim. It seems like windows explorer was keeping the file open. I closed explorer as it was the only thing remotely close to having the file opened and it worked.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by nandhumca, Today, 03:41 PM
      0 responses
      4 views
      0 likes
      Last Post nandhumca  
      Started by The_Sec, Today, 03:37 PM
      0 responses
      3 views
      0 likes
      Last Post The_Sec
      by The_Sec
       
      Started by GwFutures1988, Today, 02:48 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Clayton  
      Started by ScottWalsh, 04-16-2024, 04:29 PM
      6 responses
      33 views
      0 likes
      Last Post ScottWalsh  
      Started by frankthearm, Today, 09:08 AM
      10 responses
      36 views
      0 likes
      Last Post frankthearm  
      Working...
      X