- Choose an N period to examine.
- Identify the open, high, low, and close values for the current bar.
- Identify the open, high, low, and close values for lookback periods prior to the current bar.
- Calculate SMAs for NUMERATOR and DENOMINATOR over the N period.
- Divide NUMERATOR value from DENOMINATOR value.
- Place the result in the signal line equation and plot it on a graph.