OPEN-SOURCE SCRIPT

MACD Divergence H/R

Here's a fun script we been working on, let us know what you add!

Short-Forms Used
histogram(hist)--> value of macd Histogram
Low-Price--------> Candle's Low Price
High-Price-------> Candle's High Price
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Regular_bulls =====> Lowest(red hist) in Previous red hists is > Lowest(red hist) in Current red hists
and Lowest(Low-price) in Previous red hists is < Lowest(Low-price) in Current red hists
and Lowest(red hist) in Previous red hists is < -Histograms Minimum Value Required
and Lowest(red hist) in Current red hists is < -Histograms Minimum Value Required

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Hidden_bulls =====> Lowest(red hist) in Previous red hists is < Lowest(red hist) in Current red hists
and Lowest(Low-price) in Previous red hists is > Lowest(Low-price) in Current red hists
and Lowest(red hist) in Previous red hists is < -Histograms Minimum Value Required
and Lowest(red hist) in Current red hists is < -Histograms Minimum Value Required


-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

-Regular_Bears =====> Highest(Green hist) in Previous Green hists is < Highest(Green hist) in Current Green hists
and Highest(High-price) in Previous Green hists is > Highest(High-price) in Current Green hists
and Highest(Green hist) in Previous Green hists is > Histograms Minimum Value Required
and Highest(Green hist) in Current Green hists is > Histograms Minimum Value Required

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-Hidden_Bears =====> Highest(Green hist) in Previous Green hists is > Highest(Green hist) in Current Green hists
and Highest(High-price) in Previous Green hists is < Highest(High-price) in Current Green hists
and Highest(Green hist) in Previous Green hists is > Histograms Minimum Value Required
and Highest(Green hist) in Current Green hists is > Histograms Minimum Value Required

Please drop a like and comment :)

-Angel Algo
Moving Average Convergence / Divergence (MACD)macdivergenceOscillators

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?


Access our exclusive tools at: angelalgo.com

Join our community via discord.gg/FGUTfkmYbW

All content from AngelAlgo is for informational and educational purposes only. Please note that past performance does not guarantee future results.
Also on:

Disclaimer