The document presents an array-based ZigZag indicator for plotting alternating swing highs and lows. A configurable threshold can be expressed in pips or as a percentage; the percentage mode uses the previous day’s close as its reference, which the author…
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 utility displays an instrument’s swap values on a chart, using different text colors for positive and negative values. It also shows the instrument name and the date and time at which the values were captured. Because swap rates can change, the…
The document describes a trading system that combines the Alligator indicator with Fractals. Its basic entry idea is to detect a particular grouping of Alligator lines and confirm the signal with a fractal. The system also offers configurable indicator exits…
The document briefly describes an indicator that combines weighted-close candlesticks, calculated from the high, low, close, and close again, with arrows associated with a ZigZag indicator. It notes that users can choose whether to display directional…
The code provides a MetaTrader 4 Expert Advisor example for identifying a Friday that falls between the first and seventh calendar days of a month. It checks the current weekday and day of month, then compares the current daily candle's timestamp with a…
This expert advisor uses signals from the NRatioSign indicator, with configurable upper and lower thresholds for overbought and oversold conditions. It offers two entry styles: trade when the indicator enters one of those zones, or wait until it exits the…
This short description outlines an expert advisor that trades when a ColorZerolag indicator cloud changes color. The stated trigger occurs at a bar close when the oscillator crosses its signal line, making the strategy a crossover-based entry approach. The…
LotLoss is a basic position-sizing tool for calculating a lot size from two inputs: the amount of money a trader is willing to lose and the stop-loss distance in points. The principle is to set the loss budget first, then scale the position so that a move to…
This short MetaTrader expert advisor opens an initial sell position when initialized, with stop loss and take profit set to fixed point distances. On later starts, it checks open orders for the current symbol and, when no matching order is found, submits a…
The document describes a draft expert advisor that opens long and short positions simultaneously. Its defining condition is that the losing position’s stop loss is reached five points before the profitable position’s take profit. It says the strategy…
This tutorial explains how to request foreign exchange futures market data through an HTTP endpoint and a WebSocket connection. It uses the micro British pound continuous contract as an example, showing how request parameters identify the bar interval,…
This indicator draws candles from a larger timeframe as filled rectangles on a chart. It uses the dot colors from the AMkA indicator to determine the candle coloring: the body is green or red according to the indicated trend direction, and the shadows use…
This indicator compares the Average True Range (ATR) with an average of ATR and displays their difference as a color histogram. Yellow marks periods when ATR is above its average, while dark blue marks periods when it is below. The display is intended to…
This short description identifies a MetaTrader 4 expert advisor built around three technical indicators: a 100-period simple moving average, a 14-period Average Directional Movement Index, and Parabolic SAR. It states that the author is testing the EA on…
The document outlines a GBPUSD expert advisor concept that opens positions at a specified time, with an adjustable hour shift. It counts bullish and bearish bars on the one minute chart and exposes settings for the number of bars considered, maximum open…
This document describes a simple Expert Advisor that uses a fractal Williams Percent Range oscillator to generate entries. It sells when the oscillator crosses downward through its overbought threshold and buys when it crosses upward through its oversold…
The document outlines an Expert Advisor that analyzes two moving averages and two ADX indicators across one-minute and one-hour periods. It lists fixed trade volume and fixed profit-taking and loss levels, along with a threshold parameter for the distance…
The document describes an Expert Advisor that takes trade signals from a CMO-based cloud indicator. It opens a position when a bar closes and the indicator cloud changes to the opposite color. The supplied description identifies the indicator file required…
The document describes an Expert Advisor that trades signals from the SSL indicator. It checks for a color change when a bar closes and uses that change to form a trade signal. The example setup tests EURUSD on an eight-hour timeframe during 2015. The stated…
This document outlines a MetaTrader 4 Expert Advisor template that retrieves economic calendar events without using a DLL. It describes a basic news-state signal: the EA indicates whether an event falls within a configurable window before or after its…
This document describes an Expert Advisor that trades when the TriXCandle indicator changes candle color. It generates a signal after a bar closes, so the decision is based on a completed candle rather than an intrabar color change. The advisor depends on a…
This document describes an indicator that calculates an adaptive Relative Strength Index from tick data and displays it in a separate chart window alongside fast and slow moving-average lines. Users can customize calculation periods, moving-average types,…
This document describes a corridor approach built from two Bollinger Band envelopes: inner bands at one standard deviation and outer bands at two standard deviations around a 20-period exponential moving average. It presents the indicator as applicable to…
This MetaTrader expert advisor uses stochastic crossovers for entries: it buys when %K crosses above %D and sells when %K crosses below %D. The stated setup is for an H1 chart, with adjustable stochastic periods and slowing. It assigns each trade a fixed lot…