Preheat the oven to 350 degrees F. Line 2 baking sheets with parchment paper.
In a large bowl, whisk together the oats, flour, baking powder, baking soda, cinnamon and salt.
In a stand mixer, mix the sugar and coconut oil until combined. Add the molasses and eggs and mix until combined. Add the dry ingredients and mix until just combined. Fold in the raisins and walnuts.
Using a 2-tablespoon or 1-ounce scoop, portion the dough onto the baking sheets, 1/2 to 1 inch apart. If you like chewier cookies, leave the dough as is. If you like crispier cookies, press down with a spoon to flatten. Bake until the edges are brown, about 15 minutes. Cool before serving.