This script is intended to close part of a buy order that is already in profit while leaving other running orders open to pursue their target profits. Its described role is a position-management operation: realize some gains from a profitable buy without…
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
29,558 documents
The article proposes a recovery approach for a losing equity position that avoids adding shares while price is still falling. It advises waiting for a low-price consolidation and a volume increase as signs that selling pressure may have eased, then using…
This trading example describes calculating a buy position size from a chosen percentage of account equity at risk and a stop-loss distance. It then checks whether the calculated size is valid and whether the account has enough funds to open it. If the…
The author questions whether FMZ is worthwhile when moving a strategy from backtesting to live trading. They describe having to rewrite or adapt functions because exchange APIs differ, backtested functions may fail in live use, and tasks such as placing…
A strategy performance report brings together trade records, returns over different periods, graphs, and summary statistics for either historical tests or live trading. The document recommends beginning with total net profit, profit factor, percent…
This stock selection approach combines three filters: a 14-period RSI below 65, best bid volume greater than best ask volume, and at least two limit-up sessions in a 500-day lookback. The article frames these conditions as a way to find shares with prior…
This A-share screening proposal places stocks in a candidate pool when they meet three technical conditions: daily amplitude above a stated threshold, a newly formed KDJ crossover, and at least five coincident moving averages. The post explains these filters…
This Chinese A-share screening proposal combines daily price range, weekly MACD, a non-ST restriction, and a five-pen limit-up pattern. It describes selecting stocks before 10 a.m. and gives formula and Python examples intended to express the conditions. The…
The document introduces Kagi charts, a price-focused representation in which the horizontal time spacing is not uniform. Vertical segments track price movement, while horizontal inflection segments connect changes. Direction and color reflect whether price…
This DAX trading idea opens a long position on Monday at the specified morning entry time if the current price is more than 50 points above the previous day’s close. It exits at a preset time later that morning and sets a 50-point loss stop. The code also…
The document outlines how decentralized finance uses blockchain networks and smart contracts to provide services such as trading, lending, and borrowing. It describes potential advantages over traditional finance, including broader geographic access, direct…
This Chinese-market stock selection approach combines several daily filters: RSI below 65, a gain above 1%, and a positive day-over-day change in the KDJ indicator’s K value. It further focuses on main-board listings and describes controls involving…
The Fearzone indicator is presented as a visual signal for periods of unusually weak price action. It marks a candle below the price when two conditions coincide: a drawdown measure from a recent high exceeds its longer-term average by one standard…
This Chinese stock screening proposal combines three filters: daily price amplitude above one, a stock having had three consecutive limit-up sessions the previous day, and a 2019 dividend payout ratio above 25%. The discussion frames amplitude and the recent…
This stock-selection rule combines an RSI below 65, a condition labeled as the start of a strong upward move, and a rising 30-day moving average. The article’s formula defines the upward-move condition by requiring the 30-day highest high and lowest low to…
This screening idea looks for stocks in the metaverse theme whose previous closing price is above the 250-day moving average and whose previous-day opening-auction turnover rate exceeds the stated threshold. The long moving average is intended to identify…
This stock-screening approach combines three signals: membership in the metaverse theme, positive net buying by major participants during the opening auction, and evidence of institutional accumulation. The article describes these as ways to target a popular…
This document describes a rule-based strategy for the Nikkei 225 on 15-minute bars. It enters long after a closed bar meets three criteria: price is above its recent average by a volatility-scaled amount, upward momentum remains below a threshold, and tick…
This proposed stock screen looks for companies with market capitalization below 10 billion yuan and no losses, alongside a reported increase in buying interest above 5% and a maximum daily decline between 4% and 5%. The rationale is that buying activity may…
This stock-selection idea combines three filters: MACD above its zero line, a price-change measure multiplied by large-order net volume, and a 15-minute MACD histogram whose green bars are becoming shorter. The accompanying discussion interprets the…
The proposed stock screen selects shares with turnover between 3% and 12%, excludes Beijing-listed A-shares, and seeks evidence of institutional buying at lower prices. The article frames institutional accumulation as a signal of focused research, while its…
This foreign-exchange expert advisor begins by looking for price breakouts, then adds orders progressively while seeking an overall profit target. It also takes small gains when positions become profitable and attempts to increase gains when the market…
This strategy selects Chinese convertible bonds nearing maturity, aiming to combine a price discount to redemption value with screening for issuer credit risk. It excludes bonds linked to special-treatment stocks, requires positive trailing earnings and…
This tutorial extends a basic grid strategy to several cryptocurrency spot pairs and focuses on the engineering decisions needed to run it. It covers retrieving aggregated quotes and account balances, tracking assets and performance by pair, and assigning…