• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Community
  • /Indicators and strategies
  • /Avergepivotrange

Avergepivotrange

Average Pivot Range - JDThe "Average Pivot Indicator" is an alternative to the "Average True Range" and is based in "pivot points" calculated with a Jurik ma, (same as the "Zero-Lag"ZigZag") the indicator calculates the range in the price swing between the two last pivot points. A green/red candle shows the range that price has risen/fallen since the last swing low/high As with the normal ATR, this can be used to set price targets, stoplosses, to gauge volatility,... I added an option to insert a commission/fee percentage to make it easy to see if a timeframe is worth trading or if you will likely get "eaten" by fees. (note the fee should be entered per transaction!! The indicator will calculate it one time for entry and once for exit) The indicator can be displayed in percentage (upper chart) or in absolute value/ticks (lower chart) The normal ATR is added too, so you don't have to chose which one you add to your chart! ;-) if you find other uses, please leave your ideas in the comments! Shoutout to Everget for the awesome Jurik code!! JD. #NotTradingAdvice #DYOR I build these indicators for myself and provide them open source, to use for free to use and improve upon, as I believe the best way to learn is toghether.
Pine Script® indicator
by Duyck
Updated
88

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.Copyright © 2025, American Bankers Association. CUSIP Database provided by FactSet Research Systems Inc. All rights reserved.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • CEX pairs
  • DEX pairs
  • Pine
Heatmaps
  • Stocks
  • ETFs
  • Crypto
Calendars
  • Economic
  • Earnings
  • Dividends
More products
  • Yield Curves
  • Options
  • News Flow
  • Pine Script®
Apps
  • Mobile
  • Desktop
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Tools & subscriptions
  • Features
  • Pricing
  • Market data
Trading
  • Overview
  • Brokers
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Space mission
  • Blog
  • Careers
  • Media kit
Merch
  • TradingView store
  • Tarot cards for traders
  • The C63 TradeTime
Policies & security
  • Terms of Use
  • Disclaimer
  • Privacy Policy
  • Cookies Policy
  • Accessibility Statement
  • Security tips
  • Bug Bounty program
  • Status page
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Look FirstLook First