Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time Since Entry

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

    Time Since Entry

    What would be the best way to tell how much time has pased since entry.
    Would you have to save time when entry was done and at current bar figure time elasped ?

    #2
    Hello,

    Right this would be the best way. Is to store the time in a DateTime object and then you can do comparisons with it against Time[0] for whatever it is you are try to do after time after entry.

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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    36 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    130 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    185 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    95 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    138 views
    0 likes
    Last Post cmoran13  
    Working...
    X