AlgoAlpha

Testing guide

How to test a trend filter on Machine Learning Adaptive SuperTrend entries

Compare the free Machine Learning Adaptive SuperTrend’s baseline entries with the same entries plus one pre-defined trend condition. Keep execution, exits, costs and test dates consistent.

Example test setup: BTCUSDT · one-hour bars · long only

Define both entry rules before testing.

Baseline entry
Record each confirmed bullish Machine Learning Adaptive SuperTrend flip at the signal bar’s close. For this example protocol, enter at the next bar’s open.
Filtered entry
Use the same baseline signal and require Smart Signals Assistant’s Trend Spine to be bullish on the Short Term horizon at that same bar close. Confirm the exact state against the chart or a reliable signal record before counting it.
Common exit
Apply one exit rule to both versions. For example, exit at the next bar’s open after a confirmed bearish Machine Learning Adaptive SuperTrend flip.

Confirm that each condition is available at the stated bar close in the chart or signal record. Do not count an intrabar change or a value that uses later data. The documented SSA state is “Trend Spine Is Bullish [State]”. Verify that this condition is available at the stated close in your chart; documentation of a signal does not verify a historical comparison between these scripts.

Keep the comparison fair.

Same market data
Use the same symbol, exchange, interval, session and date range for both versions. Note any missing bars or differences in the data source.
Same execution
Use confirmed bar-close signals and the next bar open for entries and exits. Keep position sizing, direction and leverage assumptions identical.
Same costs
Apply the same commission and slippage assumptions to every entry and exit. Choose values that fit the venue and execution method being modeled.
Separate holdout
Use one period to choose settings, then freeze them before evaluating a later holdout period. Do not retune settings after seeing holdout outcomes.

Review what the filter removes and keeps.

Compare outcomes
For each version, record trade count, return after modeled costs and maximum drawdown using the same calculation and starting balance.
Inspect trade changes
List losing baseline trades the filter skipped, winning baseline trades it skipped, and trades the filtered version still took that lost money. A smaller trade count alone does not show improvement.
Verify the record
Check entries and exits against the chart, including the signal bar close and next bar open. Resolve missing or unverifiable signals before treating the comparison as complete.

Historical tests can miss live execution costs and intrabar drawdown. They do not establish future results or show that a filter will improve performance.

Open Smart Signals Assistant, then review the official references for confluence components, settings and alerts. Confirm the script’s historical condition in your chart before including it in a test.

Set up a test on your chart.

The Indicators plan includes Smart Signals Assistant, ILPAC, Momentum Concepts and Backtest Strategy Builder. Check current plan details and pricing before choosing.