signal test w/ specific date options

Hello Optuma,

When running a signal on a specific date (example - Nov 16th) to generate results based on a specific calendar cycle, some years may or may not have trading dates on Nov 16th and therefore the signal tester will skip those years. I have figured out a way to script around this but I was wondering if built-in specific date functionality would make sense where IF a static date falls on a non-trading day to then “buy last available close” or “buy next available open” type of options.

Jeff

Hi Jeff

Which function are you using?

All the best

Mathew

Hi Mathew, 
Here is an example how I programmed the signal tester
to buy on 9/5 and if that date fell on a weekend or non-trading day 
to then pickup the next available date. Jeff
a1 = MONTHNUM() ==9;
a2 = DAYNUM() >4 and DAYNUM() < 9;
a3 = NOREPEAT(a2, BARS=5);
a1 and a3