Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

close position

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

    close position

    Hi,

    I have a problem with a strategy. I put a time limit in the strategy (for example from 9am to 5pm), in this time the strategy shall trade and I want to close all positions at 5:30pm. Because I do not want positions "over night". But it does not work. Sometimes I have trades from monady to tuesday or friday to monday. But I want to close all open positons at same day. Have you any idea what the reason could be?

    #2
    Jesse,

    You could just try setting ExitOnClose = true and let that logic close out of your positions for you.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by llanqui, Today, 03:53 AM
    0 responses
    5 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Working...
    X