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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        65 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        139 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X