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 Brevo, Today, 01:45 AM
    0 responses
    3 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    3 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    239 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    6 views
    0 likes
    Last Post oviejo
    by oviejo
     
    Working...
    X