---
title: "Discussion on \"Same Pine Script, Two Backtests, Opposite Results — Here's the Exact Bar Where They Diverge\" | Hashnode"
description: "Discussion on \"Same Pine Script, Two Backtests, Opposite Results — Here's the Exact Bar Where They Diverge\". One script. One dataset. Two backtests. One says the strategy loses 13.5%. The other says it makes money. Neither backtest is lying — they disagree about three things the script never says out loud: w"
url: "https://hashnode.com/posts/same-pine-script-two-backtests-opposite-results-here-s-the-exact-bar-where-they-diverge/6af2ffbde232b972b4263f15"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Same Pine Script, Two Backtests, Opposite Results — Here's the Exact Bar Where They Diverge](https://leichenbuilds.hashnode.dev/same-pine-script-two-backtests-opposite-results-here-s-the-exact-bar-where-they-diverge?utm_source=hashnode&utm_medium=feed)

One script. One dataset. Two backtests. One says the strategy loses 13.5%. The other says it makes money. Neither backtest is lying — they disagree about three things the script never says out loud: w

3d ago · 9 min read · leichenbuilds.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#trading](https://hashnode.com/tag/trading)
-   [#backtesting](https://hashnode.com/tag/backtesting)
-   [#algorithmic-trading](https://hashnode.com/tag/algorithmic-trading)
-   [#pinescript](https://hashnode.com/tag/pinescript)

## Written by

[Lei Chen](https://hashnode.com/@leichenbuilds)

@leichenbuilds

  
[View profile](https://hashnode.com/@leichenbuilds)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
