Here is the latest download for the NinjaTrader 7 and 8 DontTradeOnHolidays Class/Function. It is updated through the end of 2020 and includes New Years Day 2021. Right click on the link above and save it to your computer. It is important to change the name to Holidays.txt and place it in your Documents folder. For example:
The original blog post for the Dont Trade On Holidays for NinjaTrader is here:
The original blog post goes into all the details about how this function works and provides an example. The latest updates for this function for NinjaTrader 7 and 8 will be here for future holidays so make sure to bookmark this page for any holiday trading.