Skip to content
All library documents

Combining B-Tree Search Modes with Bayesian Signal Filtering

Article MQL5 articles

Summary

This article describes a custom MQL5 Wizard signal class that pairs four B-Tree-inspired search modes with an optional Bayesian neural network. The proposed modes represent direct lookup, a local range average, a search for the largest recent price change, and a hybrid query. The examples use bar open and close prices as stand-ins for relational market data; the article explicitly says they simulate, rather than implement, multi-symbol triangulation. The Bayesian option uses repeated weight sampling to estimate predictive uncertainty, with a user-set threshold intended to reject uncertain signals.

The piece frames these components as a way to organize market-state queries and temper deterministic entries. It discusses forward-walk optimization and identifies depth search as the selected mode, but the supplied material gives no detailed performance results or robust comparison. The B-Tree description is conceptual: the sample routines use loops over bar data, rather than demonstrating an actual tree-backed relational store. The approach should therefore be read as an implementation sketch, not evidence that tree indexing or Bayesian filtering improves trading outcomes.

Key ideas

  • The signal class exposes direct, range, depth, and hybrid modes for querying recent price behavior.
  • The examples use bar changes as proxies and do not implement genuine multi-symbol triangulation.
  • A Bayesian network estimates prediction variance through repeated weight sampling and can filter signals above a chosen uncertainty threshold.
  • The article presents the B-Tree design conceptually, while its sample searches iterate over price bars.
  • The reported optimization choice lacks enough performance detail to establish that the method improves trading results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.