Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Theoretical question about inserting a backtest feature inside an algorithm

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

    Theoretical question about inserting a backtest feature inside an algorithm

    Hi,
    I am interested to know if it is possible (in theory) to include a logic/code inside an algorithm, that could conduct a backtest for the given day and update some of the parameters that are set as variable based on the optimum results from that same backtest.

    Something like a walk forward that would be updating itself as a background process of the algorithm and to update the variables.

    I know it sounds weird, but if you think of it...it is a pretty sound logic. Especially for scalpers. Having the flexibility to fine tune itself for the given day, could be a very neat feature.

    Let me know what you think.

    Thanks.

    #2
    Hello,

    Thank you for the question.

    Yes you could write your own logic that determines values that are reset throughout the day, this would essentially just be logic that resets variables in your script based on what your logic is returning.

    This could be run based on a specific time of day, OnBarUpdate, or various other ways.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by funk10101, Today, 09:43 PM
    0 responses
    6 views
    0 likes
    Last Post funk10101  
    Started by pkefal, 04-11-2024, 07:39 AM
    11 responses
    37 views
    0 likes
    Last Post jeronymite  
    Started by bill2023, Yesterday, 08:51 AM
    8 responses
    44 views
    0 likes
    Last Post bill2023  
    Started by yertle, Today, 08:38 AM
    6 responses
    26 views
    0 likes
    Last Post ryjoga
    by ryjoga
     
    Started by algospoke, Yesterday, 06:40 PM
    2 responses
    24 views
    0 likes
    Last Post algospoke  
    Working...
    X