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 DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    1 view
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    6 views
    0 likes
    Last Post Javierw.ok  
    Started by timmbbo, Today, 08:59 AM
    2 responses
    10 views
    0 likes
    Last Post bltdavid  
    Started by alifarahani, Today, 09:40 AM
    6 responses
    41 views
    0 likes
    Last Post alifarahani  
    Working...
    X