// Downloaded From https://www.WiseStockTrader.com
FastMA = Param("Fast EMA",3,3,50,1);
SlowMA = Param("Slow EMA",8,3,50,1);
StdPer = Param("Period Stdev",15,3,50,1);
Sep    =  OscP(FastMA,SlowMA);
Gams 	= (Sep - EMA(Sep,StdPer))/StDev(Sep,StdPer);
ColorGams = IIf(Gams<0,colorPink,colorPaleGreen);

Plot(Gams,"GAMS Oscillator",colorRed,StyleLine);
Plot( 1, "", colorGams, styleArea | styleOwnScale | styleNoLabel, 0, 1 );