logo
Developers

Double Inside Bar & Trend Strategy - Kaspricci

Script from: TradingViewSwingPrice actionBreakoutTrend followingCandlestickPattern

This strategy blends the Double Inside Bar candlestick pattern with a trend filter. A buy stop order is placed when the close is above the trend moving average; a sell stop order is placed when below. Customizable parameters include trend source, moving average type, stop loss types (ATR or fixed), and risk percentage. Trade filters by date and time are also available.

Audit verdict

Not rankedUpdated Jul 28, 2026

No reliable edge found

Its average result can't be told apart from chance, so it stays out of our rankings. The script itself passed our repainting audit.

1,634backtests3 markets
25robust scoreranked median 52
0.38p-valueranked median 0.24
5/69pass quality gatebacktests >15 trades

Audit details

How we decide whether a strategy enters our rankings. Read the methodology →

!
Repainting audit
5 of 8 checks passed.
!
strategy() with calc_on_every_tick=true or recalculate_on_every_tick=true
Found on line 4. Disable calc_on_every_tick/recalculate_on_every_tick for stable backtests unless truly required.
!
plot/label/shape drawn in the past (offset = -n)
Found on lines 26, 61. Avoid negative offsets when plotting or drawing; they imply future placement.
✓
Script availability
Open-source, still published on TradingView.
✕
Statistical edge
Average t-statistic 1.20 (p = 0.38), below the median of 1.98 (p = 0.24) for ranked strategies.
✓
Quality gate
5 of 69 backtests with more than 15 trades pass our quality gate.
✕
Robust score
25/100, below the median of 52 for ranked strategies.

How its evidence compares

The t-statistic measures how far the average result sits from zero relative to its noise. Below about 2, it is within what random entries produce.

1.20
avg. t-statistic
1.98
median, ranked strategies

Best 5 of 1,634 backtests

Shown for transparency.

SymbolTimeframeNet profitProfit factorTradesMax drawdown
AMC Entertainment Holdings, Inc.
NYSE:AMC
1H+268%1.4648818%
Transocean Ltd (Switzerland)
NYSE:RIG
2H+89%1.2343217%
American Airlines Group, Inc.
NASDAQ:AAL
1H+86%1.1557725%
Carnival Corporation
NYSE:CCL
1H+78%1.1653620%
Australian Dollar/U.S. Dollar
FX:AUDUSD
2H+72%1.2140615%
⚠Selected after the fact: these are the best 5 of 1,634 runs, not what to expect from this strategy.

Is Double Inside Bar & Trend Strategy - Kaspricci profitable?

Not reliably, based on our tests. Across 1,634 backtests, 5 of 69 with more than 15 trades pass our quality gate. The best result is +268% on AMC Entertainment Holdings, Inc. (1H, 488 trades). On average, its results are statistically indistinguishable from chance (p = 0.38).

Strategies that passed our audit

Ranked strategies from the same family, ordered by robust score.

Explore the best Trading & TradingView strategies

Stop trading blindly. Explore quality-gated backtests and improve your trading skills with data.

Start for free