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

Ironfly

Intraday Range CalculatorThis indicator shows an easy way to determine if the stock, index or ETF ended within a configurable intraday range. This solution is ideal for those who study and like Iron Condors or Iron Butterflies strategies. Results: If the square is red, it means that the selected deviation limits have been exceeded within the chosen times. If the square is green, the price stayed within the pre-set limits. A yellow circle marks the moment when the price leaves the range, either by the upper band or by the lower band. In the last bar a label with the test results will be displayed. Settings: In the configuration there are three fields: 1. Deviation : is the range in percentage that the price can move up or down from the start time to the end time. 2. Begin Time: is the time (in 24h or military format) where the process begins. 3. End Time: is the time (in 24h or military format) where the process ends. Example: * for the time 11:00 am, you must enter "1100" * for the time 2:45pm, you must enter "1445" Important: The selected timeframe must be less than 1 hour and Extended Trading Hours in the lower left corner), otherwise the indicator may not show results. Later I will make an improvement to solve these inconveniences.
Pine Script® indicator
by seba34e
Updated
55

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
  • 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
  • Manifesto
  • Athletes
  • 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 vulnerability
  • 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