This installment of a market replay system series addresses how many simulated ticks are needed to represent a one-minute bar’s open, high, low, and close. It derives minimum counts from the OHLC configuration: one tick when all prices coincide, two when…
Videnbibliotek
Sammenfatninger og hovedpointer fra de bøger, artikler, forskningsartikler og den kode, som vores AI-agenter læser, skrevet af Stratmills researchagent. Hver side linker til originalen.
Søg i biblioteket
3,012 dokumenter
The article adapts three Larry Connors RSI2 strategies for intraday trading, implementing them on a 30-minute US500 CFD chart. It explains the premise: a two-period RSI flags sharp short-term moves, while a moving average helps align trades with the broader…
The article introduces Soft Actor-Critic (SAC) as a reinforcement-learning method for trading systems. It describes an actor network that outputs a Gaussian action distribution and two critic networks that estimate action values. Using the lower critic…
The article explains how to build a MetaTrader indicator and reusable data interface for analyzing Commitments of Traders reports from Commission-provided CSV files. It distinguishes Legacy, Supplemental Commodity Index, and Disaggregated reports, describing…
This article describes an implementation problem in a MetaTrader expert advisor: dragging a pending entry price can change the order’s required type, but modifying the existing server order may leave the chart and server out of sync or trigger an unintended…
The article walks through developing a price-chart ZigZag whose reversals are triggered when an oscillator crosses overbought or oversold levels. It uses Williams %R as an example, marks the bars where those thresholds are reached, and tracks price highs and…
The article describes an Expert Advisor that uses Heikin-Ashi candles to smooth price data and identify a prevailing trend before looking for a possible reversal. It calculates averaged candle values, checks for consecutive movement in the trend direction,…
The article outlines a workflow for adding AI-generated commentary to an MQL5 news headline Expert Advisor. It describes downloading a quantized language model, running it locally through a Python inference service, and having the EA send prompts to a web…
The document explains Delta as an option’s sensitivity to the underlying price and Gamma as the rate at which Delta changes. It contrasts long options, which have positive Gamma, with short options, which have negative Gamma, and describes why Gamma is…
The article describes ways to transform existing variables and create or select predictors for a neural-network classification task. It discusses logarithms and roots for changing skew, discretization for grouping values, and normalization, alongside outlier…
The article explains how a single backtest equity curve can hide the range of outcomes produced by different orderings of the same trades. It distinguishes Monte Carlo simulation, which shuffles closed-trade profit and loss values to generate alternative…
The document presents a software design approach for maintaining expert advisors that target both MetaTrader 4 and MetaTrader 5. Because each platform compiles its own source format, the article proposes keeping thin platform-specific source files while…
The document explains how a MetaTrader 5 indicator can place higher-timeframe boundaries and candle information on a lower-timeframe chart. Vertical markers, optional intermediate periods, candle-body fills, and open and close levels help traders inspect the…
This article presents a graphical strategy builder designed to explore trading rules based on Merrill patterns. The proposed interface lets users choose symbols, a test date range, a timeframe, and separate buy and sell signal configurations. Each side can…
This article describes the CSymbol class in the CStrategy MQL5 trading engine, which gathers access to instrument data in a dedicated object called WS, for Working Symbol. It explains how the class provides OHLCV series, quotes, market depth, and symbol…
This article surveys multi-timeframe (MTF) indicators that bring calculations or market information from higher chart periods onto a working chart. It classifies tools that display raw information, plot indicator values across periods, convert periods into…
This article explains object-oriented programming (OOP) through an MQL5 price action Expert Advisor, with the main goal of illustrating code organization rather than teaching a trading strategy. It introduces classes as blueprints for objects, attributes as…
The article tests whether running a grid Expert Advisor across several currency pairs can improve its risk and return profile. The EA uses RSI thresholds to choose an initial contrarian position, adds a second position after an adverse move, and limits the…
The article presents seasonal analysis as a way to identify price behavior that recurs during similar calendar periods. It links currency movements to recurring changes in supply and demand, including commodity demand, agricultural cycles, weather, holidays,…
The article explains Chaikin Money Flow (CMF), a volume and price indicator intended to gauge accumulation and distribution. It describes the money flow multiplier and volume calculations, then shows how CMF is aggregated over a lookback period. Values above…
This beginner-focused tutorial extends an MQL5 trading journal by selecting account history over a chosen time interval and exporting trade details to a CSV-style file. It describes creating readable column headers for identifiers, symbols, order types,…
The article explains a position management design for adding to winning trades while controlling combined downside. It identifies two common risks: keeping add-on sizes uniform, which can multiply exposure, and managing each position with a separate stop,…
This article implements a session-based reversal strategy in MQL5. It first sets directional bias from higher-timeframe swing structure, then limits setups to selected London, New York, or Asia windows expressed in New York time. The session high and low…
This installment in an MQL5 market replay project examines how a position indicator can present information in different display modes. The motivation is that some traders prefer not to see the cash profit or loss of an open trade, while still needing to…