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 traderqz, Yesterday, 09:06 AM
    3 responses
    21 views
    0 likes
    Last Post NinjaTrader_ThomasC  
    Started by f.saeidi, Today, 10:19 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by kujista, Today, 06:23 AM
    5 responses
    17 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by traderqz, Today, 12:06 AM
    3 responses
    6 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by RideMe, 04-07-2024, 04:54 PM
    5 responses
    28 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Working...
    X