sherwind / pinescript-cpr

Central Pivot Range (CPR) Indicator for TradingView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pinescript-cpr

Central Pivot Range (CPR) Indicator for TradingView

This script is an implementation of Central Pivot Range described at http://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.

About

Central Pivot Range (CPR) Indicator for TradingView