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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      91 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      137 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
      121 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      72 views
      0 likes
      Last Post PaulMohn  
      Working...
      X