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 adeelshahzad, Today, 03:54 AM
            5 responses
            32 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by stafe, 04-15-2024, 08:34 PM
            7 responses
            32 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by merzo, 06-25-2023, 02:19 AM
            10 responses
            823 views
            1 like
            Last Post NinjaTrader_ChristopherJ  
            Started by frankthearm, Today, 09:08 AM
            5 responses
            21 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            43 views
            0 likes
            Last Post jeronymite  
            Working...
            X