An MQL5 indicator forecasts where a movement is likely to terminate and how far the opposite leg has typically traveled, using statistics from completed moves on the same symbol and timeframe. It detects confirmed pivots, takes a single snapshot, selects similar historical observations, and reads entry, stop loss, and take profit from their distributions. Empirical hit rates come from a chronological replay without look‑ahead, and resolved forecasts leave the chart with an option to review them.
Most discretionary reversal traders face the same problem. They see a strong move, and they know it will end somewhere. The question is where. Often they reach for a round number, a fixed pip target, or a Fibonacci level they read about years ago. The stop goes a "comfortable" distance away. These levels can work, but they are rarely checked against how the instrument in front of them has actually behaved.
The tools do not help much either. Many reversal indicators repaint, so the arrow that looked perfect in hindsight was never there in real time. Others print a confidence value, such as "82% probability", without saying how it was measured or on how many cases. A trader cannot tell whether that number comes from a thousand past events or from nothing at all. This is point A: decisions about the turning point, the stop and the target are often made on assumptions that were not tested on the market in front of us.
In this article, we build a different kind of tool. It does not replace structure-based stops, volatility-scaled targets or other valid methods. It adds one more input: levels measured on the history of the symbol we trade. We develop the Statistical Market Inflection Forecasting indicator (SMIF). It does not claim that price will reverse. It says something more modest and more useful: similar historical movements ended at these distances. They moved this far in the opposite direction and hit these levels with this frequency. Entry, stop and take profit are read from those distributions (unless an optional fallback stop is enabled). The hit rates come from a chronological replay that only uses bars that were already closed at each decision. These are historical frequencies, not guarantees. A level built from past distributions helps only if the market continues to behave similarly. We discuss cases where this assumption fails before the conclusion. When a forecast resolves, its objects leave the chart, and a single toggle brings them back for review.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Check out the new article: Developing Statistical Market Inflection Forecasting Indicator.
Most discretionary reversal traders face the same problem. They see a strong move, and they know it will end somewhere. The question is where. Often they reach for a round number, a fixed pip target, or a Fibonacci level they read about years ago. The stop goes a "comfortable" distance away. These levels can work, but they are rarely checked against how the instrument in front of them has actually behaved.
The tools do not help much either. Many reversal indicators repaint, so the arrow that looked perfect in hindsight was never there in real time. Others print a confidence value, such as "82% probability", without saying how it was measured or on how many cases. A trader cannot tell whether that number comes from a thousand past events or from nothing at all. This is point A: decisions about the turning point, the stop and the target are often made on assumptions that were not tested on the market in front of us.
In this article, we build a different kind of tool. It does not replace structure-based stops, volatility-scaled targets or other valid methods. It adds one more input: levels measured on the history of the symbol we trade. We develop the Statistical Market Inflection Forecasting indicator (SMIF). It does not claim that price will reverse. It says something more modest and more useful: similar historical movements ended at these distances. They moved this far in the opposite direction and hit these levels with this frequency. Entry, stop and take profit are read from those distributions (unless an optional fallback stop is enabled). The hit rates come from a chronological replay that only uses bars that were already closed at each decision. These are historical frequencies, not guarantees. A level built from past distributions helps only if the market continues to behave similarly. We discuss cases where this assumption fails before the conclusion. When a forecast resolves, its objects leave the chart, and a single toggle brings them back for review.
Author: Hlomohang John Borotho