This is not about "parameter to stacked wall" but if the goal is Filtering Stacked Wall, this post is relevant.
This reply may be late but I found the solution after many attempts. Using Revit 2020.2
Working On: Showing Wall Types via Filter color in Wall Compartmentation Plan (red rooms also show Department color scheme = in my example Red is Operating Room Department)
Short answer: SELECTION FILTER > BACKGROUND color (instead of foreground color) in VG>Filter (selection Filter)


Photo: my Basic Walls (AAC, DWB) and Stacked Wall CWT4
1) Select Stacked Wall > right click Select All Instances > In Entire Project
Save Selection > Name the selection (I named it CWT4; 4 is my 4th attempt at Filter where it worked)
2) VG / Visibility Graphics (or the VG/Override Filters inside your Template) - Add Filter > Selection Filter > select your named Selection Filter
3) Go to Cut > Pattern > Override > BACKGROUND > choose your color and pattern > OK > OK > Apply

Important Note:
The Basic Wall Filter Color part of your Stacked Wall STILL SHOWS but the STACKED WALL also SHOWS as underlay/overlay (USE A MORE POWERFUL COLOR and PATTERN TO grab attention away from the basic wall).

I never thought it is possible to filter color STACKED WALLS, now it is NOT HOPELESS.