• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

StopLoss Every Tick

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

    StopLoss Every Tick

    Hello,

    I have the problem, that my stopLoss isnt triggered since the bar has closed; because of that some Losses ar unnormal big.

    What i have to do?
    I tried it with setting CalculateOnBarClose to false, but nothing happens?
    Do i have to change the
    "UpdateOnBar()" method to another ?

    Isnt it possible in Ninja Trader to get stopped out if Calculating on Bar Close?

    best regards
    Last edited by FX90903; 03-06-2015, 08:04 AM.

    #2
    Hello FX90903,

    Are you testing this in real-time or with historical data / backtest?

    In realtime, the order will be stopped when the price is hit in real-time.

    In historical, Calculate on bar close is always True.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      I backtest not in Realtime.

      I saw this post:
      http://www.ninjatrader.com/support/f...ead.php?t=6652

      But the example isnt working. Is this way possible?

      best regards

      Comment


        #4
        Hello FX90903,

        Thank you for your response.

        The example would work for the Exit() and Enter() methods but not the Set() methods for stop loss and profit target.

        If you want to submit to a smaller time frame use an Exit() method and set the barsInProgressIndex to the smaller series BarsInProgress.

        Please visit the following link for more information: http://www.ninjatrader.com/support/h...nstruments.htm

        Please let me know if I may be of further assistance.
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Swing123, Today, 09:34 AM
        0 responses
        1 view
        0 likes
        Last Post Swing123  
        Started by JTizz, Today, 08:59 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by GTBrooks, Today, 08:28 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by manxtrader75, Yesterday, 11:42 AM
        3 responses
        18 views
        0 likes
        Last Post NinjaTrader_ChristopherD  
        Started by julifro, Today, 08:24 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Kate  
        Working...
        X