% from 200 DMA

Does anyone know how to script the % price is off of the 200 day moving average? Any help will be much appreciated.

Hi Matthew,

Please refer to the following forum post for an example script that does this:

https://forum.optuma.com/topic/price-percent-amount-above-the-moving-average/