Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily Target in Replay

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

    Daily Target in Replay

    I would like to set a daily stoploss and daily target for the strategy and then let it run multiple days without stopping and restarting the strategy. Can you give me some advice how I would go about resetting the daily limits each day?

    #2
    Hello Tdschulz,

    You may use the FirstBarOfSession to be to set a new Stop Loss and Profit target for each new day/session, for a reference sample you may view the following link.

    http://www.ninjatrader.com/support/f...ad.php?t=19182

    Alternatively, you may use Time to find out what day it is as well. See the following link for a reference sample on the Time Filtering.
    http://www.ninjatrader.com/support/f...ead.php?t=3226

    Also, here is a link that demonstrates how you may modify the price of a stop loss and profit target orders that you may view.
    http://www.ninjatrader.com/support/f...ead.php?t=3222
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    61 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    40 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X