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 algospoke, 02-19-2024, 03:25 PM
            6 responses
            40 views
            0 likes
            Last Post Abiodun
            by Abiodun
             
            Started by LillyMarv, Today, 06:47 AM
            1 response
            11 views
            0 likes
            Last Post marcus2300  
            Started by michi08, Today, 08:51 AM
            1 response
            7 views
            0 likes
            Last Post bltdavid  
            Started by awwenzovs, Today, 08:03 AM
            1 response
            9 views
            0 likes
            Last Post bltdavid  
            Started by nicthe, Today, 07:38 AM
            1 response
            12 views
            0 likes
            Last Post bltdavid  
            Working...
            X