I does not matter, this simple technique works for day-trades, swing trades and long term positions.
The value of the moving average must be determined by the backtest, of course, I cannot give you a one-size-fits-all value.
Ok, can you give an example if you you swing trade? What value do you use for exit?