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.
which a moving average might be computed, but the most obvious is to take a simple average of the most recent m values, for some integer m. This is the so-called simple moving average model (SMA), and its equation for predicting the value of Y at time t+1 based on data up to time t is: The RW model is the special case in which m=1.