Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

program exit verus refresh (f5)

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

    program exit verus refresh (f5)

    Hello,

    How can I determine from within an indicator if the redraw being done was caused by a refresh versus the new-start of the program?

    Ideally I would like to know what method I can overwrite/append upon program exit.

    I have an indicator that relies on live data and when I press F5 it wipes out the history. My plan is to write the data to a file and read it in on an F5 refresh. But if I exit the program or start the program new I will not use the data file values.

    Thus is there a way to determine if I exit the program versus if an F5 refresh was pressed? Example code to review would be ideal...

    If this is too detailed of a question for this form could you at least point me in the direction to search? I know sometimes these things are MSN related and have no problems digging there...

    #2
    Hello,

    Thank you for your note.

    Unfortunately this is not supported.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    572 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    331 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    549 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    550 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X