Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Stop Loss Greater Than The Specified 16 Ticks

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

    Strategy Stop Loss Greater Than The Specified 16 Ticks

    In the chart displayed below, please help me to determine why some of the position losses are
    greater than the strategy specified stoploss 16 ticks?


    CHART IMAGE
    Click image for larger version

Name:	NOV1 ... FOR NINJA FORUM CHART IMAGE.jpg
Views:	1
Size:	412.3 KB
ID:	906440

    STRATEGY CODE
    Click image for larger version

Name:	NOV1 ... FOR NINJA FORUM1.JPG
Views:	1
Size:	537.9 KB
ID:	906438

    USER DEFINED INPUTS
    Click image for larger version

Name:	NOV1 ... FOR NINJA FORUM2.JPG
Views:	1
Size:	171.9 KB
ID:	906439

    #2
    Hello joemiller,

    The ProfitTarget uses the User Defined Input 'ProfitGoal'.
    The StopLoss uses a hard coded value of 32.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea, that fixed my problem.

      Another help request please ...

      I want to test for having been stopped out of a position and then to take an action, but I don't see how to do it In the Strategy Wizard Conditions and Actions window. If it's possible to test for ''stopped out'' how do I do so?

      Comment


        #4
        Hello joemiller,

        You can detect that the position is flat.
        In the Condition Builder on the left select Strategy -> MarketPosition, select == in the operator in the center, select Strategy -> Flat on the right.

        If you want to detect if a specific order has filled, you would need to do this in OnOrderUpdate or OnExecution which cannot be done with the strategy wizard.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        114 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        160 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        81 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        126 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        80 views
        0 likes
        Last Post PaulMohn  
        Working...
        X