• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Community
  • /
  • /Operating

Operating

IPDA operating range by makuchakuDetermining operating range is critical for trading. You *need* to sell in premium & buy in discount. This script determines an operating range by stepping back on an HTF timeframe to calculate that HTF candle's range. If the current candle in HTF breaks out, the range expands accordingly. The timeframe mapping I've used is Intraday & <= 2H : use Daily as HTF range Intraday & > 2H : use Weekly as HTF range Daily : use Monthly as HTF range Weekly : use 6 Months as HTF range The HTF mapping is my own personal preference. If you prefer, you can easily copy the indicator and create your own mapping. Once the HTF range is known, the indicator also plots 0%, 25%, 50% and 100% levels.
Pine Script® indicator
by makuchaku
Updated Mar 5, 2022
1616
Time_Exchanges [SwetSwet]The time exchange. The operating time of the exchanges.
Pine Script® indicator
by swetswet
May 15, 2015

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • Crypto pairs
  • CEX pairs
  • DEX pairs
  • Pine
Heatmaps
  • Stocks
  • ETFs
  • Crypto
Calendars
  • Economic
  • Earnings
  • Dividends
More products
  • Yield curves
  • Options
  • News Flow
  • Pine Script®
  • Sparks
Apps
  • Mobile
  • Desktop
Tools & subscriptions
  • Features
  • Pricing
  • Market data
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Manifesto
  • Athletes
  • Blog
  • Careers
  • Media kit
Merch
  • TradingView store
  • Tarot cards for traders
Policies & security
  • Terms of Use
  • Disclaimer
  • Privacy Policy
  • Cookies Policy
  • Accessibility Statement
  • Security vulnerability
  • Status page
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