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 junkone, Today, 11:37 AM
    2 responses
    12 views
    0 likes
    Last Post junkone
    by junkone
     
    Started by frankthearm, Yesterday, 09:08 AM
    12 responses
    43 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by quantismo, 04-17-2024, 05:13 PM
    5 responses
    35 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by proptrade13, Today, 11:06 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    35 views
    0 likes
    Last Post love2code2trade  
    Working...
    X