{ Downloaded From https://www.WiseStockTrader.com }
MomPer := Input("Momentum Periods",1,1000,10);
SmaPer := Input("Simple Moving Average Periods",1,1000,7);
EmaPer := Input("Exponential Moving AveragePeriods",1,1000,7);
100 * ((Mov(CLOSE, EMAPer, E) /
Ref(Mov(CLOSE,SmaPer,S), ((SmaPer - 1)/2) - MomPer)) - 1)