TradingView
lmatl
20 de Set de 2020 07:53

Pivot Support & Resistance multi timeframe [LM] 

Bitcoin / United States DollarCoinbase

Descrição

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

Notas de Lançamento

fixing error with security on other timeframes

Notas de Lançamento

added new timeframe
Comentários
jurlvarg
Hi!
I really like what you've done here!
If you don't mind my asking, what is occurence used for exactly?
The reason why I'm asking is because I'm trying to add a few (for me) nice / interesting features.
Once I succeed I will share all code with you of course!
Thanks.
lmatl
Hi @jurlvarg, occurence is for showing the last value that met the condition, when you put there 0 or any previous values that also met the condition by giving it other values.
jurlvarg
@lmatl, that makes total sense :-) I overlooked the use of occurence inside the function. I'm trying to rewrite the script so we also get a label on the pivot where new S / R is formed.
jurlvarg
@lmatl, would you mind a DM?
lmatl
@jurlvarg, go ahead. Try and see ;-)
JohnQ123
good job
lmatl
Hi @JohnQ123, thank you. I have added one timeframe more, hope you will like it
Lekkim1213
Hey brother.
Really nicely indicator.
One thing will be perfectly if you make it so the lines have name of timeframes.
1H or 1D or 1W.
Because you can so multiply the indicator and use S/R on the different timeframes and easy to navigatø.
I hope you understand.
You can make it with a button on and off. So if people dont like they turn it off..
I use it multiply to S/R 1D and 1W and 1H and 4H .
Its work perfectly! Shout out to you!
JasonLeighton
Thank you so much for this :) I use these levels to determine the direction in price using the wicks as a guide. Usually when price hits a key level you'll either see major resistance wicks form or price will just break through. Thank you so very much for this :)
tmskbl1989
great job indeed...
Mais