Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetStopLoss Simulated

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

    SetStopLoss Simulated

    Hi!

    If SetStopLoss is set to simulated in OnStateChange() and trading hours of a strategy are set to regular trading hours, will it execute also outside the regular trading hours (eg. within extended trading hours)? If yes, is it possible to restrict it to execute only within the trading hours of the strategy or more specificly only if the price is hit within the strategies' trading hours?

    Does it calculate on each tick? So, even if the strategy is set to 120min chart it will immediately send an order as soon as the price is hit?

    Thanks!

    Regards
    Kirk
    Last edited by KirkHammett; 02-09-2020, 02:35 AM.

    #2
    If you are using the sample MovingAverage its uses its own settings and ignore your settings.If strategy is set to tick , it will calculate in Tick but if strategy is set to mins , it will calculate in minutes.
    Last edited by Emma1; 02-09-2020, 11:42 AM.

    Comment


      #3
      Hi Kirk, thanks for your post.

      If the stop is simulated, the stop will be submitted as a market order only if the market price reaches the price of the stop. A strategy will not trade if outside of the Session Template applied in the Data Series menu:

      https://ninjatrader.com/support/help...ding_hours.htm - Trading Hours

      The stop does calculate "on each tick" even though the strategy might run OnBarClose. So if the price reaches a stop price, the order will be submitted.

      Please let me know if I can assist any further.

      Comment


        #4
        Perfect thanks a lot for the quick response!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        87 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        133 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        68 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        118 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        67 views
        0 likes
        Last Post PaulMohn  
        Working...
        X