Version 19.5 2026.01.22
Version 19.05:
Scans for the top N neighbors (default: 15).
Analyzes the outcome of all 15 scenarios.
Computes a Win-Rate (e.g., "70% Bullish Probability").
Generates automated Trade Recommendations (Strong Buy, Weak Sell, Wait, etc.) based on these probabilities.
Critical Bug Fixes
Version 8 contained logic traps that produced false signals or crashes.
The "Empty Minimum" Bug:
In v8, the error arrays were initialized with EMPTY_VALUE (often 0 or a very large empty number). The ArrayMinimum function would frequently identify an empty slot as the "perfect match" (error = 0).
Fix in v19.05: Arrays are strictly initialized with DBL_MAX (infinity). The search algorithm now strictly filters valid results.
Trade Direction Logic:
In v8, the logic to determine BUY vs. SELL compared TP > SL. This was mathematically incorrect because a Take Profit can be mathematically lower than a Stop Loss in a Short trade, but higher in absolute price.
Fix in v19.05: Direction is now determined by comparing Take Profit vs. Entry Price.
Statistical Bias (Future Indexing):
In v8, the probability calculation could accidentally include the current candle (index 0) or non-existent future bars in its dataset, skewing results towards a 50/50 split.
Fix in v19.05: Hard validation of indices. Any pattern ending too close to the present is excluded from the historical statistics.
Stability & Safety
Version 8 was fragile and prone to crashing the MT5 terminal.
Out-of-Bounds Crash:
In v8, clicking outside the candle data caused iBarShift to return -1. Accessing arrays with index -1 caused an immediate critical error (Array Out of Range).
Fix in v9.05: Added "Guard Clauses" that immediately stop execution if a click is invalid.
Object Deletion:
In v8, the method used to clear charts was not compatible with all MT5 versions.
Fix in v19.05: Implemented safe, iterative object deletion to ensure no graphical artifacts remain on the chart.
Usability Improvements
Localization:
Complete translation from Czech to Professional English.
No Length Limit:
Removed the artificial restriction of "Minimum 5 candles". You can now analyze single-candle patterns (e.g., Pinbars) to see their historical success rate.
Visual Feedback:
Added color-coded text labels for immediate decision-making.
Summary Comparison
Core Logic:
v8.02: Visual averaging (3 matches).
v19.05: Statistical Quant Engine (15+ matches).
Output:
v8.02: Lines only.
v19.05: Lines + Win-Rate % + Recommendation.
Trade Logic:
v8.02: Bugged (TP vs SL).
v19.05: Corrected (TP vs Entry).
Stability:
v8.02: Prone to crashing.
v19.05: Bulletproof.
Flexibility:
v8.02: Length limits applied.
v19.05: 1-candle patterns supported.
Version 10.50 2025.07.08
RTSPattern v10.50 – Elevate Your Price Action to a Data-Driven Strategy

RTSPattern v10.50 is more than just an indicator — it’s a precision tool that brings pattern recognition and predictive modeling into your price action workflow. Whether you’re identifying recurring structures or validating market behavior, RTSPattern helps you move from guesswork to statistical confidence.

What makes RTSPattern unique:

Intuitive Pattern Selection
Simply click the first and last candle of any pattern you see on the chart. The algorithm scans thousands of historical bars to find the closest matches — instantly.
Real Historical-Based Prediction
The indicator pulls the 3 most statistically similar patterns from history and constructs a weighted future projection, offering both visual guidance and probabilistic context.
Auto-Generated TP/SL Levels
Based on the behavior of similar patterns, RTSPattern calculates realistic take profit and stop loss zones. These aren’t based on hope — they’re derived from how the market actually behaved after similar patterns in the past.
Optimized for Performance
Version 10.50 introduces major optimizations in calculation speed, memory handling, and visual responsiveness. Ideal for high-speed scalpers, swing traders, and prop firm evaluations like FTMO.
Seamless Visual Integration
The interface is clean, intuitive, and interactive — no bulky menus or clutter. Visual lines, buttons, and labels appear right on the chart where you need them, when you need them.
Here’s how RTSPattern elevates Price Action:

Traditional price action relies on subjective interpretation — a human eye trying to find and trust recurring formations.
RTSPattern keeps the discretion of the trader intact, but overlays it with data-driven historical validation.

You no longer ask “Have I seen this before?” — the tool shows you exactly when and how often it happened, what followed, and how close your current setup matches.
It adds context to conviction — the most powerful upgrade to any price action methodology.

RTSPattern v10.50 helps transform raw observation into precision forecasting.
Try the demo (valid through October 30, 2025) and see your chart in a completely new light — one that looks both backward and forward with clarity.

RTS5Pattern is the perfect tool for any trader working with Price Action and classic support/resistance levels. It helps traders quickly and effectively verify whether a visually identified pattern has historical support and provides context for anticipating future price movement.

Version 9.65 2025.05.01
Calulations improved
Version 9.60 2025.04.21
Buffer Reset Function:
Added ClearAllBuffers() function to reset all indicator buffers to EMPTY_VALUE easily and cleanly.

TP/SL Marker Management:
Implemented RemoveTPAndSLHitMarkers() to clean up chart objects created by the IsTPBeforeSL() prediction function.

Support & Resistance Visualization:
Added DrawSupportResistanceZones() and RemoveSupportResistanceZones() functions to dynamically visualize S/R levels using rectangles.

Inside Bar Visualization:

New function DrawInsideBarRectangle() to draw a rectangle highlighting inside bar formations.

RemoveAllInsideBarRectangles() clears them from the chart.

Detection logic improved in IsPureInsideBar() for accuracy.

Prediction Statistics by Weekday:
Pattern detection now includes weekday-based statistics printed directly into the terminal, enhancing pattern analysis context.

Improved TP/SL Visual Feedback:

TP/SL color and width dynamically change based on whether TP or SL was hit first.

New label TradeLabel shows entry, TP, and SL clearly on the chart.

Some little graphicals errors solved.
Version 9.55 2025.04.19
Buffer Reset Function:
Added ClearAllBuffers() function to reset all indicator buffers to EMPTY_VALUE easily and cleanly.

TP/SL Marker Management:
Implemented RemoveTPAndSLHitMarkers() to clean up chart objects created by the IsTPBeforeSL() prediction function.

Support & Resistance Visualization:
Added DrawSupportResistanceZones() and RemoveSupportResistanceZones() functions to dynamically visualize S/R levels using rectangles.

Inside Bar Visualization:

New function DrawInsideBarRectangle() to draw a rectangle highlighting inside bar formations.

RemoveAllInsideBarRectangles() clears them from the chart.

Detection logic improved in IsPureInsideBar() for accuracy.

Prediction Statistics by Weekday:
Pattern detection now includes weekday-based statistics printed directly into the terminal, enhancing pattern analysis context.

Improved TP/SL Visual Feedback:

TP/SL color and width dynamically change based on whether TP or SL was hit first.

New label TradeLabel shows entry, TP, and SL clearly on the chart.