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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        57 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X