Thanks for the help, but I'm also trying to capture the value of the previous value but it's always zero for the 200 MA on the D1 timeframe. Any reason why?
I'm using code based on the MCP MTF MA Dashboard I downloaded from this site; see the slightly modified version. Seems like it should work.