Stockpicker Template: N-day high (Donchian) – Trend and Volatility Filter
StrategyQuantTemplatesStocks
Stockpicker (D1) Builder template: close above the highest high of the last n days. The Builder searches the free parameters and conditions; variant: regime + volatility filter (ATR/Close), core-specific exit.
Stockpicker Template: N-day high (Donchian) – Trend and Volatility Filter
A StrategyQuant X Builder template for the AlgoCloud Stockpicker engine (daily bars, stock groups such as the Dow Jones, S&P 100 or Nasdaq 100). The template fixes the Stockpicker skeleton and one entry idea: close above the highest high of the last n days. The Builder then searches the free parts, so every run produces different strategies.
What the template fixes
• Entry idea: N-day high (Donchian) (close above the highest high of the last n days).
• A regime filter (Close above the 200-day SMA), a volatility filter (ATR/Close below a random limit) and a market order.
• Long side only, Stockpicker rules with a position score and a maximum number of open positions.
What the Builder searches
• The parameters of the entry idea, the volatility limit, the exit parameters and the position-score formula.
How to use
1. Builder > Full settings > Data: engine AlgoCloud Stockpicker, a stock group, timeframe D1, in-sample and out-of-sample dates.
2. Full settings > What to build > Strategy from template > choose this template.
3. Start the build, then check the results out of sample and on other groups before any live use.
Tested
Tested in StrategyQuant X 145.3205 with the AlgoCloud Stockpicker engine on the Dow Jones group D1.
Requirements
StrategyQuant X 145.3205 or newer with the AlgoCloud Stockpicker engine and stock-group data in the Data Manager. No custom blocks or random groups are needed.
Free
Files
Template-sp_hh_high_V1.sqm6 KBLocked
Download unlocks after purchase or with an active tier.
Details
Version
1.0.0
Published
October 25, 2026
Last updated
November 2, 2026
App
SQ
Idea
N-day high (Donchian)
Type
Template
Author
StrategyQuant
Engine
AlgoCloud Stockpicker
Variant
V1
Timeframe
D1
App version
145.3205
Idea family
breakout
Verification
Builder generated and accepted strategies (Dow Jones, D1)