Show your villain personally doing something despicable. Have the villain do something awful to something or someone we care about. Make sure your villain has a believable motive or agenda. Avoid bargain bin Nazis. Don't have your villain talk like a cheeseball. Be careful with those smirks.
A simple moving average is customizable in that it can be calculated for a different number of time periods, simply by adding the closing price of the security for a number of time periods and then dividing this total by the number of time periods, which gives the average price of the security over the time period.
A running average (also called a moving average) can be implemented in different ways. For an in-depth description, refer to wikipedia. A simple moving average is the unweighted mean (the sum of all items in a list divided by the number of items in the list) of the previous n data points.