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 bmartz, 03-12-2024, 06:12 AM
            5 responses
            32 views
            0 likes
            Last Post NinjaTrader_Zachary  
            Started by Aviram Y, Today, 05:29 AM
            4 responses
            12 views
            0 likes
            Last Post Aviram Y  
            Started by algospoke, 04-17-2024, 06:40 PM
            3 responses
            28 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by gentlebenthebear, Today, 01:30 AM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by cls71, Today, 04:45 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X