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 rdtdale, Today, 01:02 PM
            0 responses
            2 views
            0 likes
            Last Post rdtdale
            by rdtdale
             
            Started by alifarahani, Today, 09:40 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by RookieTrader, Today, 09:37 AM
            4 responses
            18 views
            0 likes
            Last Post RookieTrader  
            Started by PaulMohn, Today, 12:36 PM
            0 responses
            7 views
            0 likes
            Last Post PaulMohn  
            Started by love2code2trade, 04-17-2024, 01:45 PM
            4 responses
            41 views
            0 likes
            Last Post love2code2trade  
            Working...
            X