TradingView
paaax
2021년 5월 19일 오후 3시 15분

[PX] Pivot Zones 

Bitcoin / US Dollar Perpetual Inverse Swap ContractBitMEX

설명

Hello everyone,

I was having some fun with the new gradient function, arrays and pivots. Decided that i would publish my little playground :)
This script basically draws lines or zones for detected pivot high and lows and counts the number of candles those levels have been untested.
Tested levels will stop at the candle, which breaks them.

How does it work?

- Define the number of candles that make up the pivot point with the "Pivot Left" and "Pivot Right" parameter (I took more extreme values to showcase the indicator).
- Select your "Layout Type": This can be either a line at the pivot point, a zone between the pivot point and its body or the average of the two.
- You can in-/decrease the number of lines with the "Number of Lines/Zones" parameter.

The older a line becomes the more it will lose of its original transparency.

Hope that might be useful to some of you :)

Please click the "Like"-button and follow me for future open-source script publications.

If you are looking for help with your custom PineScript development, don't hesitate to contact me directly here on Tradingview or through the link in my signature :)
코멘트
idrisbengali
great work.. clean and crisp - thank you
wugamlo
Very nice! Thanks a lot for the contribution!
A_Traders_Edge
Appreciate the submission. Always love looking out for your new material.
agilentis
Great script. I'm learning how to code from your scripts. How can I code it to display daily pivots on lower timeframe?
TJalam
great work , appreciate .
How can we set alerts for New Pivot or any previous pivot is broken.
Rumster30
Awesome!
Slav
Thank you, what a fine fellow you are!
Double3
lovely and useful
더보기