I am hoping one of you scripting geniuses have an easy solution to my question. I’m looking for a script that will do some simple moving average percentage calculations on the day of the Highest Close of the last 200 days and compare to today’s close. Here are the details Identify the Highest Close on a Daily Chart. Then calculate the numeric difference the close vs. the SMA17, SMA50, SMAby rsmiser - Trading Discussion