Pivot Support & Resistance multi timeframe [LM]

Hello guys,

I would like to introduce you pivot support and resistance horizontals. It draws line horizontals on high and low high pivot candles . You can select lines on this timeframe and/or another one.

The colors are dynamic depending whether price is below or above the line:

for the current timeframe green is used for support and blue for resistance
for the other timeframe by default 4h orange is used for support and violet for resistance

There are various sections in setting:

current timeframe pivot setting
show and hide section of the current timeframe
other timeframe pivot setting
show and hide other timeframe horizontals

I'm mainly looking smaller timeframe and trading higher timeframe from level to level

Any suggestions are welcome
Release Notes: fixing error with security on other timeframes
Release Notes: added new timeframe
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?