Ultimate Stochastic ADX Exhaustion
The Stochastic ADX Exhaustion is not your typical "tops and bottoms" arrows indicator but a trend exhaustion and momentum recovery tool.
The indicator first waits for the selected Stochastic to reach an extreme level (20/80 by default, or 10/90 when "Tight Levels" are enabled). While the Stochastic is in this extreme zone, it monitors the ADX and records whether trend strength exceeds the specified ADX threshold of 25 by default.
Once a strong trend has been established, the indicator then looks for ADX to begin "falling". After this, it waits for the Stochastic to cross back through the 50 level, indicating that momentum has shifted back toward the opposite side of the market.
Finally found the mistake I made (some variables were global, and I had them local so it couldn't work properly and remember its status from bar to bar)
it's a good indicator visually, might be of some help to you
EDIT : I didn't use AI to convert it !
PS: New, fixed version here
https://www.tradingview.com/script/P7ru ... stion-V17/