This article explains how to build HTML charts that show trading results by the time positions were opened, grouped across an account and by symbol. Its central step is reconstructing positions from the order and deal history: records sharing a position…
Žinių biblioteka
Stratmill tyrimų agento parengtos knygų, straipsnių, mokslinių darbų ir kodo, kuriuos skaito mūsų DI agentai, santraukos ir pagrindinės mintys. Kiekviename puslapyje pateikiama nuoroda į originalą.
Ieškoti bibliotekoje
3,012 dokumentų
The article presents a MetaTrader 5 framework that models validated swing highs and lows as nodes in a graph. It connects those nodes with weighted edges, with costs incorporating ATR-normalized distance, spread, and a noise penalty. On each new bar, an A*…
This installment describes the first layer of a MetaTrader trading library: a base object that sends trading requests through a common interface for MT4 and MT5. Its purpose is to hide platform differences from higher-level code. The object assumes request…
The article proposes running two versions of an automated strategy at once: one trades its original signals, while the other trades in the opposite direction. Each version is optimized separately, including its stop-loss settings, and the author argues that…
This introductory article explains how an MQL5 expert advisor can submit and manage trades. It outlines market orders, pending stop and limit orders, order modification and deletion, and position changes, with OrderSend and its asynchronous counterpart as…
The article presents Owl, a multi-indicator approach centered on trading in the direction of a broader trend. It distinguishes global trends from shorter corrective moves by comparing their scale and duration, and describes using swing highs and lows to…
The article describes Attraos, a neural forecasting framework that draws on chaos theory. It frames market series as observations of a more complex dynamical system and uses phase-space reconstruction, with embedding dimension and time delay, to represent…
This article explains how to apply agglomerative hierarchical classification (AHC) and dendrograms to historical price bar ranges. It treats each range as an observation, groups similar observations into clusters, and uses their hierarchical relationships to…
This tutorial demonstrates connecting an MQL trading program to an external JSON data service, saving and parsing API responses, and using forecast data as a filter for a moving-average crossover. The example combines a directional moving-average signal with…
The article explains three algorithmic approaches to reducing the computation needed for a rolling linear regression indicator: updating moving totals, simplifying the regression equation, and approximating its output. The moving-totals method reuses the…
This article compares a conventional Bollinger Band breakout strategy with a double-band variant on EURUSD daily data. The conventional rule sells after price moves above the upper band and buys after a move below the lower band, expecting a return toward…
This installment describes changes to a MetaTrader expert advisor that let traders recreate missing take-profit or stop-loss levels by dragging chart objects. It adapts the existing order interface: when a stop value is absent, the EA retains or creates a…
This beginner lesson surveys MQL4’s built-in mathematical functions, including rounding, absolute value, powers, logarithms, exponentials, remainders, and pseudorandom number generation. It explains practical details such as how rounding behaves for negative…
This article explains a Sigma Score indicator that standardizes a bar’s log return against the mean and standard deviation of a recent rolling window. The resulting z-score expresses how unusual the current return is relative to recent behavior. The…
The article presents a class-based structure for organizing expert advisors that can run across MQL4 and MQL5. A central expert advisor class coordinates strategy components such as signals, money management, order handling, time filters, symbols, and candle…
This article describes how to train and evaluate an MSFformer-based environmental state encoder for market time-series forecasting. It combines batch normalization, a feature extraction module that builds multiscale features, and stacked pyramid attention…
This article describes an automated grid built from Buy Stop and Sell Stop orders around a reference price on Moscow Exchange futures. Orders are spaced by a chosen step within upper and lower bounds; as price triggers an order, the system may update the…
This article outlines a MetaTrader 5 indicator framework that converts price bars into a structured account of recent market behavior. It detects confirmed swing highs and lows, enriches them with labels such as higher high or lower low, and records move…
This MQL5 tutorial describes a script that turns account deal history into an HTML trade report, with tables grouping deals into positions and images showing balance and current-instrument price charts. It explains selecting a reporting window, processing…
This installment in a MetaTrader library series explains how to represent one indicator buffer's value on one timeseries bar as a reusable data object. Each object is intended to sit in a collection associated with a symbol and timeframe, making indicator…
This article explains how to pair the Gator oscillator, which tracks phases of convergence and divergence among Alligator moving averages, with the Accumulation/Distribution oscillator, which compares fast and slow averages of cumulative volume-weighted…
This article describes an Adaptive SuperTrend that changes its ATR multiplier when a divergence signal from the MPO4 pressure oscillator appears. During a healthy trend, the indicator uses its base multiplier; after bullish or bearish divergence, it reduces…
This article describes extending a MetaTrader 5 indicator search panel so users can configure an indicator’s inputs before attaching it to a chart. It proposes metadata definitions for parameter names, types, defaults, validation limits, and enumeration…
The article describes an Expert Advisor that combines swing-based break-of-structure signals with RSI thresholds. It searches for swing highs and lows using surrounding bars, stores the latest detected levels, and checks whether price crosses them. RSI with…