The author recounts developing and repeatedly revising a set of strategies, then lays out a research-to-deployment process. It begins by defining intended capital capacity, trading costs and order size, the balance between win rate and payoff, training data…
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 overview compares four crypto trading styles by holding period, activity, and typical analytical focus. Scalping seeks frequent small moves within a day and demands close monitoring; day trading holds positions for hours but generally closes them before…
Firebird v0.60 is described as an expert advisor that trades using a moving average and a configurable percentage distance between the price and the average. Before opening a position, it checks the time since the previous position was opened and skips a new…
The article presents a stock grid method that divides a chosen price interval into a finite number of levels. As price falls, the trader divides remaining cash among lower grid levels; as price rises, remaining shares are divided among upper levels. It…
The discussion explains how a VeighNa portfolio strategy handles its own position state. The strategy position data is stored in the portfolio strategy data JSON file and read when the strategy starts, so saved values can initialize the strategy’s internal…
The document describes a long-only stock strategy that trades when the closing price is above a rising 200-period moving average. It uses a faster and a slower moving average as a crossover trigger: a bullish cross opens a position, and a bearish cross…
The document briefly describes an Expert Advisor called OpenTicks. At each new bar, it evaluates the previous four bars, though it does not explain the exact signal rules or how those observations determine entries. It also describes a position-management…
This document describes a MetaTrader 5 panel for manual trade management, with automatic entries enabled only in Strategy Tester mode. Traders choose direction and adjust entry, stop, and target levels; the panel can suggest levels from hidden pivot-based…
This document outlines a basic program structure for a long-only spot cryptocurrency strategy. It separates the trading signal from the operational framework: the example has manual commands to open or close a position, while the user is expected to add the…
This essay argues that traders can develop intuition about leading stocks by participating in their price moves rather than relying only on charts or retrospective analysis. It frames market feel as accumulated experience with price rhythm, capital flows,…
This release note describes changes to Zipline, a Python framework for running algorithmic trading systems. It adds command-line and IPython notebook ways to execute algorithms, plus a history function that supplies rolling market data to a strategy. The…
This Expert Advisor combines a moving average with MACD. The moving average acts as a trend filter, while MACD provides trading signals. When a new signal calls for an opposite position, it also serves as the instruction to close the existing position.…
This tutorial explains how to convert a discretionary futures idea into a specification a program can follow. Its five elements are signal timeframe, entry rules, exit rules, position size, and behavior in edge cases. It emphasizes separating directional…
This Expert Advisor pairs trend-change signals from an Iin_MA_Signal indicator with position sizing that responds to recent trade outcomes. Signals are acted on after a bar closes when the indicator shows a trend change. Buy and sell histories are evaluated…
This trading script is designed to place a buy stop-limit order using trigger distances measured from the current price. It also sets stop-loss and take-profit distances from the eventual opening price. The listed inputs cover the money-management ratio, the…
The document outlines a MetaTrader Expert Advisor approach for managing open positions on the current symbol. On each tick, it checks whether a position has reached configured profit or loss thresholds and closes it when either threshold is met. If neither…
This Chinese equity screening proposal combines above-normal daily range, a close between the middle and upper Bollinger bands, and an upward 30-day moving average. It presents these conditions as a way to find active stocks whose medium-term trend is rising…
The document describes a forex Expert Advisor that places market orders in one direction at fixed price intervals. A configured maximum price sets the top of the trading range; the examples show a range extending ten yen or ten cents below that level. The…
This guide explains how to create market, limit, stop-loss, and trailing-market orders with OctoBot Script. It describes order sizing for spot and futures trading, including fixed asset amounts, percentages of portfolio value, and percentages of available…
This Expert Advisor uses a fixed alternating direction: it starts with a buy and switches between buys and sells on successive trades. It opens trades at candle starts and applies stop loss and take profit settings. After a losing trade, the next position…
This MetaTrader 5 Expert Advisor is a position-management utility for traders who enter trades manually. It does not create entry signals or open positions. For buys, it places an initial stop beyond a recent swing low; for sells, beyond a recent swing high.…
The strategy seeks long trades during a rebound after a bearish move. It uses a Donchian channel to divide the recent price range into four sections, then places a buy stop near the first level above the channel low when price remains below that level. A…
This controller monitors liquidation activity for a selected Binance perpetual futures pair and initiates a dollar-cost averaging trade when liquidations on the chosen side exceed a configured quote-currency threshold within a time window. It treats forced…
The document explains an expert advisor approach for managing stop loss, take profit, and trailing exits locally on a trader’s computer. Because the stop orders are virtual, they are not sent to the broker. The article also says the system ignores broker…