This script displays the Open, High, Low and Mid ranges for Yearly levels, Monthly levels, Weekly levels, and Monday range levels (useful support and resistance levels)
Opens are displayed in dashed lines, and mid-levels in dotted lines. Other lines (highs and lows) are in plain lines.
Each color represent a time horizon:
- Red: Yearly levels
- White: Monthly levels
- Yellow: Weekly levels
Colors are changeable (even though color inputs are not still available in Version 4 of TradingView PineScript).