TradingView
sherwind
12 nov 2017 09:44

SD - Pivot Range 

Bitcoin / U.S. dollarBitstamp

Descrizione

This script is an implementation of Central Pivot Range described at pivotboss.com/2010/05/31/a-quick-guide-to-the-pivot-range

Note di rilascio

Central Pivot Range ('CPR') Indicator for TradingView

This script is an implementation of Central Pivot Range described at pivotboss.com/2010/05/31/a-quick-guide-to-the-pivot-range.

Inputs

  • Number of Daily 'CPR' Back: Set the number of calendar days back to plot historical daily 'CPR'. The default value is 7. Non-trading days are not taken into account. A value of 7, for example, would display only 5 'CPR' for a 24x5 market.
  • Number of Weekly 'CPR' Back: Set the number of calendar weeks back to plot historical weekly 'CPR'. The default value is 0.
  • Number of Monthly 'CPR' Back: Set the number of calendar months back to plot historical monthly 'CPR'. The default value is 0.
  • Number of Yearly 'CPR' Back: Set the number of calendar years back to plot historical yearly 'CPR'. The default value is 0.

Note di rilascio

Code cleanup

Note di rilascio

Ensure the highest level of TC and BC is labelled TC, and the lowest of the two is labelled BC

Note di rilascio

This version uses Pine Script v4 line objects

Note di rilascio

list]
* Use new arrays feature to limit how may indicators to show[
* Allow color to be changed
Commenti
MoneyStrategyTrades
Thanks for sharing! Nice and clean
MartinWeb
Thank you for sharing
Jabba01
very nice, plus clean implementation. Thanks a lot for sharing it, and maintaining! hat off
saiography
Beautiful work @sherwind
Is there a way to work on the Pivot Range to be displayed based on the current timeframe, like 'auto' in 'Pivot Points Standard' in default indicators? [see image: prnt.sc/m2nlts ]
SandyMinsat
Could I get it or buy it? Anything like that for MT4??
HarshMShah
central pivot point in bulit in pivot point standard is different from your indicator central pivot point..check nifty 50..plz
jutkarsh
Thanks a ton for coding this
joeadante3b
pivots dont show up on chart after indicator added to chart
sherwind
Hi @joeadante3b - the number you specify in the Inputs are for calendar days back to plot historical CPR and it does not take into account non-trading days. A value of 7, for example, would display only 5 CPR for a 24x5 market.
joeadante3b
@sherwind, yeah, still doesnt show up on chart
Altro