Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Avoid having to Reload NinjaScript daily

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

    Avoid having to Reload NinjaScript daily

    Hi,

    I have an indicator that creates a text file using private string path and DateTime.Now.ToString("ddMMyy.txt").

    At the moment I need to Reload NinjaScript the next day so the path is updated to today's date. How can I make the file change dates automatically without having to do this?

    Thanks for your help,
    suprsnipes

    #2
    Hello suprsnipes,
    DateTime.Now will return the current system time stamp and you dont have to reload the NinjaScript code to update the date.

    To assist you further can you please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.

    *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X