I have developed this indicator to compare the current price with the any given periods opening price and to spot if the market is bullish or bearish. You can compare the current price with the past periods using "Shift" feature.
Disclaimer: This is not financial advice
Trade safe,
Atilla