The Expert Advisor described here seeks pullbacks after a strong one-way move. It counts a user-defined run of bars moving in the same direction, with each candle body larger than the previous one, then opens a position in the opposite direction. The…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
4,613 documents
This Expert Advisor description outlines a swing-level trading method that identifies confirmed highs and lows on a four-hour chart, then watches a fifteen-minute chart for price to breach and close beyond those levels. A detected sweep triggers an automatic…
This Expert Advisor trades breaks of the high or low formed during a selected time interval. A move above the range triggers a buy, while a move below triggers a sell. The initial stop is placed at the opposite range boundary, and the take-profit distance is…
The document describes an MT5 chart indicator that turns daily loss and overall drawdown limits into price levels based on a trader’s current net positions in the chart symbol. It displays the stricter of the two levels as the main line, with optional…
This Expert Advisor is designed for hedge accounts and holds opposing long and short positions. At each new bar, it closes existing positions and opens a buy and a sell simultaneously. The intended outcome is for one side to reach its take-profit level…
The document explains a portfolio approach built around StockRanker, a model that ranks stocks using historical data. Each day, the strategy buys the highest-ranked candidates and sells or replaces holdings that fall toward the bottom of the ranking. The…
The document describes settings for an automated trading system that can operate as a hedging grid or place a single trade. It lists controls for closing a basket at a profit or loss threshold, monetary take-profit and trailing stops, maximum trade count,…
This expert advisor enters in the direction of the prevailing trend after price has traversed a specified share of its average daily range. It estimates that range with a 20-bar ATR and uses an 80% threshold by default. The stated stop is the daily high for…
This expert advisor begins by opening opposing positions with the same initial lot size, each protected by a stop loss and managed with trailing-stop settings rather than a take-profit target. The author’s logic treats a losing stop-out as evidence of a…
This Chinese-language tutorial describes implementing a stock-ranking strategy in BigTrader by passing StockRanker predictions directly to the trading engine and coding the trade logic there. It allocates purchases among the top-ranked stocks using weights…
This BigQuant note explains how to change a strategy template’s initialization settings from a declining weight schedule to equal weights. The existing example assigns larger allocations to earlier stocks using weights proportional to the inverse logarithm…
This document describes an Expert Advisor that estimates the largest lot size that could be used to open a position with the deposit’s available free margin. It displays the calculated size in a chart corner. A position type input lets the user select buy or…
The document describes an expert advisor that draws Fibonacci time zones on a chart and supports trading on price breakouts. It includes controls for manual order handling, stop-loss and take-profit settings, and managing multiple open trades. Users can…
This document describes an Expert Advisor that runs two systems based on signals from the FineTuningMACandle indicator: one for long positions and one for short positions. Each side has its own input settings, including distinct identifiers and money…
The document describes a MetaTrader utility for moving several open positions to breakeven once price has moved favorably. It offers two trigger approaches: a points-based move, with a stated default of 100 points for a five-digit broker, or a target-price…
The thread discusses changing a Turtle-style CTA backtest from a fixed number of contracts per trade to dynamically sized positions. A user reports editing a strategy variable intended to replace the fixed unit, but the refreshed backtest still uses the…
The document describes buying already-listed Chinese convertible bonds at lower prices and selling them higher, including the appeal of same-day trading and lower stated transaction fees than stocks. It contrasts this approach with bond subscriptions and…
This strategy uses Ichimoku cloud position and the relationship between the Tenkan-sen and Kijun-sen to generate directional entries. A long requires price above both cloud spans, a bullish candle, and Tenkan-sen above Kijun-sen; a short applies the opposite…
The document describes a MetaTrader account guard for enforcing prop-firm limits alongside an existing trading strategy. It monitors static and trailing drawdown, daily loss, profit targets, payout consistency, minimum trading days, news restrictions, and…
This Expert Advisor pairs signals from the MA Rounding Candle indicator with position sizing that responds to recent trade outcomes. It enters when a completed bar indicates a trend change, shown by a candle color change. Buy and sell histories are evaluated…
The Glitch Index measures price deviation as a percentage above or below a detrended simple moving average. The system treats sufficiently negative readings as potential long entries and exits after the index rises into positive territory. It trades long…
The document outlines a set-and-forget trading approach implemented as an MT4 expert advisor. The user supplies the number of pending stop-limit orders, an initial entry price, a stop loss, a take profit, and a position size. The stated idea is to place…
This document presents a library of trading functions for opening and closing positions and calculating trade size. Its sizing routine estimates the loss budget from account equity or balance and a user-specified risk percentage, then divides that budget by…
The document describes a position-size calculator that uses a trader’s chosen percentage risk and stop-loss distance to determine lot size. The stop can be specified as a fixed number of points or as a multiple of Average True Range, linking the size of a…