Optuma Forums › Optuma Scripting › Turn of Month Seasonality › Reply To: Turn of Month Seasonality
July 2, 2021 at 2:57 pm
#65138
- Topics: 5
- Replies: 616
- Posts: 621
Hi,
You can use the DayNum() function if you wish to specify a Buy / Sell signal based on a date only.
https://help.optuma.com/kb/faq.php?id=1200
For the 26th for example you would use:
1 2 3 |
DAYNUM() == 26 |
And for the 5th…
1 2 3 |
DAYNUM() == 5 |
Keep in mind, that on a Trading Day chart where weekends and holidays are skipped, there is not always a 26th or 5th that occurs.
-
This reply was modified 1 year ago by
Matthew.