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 NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X