Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Exit on close

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

    How to Exit on close

    Hello,

    How do I exit on close in the strategy analyzer. I can't seem to find the condition.

    Screenshot attached.

    All I wish to do is sell at the end of the bar (ie, sell on close) however NT is set up so it sells at the beginning of the next day.

    Can you plz assist?
    Attached Files

    #2
    Hello kid hustlr - unfortunately this would not be possible per default since you're only working on daily data here - you could though via custom coding add minute data into the script that would allow you to run a intraday exit condition simulating exiting on the close then for your script.

    You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    93 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    69 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X