jurlvarg

Pivot Support and Resistance Finder [JV] V1

Hi Traders.

This is my first attempt of writing an indicator.
Let me start by saying I could never have done this without lmatl and WMX_Q_System_Trading who were and are an incredible source of inspiration.

This indicator shows horizontal Pivot Support and Resistance . It draws up to 4 horizontal lines extending to the right from and adds labels to High and Low Pivot Candles . It also draws the Support / Resistance that is currently forming.
You can select the number of lines on the current timeframe.

There are some options in Settings:

  • Current timeframe pivot settings
  • Show and hide levels of the current timeframe
  • Change colors
  • Extend Lines

Any suggestions are more than welcome!
I also welcome donations, no matter how small ;-)
Release Notes: Fixed two typo's.
  • Fourt -> Fourth
  • in showFourthPivot I had two different occurrences. Fixed that to keep consistancy.
Release Notes: Just an update to inform user of the discontinuation of this script in favor of V2.
Release Notes: Changed Info Label to notify user of upcoming improvements.
Release Notes: Changed Info Label colors and added correct screenshot
Release Notes: Hi Traders,

this is the result of the many feedback messages I received about this first draft of this script. It has significant updates:

  • The use of Arrays.
  • Using PineCoders Coding Conventions for Pine: http://www.pinecoders.com/coding_convent...
  • Display up to 6 Support / Resistance levels.
  • Line colors and Labels change according to their status (Support or Resistance).
  • Moved Labels to the future for better overview of the Prices / Levels.

There are many configurable options. Feel free to explore them all.
If you should notice a bug or something of a kind, feel free to contact me.
All feedback is very welcome as well.

Request might be considered but don't take them for granted please.

Pivot Points
Pivot Points are considered to be levels which may become significant levels (Support / Resistance) in the future. They can be interpreted in various ways, but fact is that price, when it comes close to a previous Pivot Point, can mess with your head. Prices often returns to previous Pivot Points, more than once even a few times, as shown below.


I hope you find this useful.
Happy trading!
Release Notes: Notice of discontinuation of this script.
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?

Comments

Hi, I want to know when the PH support and PH resistance signal generate in real time or three four bars later
+9 Reply
jurlvarg hirupamg
@hirupamg, Hi. A Pivot High or a Pivot Low is generated in real time, but only after all the conditions have been met, which means that both look-back and look-forward bars are taken in the calculation. That's why you can never have a Pivot Point on the last bar on your chart.
Please note that this script has been abandoned in favor of this one:
Reply
tume28 hirupamg
@hirupamg, For me, the Pivot Support and Resistance Finder V1 works better at creating Support & Resistance lines.
Reply
your candle stick colour setting really iron beautiful👍👍👍
+1 Reply
jurlvarg CryptoXpresss
@CryptoXpresss, thank you! I also like it to be honest :-)
Please note that this script has been abandoned in favor of this one:
Reply
@jurlvarg, Wow, how to access the new one?
+1 Reply
Hi, you have an error here

if (showFourtPivots)
createPivotHigh(high, leftBars, rightBars, 3)
createPivotLow(low, leftBars, rightBars, 4)

both of them should have occurence 3 to stay constant

Nice work!
+1 Reply
@lmatl, Oh oops!! Thanks for pointing that out! I missed that one ... And once again thanks for your inspiration!
+2 Reply
where is another script?
Reply
Thanks Bro, I was looking for this kind of pivot indicator....!!!!!
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out