TradingView Pinescript Support/Resistance Indicator Fix

Job ID: 39184749

Budget: $30 – $250 USD

I have a small support/resistance indicator in Pinescript for TradingView. Currently it switches levels every time I switch to a different timeframe. What I need it to do is only show levels from the daily and weekly timeframes and make the daily levels 1 width and the weekly levels 2 width.

I think this can be done with the request.security() function. It should be easy for someone experienced with Pinescript. I will attach the code in DMs.
Related categories: Charts Pine Script