Thank you for help me, but now I’ve been working on a custom swing-reversal indicator designed to identify potential market highs and lows through a mathematical approach to price extension and volatility.The indicator measures price extension from a long-term basis, normalizes the movement using ATR, and identifies extreme areas where a local swing may be developing.I currently use three signal levels:Level 11 = early warning.Level 12 = intermediate swing signal.Level 14 = strongest swing signal.BUY and SELL signals have different colors and the histogram remains hidden most of the time.It becomes visible only when the wave enters the extreme area and remains visible until the wave exits that zone.The system also includes a trend regime filter based on ADX and EMA 200.When ADX is below the strong-trend threshold, Levels 11, 12 and 14 can operate normally.When ADX is above 28 and price is clearly above or below the EMA 200, the market is considered strongly directional.In this situation I try to filter most counter-trend signals at Levels 11 and 12.Level 14 remains the main reversal signal.When ADX rises above 35, a Level 14 counter-trend signal also requires price to be sufficiently extended from the EMA 200 relative to ATR.I also introduced a reset mechanism.After a BUY signal, another BUY should not be generated until the wave cools down and falls below a reset level, currently around 8.The same logic applies to SELL signals.This “one swing per market leg” concept was introduced specifically to reduce clusters of repeated signals.The indicator is designed to be non-repainting.Signals are generated only after the candle has closed and the calculation uses historical data causally, without future bars generating past signals.The Level 14 signal is also displayed on a dashboard showing BUY or SELL direction, signal date and closing price.Below it I display the latest Level 12 minor trend signal, while a magnified live market price makes it easier to compare the current price with the last swing signal.In my tests the indicator is performing very well during sideways and ranging market conditions.The swing points are often identified very effectively and the 11/12/14 structure gives a useful indication of how extreme the movement is.The main problem I still need to solve is strong directional trends.During powerful trends the indicator can generate several counter-trend signals because the market remains statistically overextended for a long period.This creates a much higher drawdown and makes money management difficult.So this is the area where I would really appreciate some help or ideas.I’m trying to find the best way to distinguish a genuine exhaustion point from a market that is simply extremely stretched but still capable of continuing in the same direction.Possible solutions I’m currently considering include making Level 14 the only tradable signal during strong trends, increasing the ADX filtering, requiring a stronger EMA/ATR extension, adding slope or trend-acceleration filters, or waiting for additional confirmation before accepting a counter-trend entry.The goal is not to predict every top or bottom.The goal is to identify situations where price is statistically stretched, volatility is elevated and there is enough evidence that the probability of exhaustion is actually increasing.The indicator currently looks very promising in ranging conditions, but reducing repeated signals and drawdown during strong trends is the key problem I’m trying to solve.Any suggestions on improving the trend-regime filter or managing these counter-trend signals would be very welcome. I testing into EURUSD M30 and H1Mescalito wrote: Wed Aug 12, 2026 6:16 am These are the non repainting, correctly working versions of the indicators. They look very different.
BB_Volatility_Excess_2fixed.mq4
FinsburyPark2_updown fixed.mq4
indis.png
Attachments forums
Re: Something interesting from Chatgpt/AI please post here
Finsburypark2, Thu Aug 13, 2026 8:28 am