This trading-advisor description outlines a strategy that generates buy and sell orders when the Relative Strength Index crosses user-selected thresholds. The RSI input can be calculated from close, open, high, low, median, typical, or weighted-close prices.…
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 tutorial demonstrates a config-driven foreign-exchange backtest using a Parquet data catalog and a simulated venue. It loads quote ticks from either local Histdata files or a sample dataset, sorts them by timestamp, stores the instrument and ticks in…
This document outlines a Forex Expert Advisor that combines breakout entries with a Martingale-style recovery process. Its settings include the share of account balance available for trading, profit and loss targets expressed relative to balance, a recovery…
The document describes an MT5 chart panel that scans symbols in MarketWatch and displays long and short swap rates alongside estimated daily and weekly monetary costs. Users can set a reference lot size, sort the symbols, highlight favorable swap rates, and…
This document explains a library approach for handling tick events from multiple symbols in an MT5 Expert Advisor. Since the platform's NewTick event is tied to the chart symbol running the advisor, the library provides a multisymbol callback that reports…
Hoop Master 2 is described as an evolution of an earlier automated trading system that uses pending buy-stop and sell-stop orders with a Martingale approach. The update adds more formal controls over open positions and pending orders. Its central change is…
The document explains how mismatched daylight-saving transition dates in the United States and Europe can affect the timestamps used for forex trading sessions. It describes a nominal weekly session lasting 120 hours and argues that the local server…
The module describes a trailing-stop method with two stop levels. A long stop behaves like a conventional fixed trailing stop, while a short stop becomes active when the Williams Percent Range (WPR) indicator exits its configured overbought or oversold zone.…
This document describes an expert advisor that compares price changes across two adjacent historical windows. It calculates the start-to-end price difference within each window, compares the resulting values, and uses their relative size to predict the…
The script outlines an intraday foreign-exchange breakout strategy. It records prices during the hour before London opens, uses that period’s high and low as thresholds, and looks for a break during the first 30 minutes of the London session. It permits a…
This indicator makes up to three market sessions visible on an intraday chart using vertical start and end lines, shaded bands, and optional labels. Each session has editable server-time boundaries, colors, and names; sessions that end before they start are…
This document outlines a MetaTrader expert advisor built around a zero-lag momentum indicator. Its stated trade conditions require the fast and slow trends to align and the fast trend to change direction. The setup uses a higher timeframe to display the…
This document briefly describes a classic range-breakout expert advisor. The trading range is defined by a minimum number of bars and a maximum width measured in pips, with both parameters available for adjustment. The description indicates that users can…
The document introduces an indicator that displays a chart’s price in normalized form. It suggests looking for divergence between the normalized series and market behavior, and placing normalized series for several currency pairs in the same window to…
The document describes an Expert Advisor that trades signals from an MFI_Slowdown indicator. A signal is recognized when a colored arrow appears, and the system generates its signal at the close of the bar. The advisor depends on the compiled indicator being…
The document explains how to size a forex position so that a stop-loss represents a chosen amount of account-currency risk. It distinguishes three currency relationships: a pair whose quote currency matches the account currency, a pair whose base currency…
This MetaTrader indicator combines price and RSI divergence detection with a panel projecting higher-timeframe candles. It marks bullish divergence when price forms a lower low while RSI forms a higher low, and bearish divergence when price forms a higher…
The document describes an Expert Advisor that generates a signal when the i-CAi indicator changes direction, interpreted as a change in moving-average direction. The EA checks for the signal when a bar closes, then trades based on that change. It requires…
This document describes an Expert Advisor built around the iCCI_NR indicator. It opens a position at bar close when the indicator breaks its support or resistance levels and changes color. A position exit is signaled when the indicator crosses its mean line.…
This document describes a MetaTrader 4 expert advisor for trading around scheduled news releases. The user must enter the release time, lot size, stop-loss, and take-profit settings, with the start time intended to be set one minute before the announcement.…
The document describes an Expert Advisor concept for EURUSD that aims to capture a substantial part of a typical weekly move. It cites historical observations that most days had an average price change above 60 points and that weekly movement exceeded 200…
This document describes an Expert Advisor that trades signals from a WPR_Slowdown indicator. A trade signal is generated when a colored arrow appears, with the decision made at the bar close. The required compiled indicator must be available to the trading…
The document describes a MetaTrader indicator that combines Ergodic, tick-volume, and OSMA components and lets the user select the timeframe from its inputs. Its example setting uses a four-hour chart period, illustrating that the indicator can draw data…
This guide explains two Rust workflows for running Nautilus Trader backtests. The lower-level BacktestEngine approach assembles a simulated venue, instruments, in-memory market data, and a strategy before running the engine. It allows direct configuration of…