HomeAmibroker AFL Momentum RSI Indicator - Amibroker AFL Code Click Image To Enlarge. Please Rate And Comment. Title = "Bernstein MOM Close - Ref(Close,-7)"; GraphXSpace = 5; Graph0 = MA(Close - Ref(Close,-7),1); Graph0Style = 5; Graph0Color = 34; Graph1 = MA(Graph0,5); Graph1Style = 1; Graph1Color = 32;