Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fill limit orders on touch error

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

    Fill limit orders on touch error

    Click image for larger version

Name:	FESX 03-22 (ninZaRenko 1_1) 2022_02_24 (17_35_23).png
Views:	361
Size:	84.6 KB
ID:	1191448
    I have a strategy running on a one renko chart. The stop is 10 ticks and profit 4 ticks with 'Fill limit orders on touch' enabled.

    There are some instances when a price appears to be touched but the order is not filled. Is this a feature of the simulation engine?

    In the example of the image the order enters at 3816.0 and the price appears to touch 3818.0 before reversing but the order is not filled at the profit target and exits with a loss. (Instrument FESX).



    #2
    Hello mballagan,

    Thanks for your post.

    I see that you are backtesting a strategy on Renko bars.

    Backtesting on Renko bars is not reliable because the Open can be redrawn based on the direction of the bar in real-time.

    Standard Renko bars can be challenging for backtesting as the barstypes use functionality to remove the last bar in the data series and replace the bar with a new Open price. This is done with reversals and cannot be simulated historically because the bars are already built.

    You could try setting order fill resolution to High with a value of 1 Tick to see if this improves the situation.

    Otherwise, testing may be done with the Playback Connection to fully simulate standard Renko bars with accurate reversals and order fills.

    Playback: https://ninjatrader.com/support/help...8/playback.htm

    Let us know if we may assist further.



    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Originally posted by NinjaTrader_BrandonH View Post
      Hello mballagan,

      Thanks for your post.

      I see that you are backtesting a strategy on Renko bars.

      Backtesting on Renko bars is not reliable because the Open can be redrawn based on the direction of the bar in real-time.

      Standard Renko bars can be challenging for backtesting as the barstypes use functionality to remove the last bar in the data series and replace the bar with a new Open price. This is done with reversals and cannot be simulated historically because the bars are already built.

      You could try setting order fill resolution to High with a value of 1 Tick to see if this improves the situation.

      Otherwise, testing may be done with the Playback Connection to fully simulate standard Renko bars with accurate reversals and order fills.

      Playback: https://ninjatrader.com/support/help...8/playback.htm

      Let us know if we may assist further.


      Thanks for your reply. In this case I'm not in backtest mode but in realtime simulation. Is there a way to set order fill resolution as in historical?

      Alternatively I could add a 1 tick chart and execute orders on this timeframe (the entry condition being set by the renko bars).

      Comment


        #4
        Hello mballagan,

        Thanks for your note.

        If you are running a strategy real-time, you could set the Order Fill Resolution in the Historical Fill Processing section of the strategy's Properties when enabling the strategy.

        See this help guide page for more information: https://ninjatrader.com/support/help...tegyProperties

        Let us know if we may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        93 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        152 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        80 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        53 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        65 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X