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 NullPointStrategies, Today, 05:17 AM
      0 responses
      51 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      127 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X