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 guillembm, Yesterday, 11:25 AM
    2 responses
    9 views
    0 likes
    Last Post guillembm  
    Started by junkone, 04-21-2024, 07:17 AM
    9 responses
    68 views
    0 likes
    Last Post jeronymite  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    4 responses
    20 views
    0 likes
    Last Post trilliantrader  
    Started by mgco4you, Yesterday, 09:46 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by wzgy0920, Yesterday, 09:53 PM
    0 responses
    10 views
    0 likes
    Last Post wzgy0920  
    Working...
    X