Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

taking some day off

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

  • NinjaTrader_CalH
    replied
    Hello Dafonseca,

    Thank you for your post.

    Yes this is possible.

    You would want to use this code snippet as a starting point -
    Code:
    if(ToDay(Time[0]) == 20140422) return;
    This will convert the Time[0] from backtesting to a yyyymmdd format and check that if date is the 22nd of April and if so to return.

    Let me know if I can be of further assistance.

    Leave a comment:


  • dafonseca
    started a topic taking some day off

    taking some day off

    Is it possible to not consider a specific day when backtesting a period?

    I want to backtest last 30 days despite 04/22/2014, for instance..

Latest Posts

Collapse

Topics Statistics Last Post
Started by aussugardefender, Today, 01:07 AM
0 responses
3 views
0 likes
Last Post aussugardefender  
Started by pvincent, 06-23-2022, 12:53 PM
14 responses
238 views
0 likes
Last Post Nyman
by Nyman
 
Started by TraderG23, 12-08-2023, 07:56 AM
9 responses
384 views
1 like
Last Post Gavini
by Gavini
 
Started by oviejo, Today, 12:28 AM
0 responses
4 views
0 likes
Last Post oviejo
by oviejo
 
Started by pechtri, 06-22-2023, 02:31 AM
10 responses
125 views
0 likes
Last Post Leeroy_Jenkins  
Working...
X