Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Difference between perpetual and daily

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

    Difference between perpetual and daily

    Is it normal that the same strategy works with both FDAX and FDXS that close the session everyday, but when i try to runthe strategy with RTY for example it gives me error on the barsrequired to trade, saying that i didn't meet the request number of bars required to trade?

    #2
    Hello AlessioCianini12,

    Thanks for your post.

    The error messages relating to the BarsRequiredToTrade is advising that a trade (or trades) were ignored within the specified BarsRequiredToTradePeriod, which by default would be the first 20 historical bars. This type of error would not change or alter the strategy and it would continue running.

    It is possible that the error message may appear one day and not the next as it directly relates to your strategy entry conditions and of course those conditions then occur within the first 20 bars of any particular instrument, so while it might appear random to you, it is not, the variable here would be the actual data itself relative to your entry conditions.

    The BarsRequiredToTrade can be left as is and you can accept the error message or you can change your strategy coding so it does not place trades until that requirement was met (thus removing the error condition), and/or you can change the specified Bars required again to remove the error condition.

    Here is a link to the strategy parameter: https://ninjatrader.com/support/help...redtotrade.htm

    If you are using the Strategy Builder, you can change the property "Minimum bars required" under the "More properties" on the "Default properties" screen.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    77 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X