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 bortz, 11-06-2023, 08:04 AM
        47 responses
        1,605 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        13 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X