Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy: Stop/target handling

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

    Strategy: Stop/target handling

    I'm getting the message (repeated) in my log: 'Stop/target handling set to 'By strategy position' since currency based stop order was placed'

    #2
    Hello heavy,

    Thank you 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.

    Please let me know if I may be of further help.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by geotrades1, Today, 10:02 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by ender_wiggum, Today, 09:50 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by rajendrasubedi2023, Today, 09:50 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by bmartz, Today, 09:30 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by geddyisodin, Today, 05:20 AM
    3 responses
    26 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X