Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop/target handling

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

    Stop/target handling

    How do I get rid of this output?

    "Stop/target handling set to 'By strategy position' since currency based stop order was placed."

    I changed the stop/target handling in the defaults to ByStrategyPosition, but this error still persists

    #2
    Set your stop based on ticks, or points, or price, instead of currency.
    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      Hello trader3000a,

      Thanks for your post.

      The message that you received is a deliberate message from the platform notifying you that it has taken an action to change the Stop/Target Handling based on how the Strategy was written. It is an expected message/behavior and is not a bug. The strategy will have to be tailored to using StopTargetHandling.ByStrategyPosition if you wish to use currency-based stop orders in your strategy.

      It's also important to understand that Currency based stops and targets will be placed differently depending on the quantity of the order placed. For example, if you had a order for a single contract and it has a currency based stop at $400, that stop would be placed where it would be at a $400 loss. However, if you use a quantity of 2, the stop would be placed at $200 in loss below the current price for a total loss of $400 between the two contracts.

      If you would like to avoid seeing this message, you could consider changing your Stops and Targets to use CalculationMode.Ticks, CalculationMode.Percent, CalculationMode.Pips, or CalculationMode.Price instead of CalculationMode.Currency.

      See the different CalculationModes available on this help guide page: https://ninjatrader.com/support/help...get.htm​
      <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      45 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      31 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X