Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (2024)

OPEN-SOURCE SCRIPT

Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (1)

The Divergence Toolkit is designed to automatically detect divergences between the price of an underlying asset and any other TradingView built-in or community-built indicator or script. This algorithm provides a comprehensive solution for identifying both regular and hidden divergences, empowering traders with valuable insights into potential trend reversals.

🔲 Methodology

Divergences occur when there is a disagreement between the price action of an asset and the corresponding indicator. Let's review the conditions for regular and hidden divergences.

Regular divergences indicate a potential reversal in the current trend.

Regular Bullish Divergence

  • Price Action - Forms a lower low.
  • Indicator - Forms a higher low.
  • Interpretation - Suggests that while the price is making new lows, the indicator is showing increasing strength, signaling a potential upward reversal.

Regular Bearish Divergence

  • Price Action - Forms a higher high.
  • Indicator - Forms a lower high.
  • Interpretation - Indicates that despite the price making new highs, the indicator is weakening, hinting at a potential downward reversal.

Hidden divergences indicate a potential continuation of the existing trend.

Hidden Bullish Divergence

  • Price Action - Forms a higher low.
  • Indicator - Forms a lower low.
  • Interpretation - Suggests that even though the price is retracing, the indicator shows increasing strength, indicating a potential continuation of the upward trend.

Hidden Bearish Divergence

  • Price Action - Forms a lower high.
  • Indicator - Forms a higher high.
  • Interpretation - Indicates that despite a retracement in price, the indicator is still strong, signaling a potential continuation of the downward trend.

In both regular and hidden divergences, the key is to observe the relationship between the price action and the indicator. Divergences can provide valuable insights into potential trend reversals or continuations.

The methodology employed in this script involves the detection of divergences through conditional price levels rather than relying on detected pivots. Traditionally, divergences are created by identifying pivots in both the underlying asset and the oscillator. However, this script employs a trailing stop on the oscillator to detect potential swings, providing a real-time approach to identifying divergences, you may find more info about it here (SuperTrend Toolkit). We detect swings or pivots simply by testing for crosses between the indicator and its trailing stop.

By testing for conditional price levels, the script achieves similar outcomes without the delays associated with pivot-based methods.

🔲 Setup Guide

A simple example on one of my public scripts, Standardized MACD
Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (2)
Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (3)
Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (4)

🔲 Utility

We may auto-detect divergences to spot trend reversals & continuations.
Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (5)

🔲 Settings

  • Source - Choose an oscillator source of which to base the Toolkit on.
  • Zeroing - The Mid-Line value of the oscillator, for example RSI & MFI use 50.
  • Sensitivity - Calibrates the sensitivity of which Divergencies are detected, higher values result in more detections but less accuracy.
  • Lifetime - Maximum timespan to detect a Divergence.
  • Repaint - Switched on, the script will trigger Divergencies as they happen in Real-Time, could cause repainting when the conditions are met but canceled at a later time before bar closes.

🔲 Alerts

  • Bearish Divergence
  • Bullish Divergence
  • Bearish Hidden Divergence
  • Bullish Hidden Divergence

    As well as the option to trigger 'any alert' call.

The Divergence Toolkit provides traders with a dynamic tool for spotting potential trend reversals and continuations. Its innovative approach to real-time divergence detection enhances the timeliness of identifying market opportunities.

Centered OscillatorsChart patternsdivergencedetectiondivergenceindicatordivergencesLIVEOscillatorsrealtime

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Divergence Toolkit (Real-Time) — Indicator by EliCobra — TradingView (2024)
Top Articles
Costco's gold bars earn company up to $200 million monthly, analysts say
The 100 Best Hashtags for Promoting Your Posts and Gaining Traction
Craigslist Nj North Cars By Owner
Www Movieswood Com
Slay The Spire Red Mask
A Fashion Lover's Guide To Copenhagen
Drago Funeral Home & Cremation Services Obituaries
Craigslist Apartments In Philly
What is Rumba and How to Dance the Rumba Basic — Duet Dance Studio Chicago | Ballroom Dance in Chicago
Idaho Harvest Statistics
Vermont Craigs List
Abortion Bans Have Delayed Emergency Medical Care. In Georgia, Experts Say This Mother’s Death Was Preventable.
St. Petersburg, FL - Bombay. Meet Malia a Pet for Adoption - AdoptaPet.com
Airrack hiring Associate Producer in Los Angeles, CA | LinkedIn
Lista trofeów | Jedi Upadły Zakon / Fallen Order - Star Wars Jedi Fallen Order - poradnik do gry | GRYOnline.pl
Walgreens Alma School And Dynamite
Craigslist Lakeville Ma
Dallas Mavericks 110-120 Golden State Warriors: Thompson leads Warriors to Finals, summary score, stats, highlights | Game 5 Western Conference Finals
College Basketball Picks: NCAAB Picks Against The Spread | Pickswise
Uncovering The Mystery Behind Crazyjamjam Fanfix Leaked
8000 Cranberry Springs Drive Suite 2M600
Rogue Lineage Uber Titles
Bra Size Calculator & Conversion Chart: Measure Bust & Convert Sizes
Speechwire Login
Ts Modesto
Google Flights To Orlando
Pfcu Chestnut Street
How to Draw a Bubble Letter M in 5 Easy Steps
Beaver Saddle Ark
404-459-1280
Old Peterbilt For Sale Craigslist
Rise Meadville Reviews
Workday Latech Edu
Frcp 47
Stanley Steemer Johnson City Tn
Dee Dee Blanchard Crime Scene Photos
11301 Lakeline Blvd Parkline Plaza Ctr Ste 150
This 85-year-old mom co-signed her daughter's student loan years ago. Now she fears the lender may take her house
Lovely Nails Prices (2024) – Salon Rates
Lonely Wife Dating Club בקורות וחוות דעת משתמשים 2021
Quick Base Dcps
Toomics - Die unendliche Welt der Comics online
705 Us 74 Bus Rockingham Nc
Jigidi Free Jigsaw
17 of the best things to do in Bozeman, Montana
Acuity Eye Group - La Quinta Photos
Brutus Bites Back Answer Key
What Does the Death Card Mean in Tarot?
Estes4Me Payroll
7 Sites to Identify the Owner of a Phone Number
Who We Are at Curt Landry Ministries
Laurel Hubbard’s Olympic dream dies under the world’s gaze
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 6539

Rating: 4 / 5 (61 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.