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…
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,574 documents
This document describes a MetaTrader indicator that detects bullish and bearish pinbar candlesticks from price action and marks them on the chart. It can issue platform, email, and push notifications, and is offered for both MT4 and MT5. The indicator does…
This document describes an Expert Advisor that trades from signals produced by the iWPRSign indicator. A signal is acted on when a colored indicator icon appears at the close of a bar. The system depends on a separately compiled indicator file, so it cannot…
The document outlines an MT4 indicator that calculates an anchored volume-weighted average price from the start of a daily, weekly, or monthly session. It uses typical price, formed from the high, low, and close, weighted by tick volume. Standard deviation…
The document describes an audit of terminal-held price bars before they are used for indicators or backtests. It checks OHLC consistency, bar timestamps, missing openings relative to the broker’s stated quote sessions, empty or flat bars, higher-timeframe…
This document describes an MT4 trade manager for applying protective rules to already-open forex orders. It can set stop loss and take profit distances in pips, shift a stop to break-even after a chosen profit threshold, and trail the stop as price moves.…
The indicator combines a fast and slow moving average with an RSI condition to generate chart signals. A bullish crossover is accepted when RSI is above a user-selected threshold, and a bearish crossover when RSI is below its selected threshold. Users can…
This EURUSD strategy places pending orders around the previous day's high and low, seeking to enter in the direction of a range break. The described setup places a buy above the prior high and a sell below the prior low, adjusted for spread. Both orders are…
This document describes a sample expert advisor that demonstrates a martingale approach, averaging positions either upward or downward. It uses the TEMA indicator to generate entry signals and ATR to set the spacing between grid orders. The update notes…
The Negative Volume Index (NVI) updates on bars whose volume is lower than the preceding bar’s volume. The document describes using NVI movement to assess whether a price trend persists despite declining volume. A crossover between NVI and its moving average…
This document describes a service that periodically checks swap rates for specified trading symbols and records changed values in monthly CSV files. Each record contains a timestamp and the long and short swap values, creating a history that traders can…
The document describes an Expert Advisor for manual trading that applies stop-loss and take-profit levels to market and pending orders. Its controls include when trailing begins, the trailing distance from the current price, the profit threshold for moving a…
This trading system uses the ColorLinearRegSlope_V2 indicator. It opens a position at bar close when the indicator band changes color. Exits are handled either by a pending order or by another change in the band’s color. The document describes a historical…
The document proposes watching for divergences in the relationship between two currency pairs and taking opposing positions when a gap appears. It focuses on AUD/JPY, CAD/JPY, and NZD/JPY, and gives AUD/JPY versus NZD/JPY as an example. A pip-value…
This document describes a MetaTrader expert advisor derived from an earlier Forex Fraus version. It uses the Envelopes indicator and was designed for EUR/USD on the one-minute chart, with possible use on other instruments. The EA can apply adjustable…
This page serves as a source-code index for a developing multicurrency Expert Advisor series. The series explores combining multiple trading strategies inside one program so they can operate on the same account. Its planned design moves market order handling…
This document describes a forex expert advisor that uses two moving averages to determine trade conditions. If price moves against an open position by a configured pip distance, the system opens another trade in the original direction and repeats the process…
This document is a dated market data table spanning observations from 2013 through 2018, with a truncated section indicated by an ellipsis. Columns identify Western Canadian Select crude, gas, WTI, several currency series, Edmonton, gold, and the Canadian…
This document explains an adjustable Zigzag indicator for identifying price swing points. It uses a step-size threshold: the current wave continues until price moves far enough in the opposite direction to confirm a reversal. Unlike the traditional Zigzag…
The document describes an indicator that estimates a currency’s relative strength from closing prices across seven currency pairs containing that currency. It proposes comparing the strength lines for the base and quote currencies of a pair as a possible…
This MT5 indicator tracks up to three configured symbols and analyzes completed Asian and London session ranges, using M5 as its default internal timeframe. A session sweep alone does not qualify: the described sequence requires a sweep, a close through a…
This document describes revisions to a MetaTrader expert advisor called Multi Arbitration. It trades two currency pairs at once: the chart’s main symbol and a second symbol selected from a fixed list of 20 forex pairs. The revised entry rule adds a buy only…
This MetaTrader 4 discussion sketches an intraday strategy using a Center of Gravity indicator with five parallel lines. A long signal is intended when a one-period moving average of lows crosses back above the channel’s lower boundary; the suggested short…
This MetaTrader expert-advisor example describes an automatic reversal rule. When a position closes, the program detects the closing deal and opens a new position in the opposite direction on the same symbol, using the same volume. For instance, closing a…