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 twitch251, Today, 05:14 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by robforee2, Today, 05:07 PM
    0 responses
    1 view
    0 likes
    Last Post robforee2  
    Started by blar58, Today, 03:16 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by alcorr247, Today, 02:52 PM
    2 responses
    8 views
    0 likes
    Last Post robforee2  
    Started by Radano, Today, 02:30 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChrisL  
    Working...
    X