OPEN-SOURCE SCRIPT

MACD Divergence H/R

7166
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

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.