You apply the codes in this template to any indicator which is supposed to skip weekend candles.
There is nothing else in this template (apart from the event functions), just those codes.
It should be clear, it's just copy&paste.
Unless you don't even know how to open a file in the Meta Editor?
But it seems like you know, because you posted a code.
If you're looking for the Holy Grail - NEVER STOP!
2