Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entering With Stop Orders

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

    Entering With Stop Orders

    I am developing a strategy that measures s/r which if reached, signal a breakout. Therefore, when the market is below a level, the strategy will have a stop order at the upper level to go long. I am getting the following error in the log when attempting to do this:

    "A Buy order placed at '6/13/2008 9:00:00 AM' has been ignored since the stop price is less than or equal to the close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy."

    The error is fairly straightforward, but I want to know can it be worked around in anyway. The trade is filling on the next bar, and when the close of the next bar is below the entry price I am not getting this error. However, since I am actually getting filled on the prior bar in real-time, this should not be an issue in real-time. Is there anyway to make it so the trade just gets filled no matter what if the level is touched?

    #2
    You can try changing your fill type to Liberal. If that does not produce results of what you want then unfortunately there is no way short of programming your own fill algorithms. This is unsupported though so is a venture you will have to go on your own if you choose to.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Is there any place I would be able to find support for developing my own fill algorithm? Will there be support for this at a future date?

      Comment


        #4
        Unfortunately this is beyond the scope what we provide support for. Currently there are no plans to change this policy.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        574 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        332 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X