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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    104 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    52 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    34 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    38 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    74 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X