Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to stop trading after set time if ProfitTarget is reached.

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

    How to stop trading after set time if ProfitTarget is reached.

    I am trying to figure out how to use the strat wizard to configure a strategy to not trade after 11 AM but if Unrealized PnL is < 0 continue to trade until current position has reached it's ProfitTarget. Please help me in this. Thank you

    #2
    relogical,

    I am not really sure of an easy way to make this in the Strategy Wizard. You would need either some form of "OR" statement here, or to use flags. Both of these would probably require you to code it.

    Maybe someone else has an idea, as of now I will think on it.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    369 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    237 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    205 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    292 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    252 views
    0 likes
    Last Post CarlTrading  
    Working...
    X