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

Error generated by jumping stops

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

    Error generated by jumping stops

    Hi Ray and crew

    I am curious how to solve this problem which
    occurs more often than not.

    I have a strategy that when triggers entry order,
    places stop 2 ticks above trigger bars for long entry,
    2 ticks below entry bar for short entry, Problem arises
    when stop price is jumped (i am using range bars), then
    i receive an error message that cannot enter buy stops
    below market price and the program aborts.

    Any suggestions

    Thanks

    Lynn

    #2
    Could you post an image and point to a bar where this can occur?
    RayNinjaTrader Customer Service

    Comment


      #3
      Requested image

      The bar that this occurred on today, subsequently went
      below the stop level and would not show you anything.

      I will fwd the log and trace for you to take a look at,
      and next occurrence will try to snap a picture for you.

      Thanks

      Lynn

      Comment


        #4
        No need for a log. This is not a bug but a really limitation of what you want to do. I just want to see an image so I can suggest any potential workarounds.
        RayNinjaTrader Customer Service

        Comment


          #5
          Possible solution

          Hi Ray

          Would a possible solution be:

          Instead of enter long at high of entry bar +2 ticks stop

          add another condition that if hits triggerbar high +2 ticks, then enter
          market?

          This way could not have stop trying to enter below market, I think

          Lynn

          Comment


            #6
            Yes, for sure that would work.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by jaybedreamin, Today, 05:56 PM
            0 responses
            7 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
            1 view
            0 likes
            Last Post Jon17
            by Jon17
             
            Started by Javierw.ok, Today, 04:12 PM
            0 responses
            9 views
            0 likes
            Last Post Javierw.ok  
            Started by timmbbo, Today, 08:59 AM
            2 responses
            10 views
            0 likes
            Last Post bltdavid  
            Working...
            X