Discussing the article: "Price Action Analysis Toolkit Development (Part 87): Searching Chart History with Recorded Double-Bottom Samples"

Check out the new article: Price Action Analysis Toolkit Development (Part 87): Searching Chart History with Recorded Double-Bottom Samples.

This stage connects structural validation with reference matching for double bottoms. The Expert Advisor scans completed history, filters pairs by the current structural rules, and compares normalized close and low profiles against validated samples from the library. Results that meet the similarity requirement appear in the panel for chart review and are saved to REFERENCE_MATCHES.csv.

The previous stages of this project concentrated on formations already selected by the trader. The recorder preserved their candles, the validator tested their structure, and the panel displayed each interpretation before the complete library was processed. The toolkit could explain a stored example, but the library was not yet being used to locate other formations in chart history.

The next step is to make those reviewed samples part of historical detection. A structural validator can find pairs that satisfy separation, depth, low-to-low difference, and symmetry. Reference matching adds another useful condition: the candle path between the selected lows should resemble examples already accepted in the library.

The validator checks the lows, neckline and mandatory geometry. The scanner then compares each surviving pair with the eligible library profiles and retains it when the mean similarity score reaches the threshold. A retained result has passed the geometric and reference-similarity checks. Its separate CANDIDATE, CONFIRMED or FAILED status describes the outcome observed within the evaluation window. It does not mean that a breakout occurred or that a trade would have been profitable.


Author: Christian Benjamin