Backtesting Strategy

Learn how to backtest a trading strategy using Pine Script. This guide covers the essential steps for evaluating historical data and strategy performance.

Published · Updated · Methodology: Mixed

Part of: Algorithmic & Automated Trading

  • Methodology: Mixed
  • Content type: strategy

Source video

Decoded from: Backtesteando la estrategia del campeon de trading 2023 by JOTAGEPEME — watch the original

Strategy overview

Backtesting is the step where a trading idea stops being a claim and becomes a measurable series of outcomes over historical data. What makes this entry unusual is that the method under test is not the channel's own: in "Backtesteando la estrategia del campeon de trading 2023", the Spanish-language channel JOTAGEPEME takes an approach attributed to a 2023 trading champion and runs it through a backtest — which quietly turns the credential itself into the hypothesis rather than the evidence.

Two problems sit underneath that exercise, and they are what the video is really about. The first is the reconstruction gap: when you backtest someone else's published method, you are testing your reading of it, because everything the source left implicit — sizing, exits, filters, instrument, session — has to be supplied by whoever builds the test, and those fills carry a large share of the result. The second is the difference between a ranking and an edge: competition results are produced over a short window under rules that tend to reward concentrated risk, so a champion's numbers describe the tournament they were earned in at least as much as they describe a repeatable method.

This entry is catalogued under algorithmic and automated trading as a mixed-methodology reference, and it is worth being direct about what that means here: no indicator set, timeframe or rule list was extracted from the source, and none is presented on this page. The value of the video is the procedure — the chain of decisions required to take a public performance claim and convert it into something that can actually be measured.

Topics

backtesting strategy · pine script · trading strategy · tradingview strategy · strategy backtesting · trading performance · historical data analysis · algorithmic trading strategy

Frequently asked questions

What does backtesting a strategy actually test?

It tests a fully specified set of rules against historical data to produce a measurable record of how that specification would have behaved. It does not test intent or reputation — only the rules as written, on the data chosen, with the costs and assumptions applied.

Whose strategy is being backtested in this video?

The video takes a method attributed to a 2023 trading champion rather than a setup of the channel's own, and puts it through a backtest. The framing is verification of an outside claim, which is a different exercise from presenting a personal system.

Does winning a trading competition mean a strategy works?

Not by itself. Competition rankings are decided over a short window and typically favour concentrated risk-taking, so the result reflects the contest format as well as the method. A backtest over a longer, independent sample is one way to separate the two.

Are this strategy's rules available on Strategy Decoder?

No rules, indicators or timeframes were extracted from this source, so this page covers the concept and the video's approach rather than a rule-by-rule breakdown. Strategy Decoder only publishes extracted structure when the source video actually specifies it.

Why is reconstructing someone else's strategy so error-prone?

Because published descriptions are usually incomplete. Entry logic is the part people explain; exits, position sizing, filters and instrument selection are often left out, and whoever runs the backtest has to invent them — which means the resulting curve partly measures the tester's choices, not the original method.

About this strategy page

This trading strategy was decoded by Strategy Decoder's AI from a public YouTube trading video and turned into a structured, reviewable specification. In the interactive app this page shows the full entry and exit logic, risk management settings, the indicators involved with their parameters, AlgoWizard-compatible logic and a Pine Script export ready for TradingView backtesting — plus an automated backtest verdict when one has been computed for this strategy.

Strategy Decoder catalogs 2,229 decoded strategies. Each one is extracted with confidence scoring, cross-linked to the indicators it uses, and kept up to date as new videos are processed daily. Load this page with JavaScript enabled to use the interactive tools, or start from the strategy explorer to filter by methodology, market and timeframe.

Other versions of this strategy

More decoded strategies