Backtest a moving-average rule on one-minute bars

How to test price-above-average and crossover rules in Singular Signal, and why the daily 200-day average is out of its range.

A moving-average rule in Signal

Windows count minutes, not days

Signal's bars are one minute long, so a window of 100 is the last 100 minutes. A regular US session has 390 one-minute bars. A moving average's window can be up to 5,000 bars, about 12.8 regular sessions.

What about the 200-day moving average?

A 200-day average would need about 78,000 one-minute bars, more than the 5,000-bar limit, so Signal cannot test the classic daily 200-day rule as such. What it tests is the same idea at minute scale: price against its own average over the last hours or days, with exits that can fire inside the session instead of waiting for the next daily close.

Read it against buy-and-hold

Every strategy report sets the rule beside buy-and-hold of the same symbol over the same bars. See backtest a rule against buy-and-hold, and the simple moving average and exponential moving average drawn live.

Singular Signal is not investment advice. Past or hypothetical performance is not a promise.

More from Singular Labs