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

Magenta

Event Locator BasicUsable under any conditions and in all markets, the 'event locator' provides a foundational layer for any count-based trading strategy or system. This specific installment color codes events - all down events are green, up events are blue, double-marked events are red, and smooth events are gray. It also wraps the price sequence in a 3-d line landscape plot - providing a visual using lines that are event sensitive. Though events are sometimes referred to as 'fractals,' this is not a fractal tool. These marks are based on 3 candles, not 5 as is common with the Bill Williams fractal scripts. Every countable event on the chart will be marked using this tool. Really, Elliott Wave should have told you about this... (because you can't legitimately count w/o it) //This indicator was originally a mod of the 'Williams Fractals' indicator - modified by Erek A.D., Nov. 2017 //It was rewritten from the ground up by 'Brobear' in Sept./Oct. 2018 //This code marks 'rough' AND 'smooth' EVENTS in price flow //EVENTS are naturally created in markets when SEPARATION occurs at candle tips //SEPARATION happens when a high is flanked by lower highs or a low is flanked by higher lows //EVENT LOCATORS like this provide an objective foundation for counting price movement
Pine Script® indicator
by trendlab2

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