Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

In Sample and Out of Sample Testing *Walk Forward Optimization (Error)

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

    In Sample and Out of Sample Testing *Walk Forward Optimization (Error)

    Greetings,

    I looked for In Sample and Out of Sample Testing through Walk Forward Optimization.

    All i receive is the error *(The strategy must have at least one parameter to optimize)

    Here is the screenshot of my settings whilst returning the error.

    What I am trying to achieve is to test my strategy between 2018 - 2020 for out of sample and 2021 in sample.


    Attached Files

    #2
    Hello KyriakosCyprus,

    This strategy does not have anything to optimize.

    An optimization is used to run many backtests with the inputs incrementing through a range of values. If there are no inputs, the script cannot run any other way and there is nothing to optimize.

    Try optimizing the Sample MA Crossover included with NinjaTrader and set the Fast to 1;10;1.

    Below is a link to a video on optimizing.

    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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