Paints the MA8 above the candles, offset by the furthest the price has moved _above_ the MA8 in the past X candles Paints the MA8 below the candles, offset by the furthest the price has moved _below_ the MA8 in the past X candles
The background color changes for price above 200ma hardcoded to the 1hr timeframe no matter on what timeframe.