DEV Community

Lei Chen profile picture

Lei Chen

404 bio not found

Joined Joined on  github website
38 of 58 Exits Were the Stop. Widening the Target Fixed Nothing.

38 of 58 Exits Were the Stop. Widening the Target Fixed Nothing.

Comments
7 min read

Want to connect with Lei Chen?

Create an account to connect with Lei Chen. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
The Same Losing Strategy Made $3,153 on Weekly Bars. Twelve Trades Say Don't Believe It.

The Same Losing Strategy Made $3,153 on Weekly Bars. Twelve Trades Say Don't Believe It.

Comments
8 min read
The Time Exit Fired 6 Times and Made $846. Then I Changed One Number.

The Time Exit Fired 6 Times and Made $846. Then I Changed One Number.

Comments
7 min read
Same Pine Script, Two Backtests, $1,480 Apart: What request.security() Actually Returns

Same Pine Script, Two Backtests, $1,480 Apart: What request.security() Actually Returns

Comments 2
9 min read
84 Errors Became 5: The Version-to-Version Table for a Pine-to-Python Translator

84 Errors Became 5: The Version-to-Version Table for a Pine-to-Python Translator

Comments
11 min read
The Translator Got Better: One Fix, One Script That Used to Fail, Before and After

The Translator Got Better: One Fix, One Script That Used to Fail, Before and After

Comments
8 min read
It Drew 238 Lines and the CSV Is Empty: What 366 Drawing-Only Pine Scripts Taught Me

It Drew 238 Lines and the CSV Is Empty: What 366 Drawing-Only Pine Scripts Taught Me

Comments
9 min read
It Ran Fine. It Produced Nothing: What 196 Silent Pine Scripts Taught Me

It Ran Fine. It Produced Nothing: What 196 Silent Pine Scripts Taught Me

Comments
8 min read
I Fixed the Exit Bracket My Last Post Got Wrong. The Strategy Got Worse.

I Fixed the Exit Bracket My Last Post Got Wrong. The Strategy Got Worse.

Comments
7 min read
Same Pine Script, Two Backtests, Opposite Results — Here's the Exact Bar Where They Diverge

Same Pine Script, Two Backtests, Opposite Results — Here's the Exact Bar Where They Diverge

Comments
7 min read
I Ran 1,909 Real Pine Scripts Through a Translator. Here's What Actually Breaks

I Ran 1,909 Real Pine Scripts Through a Translator. Here's What Actually Breaks

Comments
7 min read
I Converted an RSI Mean-Reversion Strategy from Pine Script to Python — and the Exit Bracket Is Where It Gets Tricky

I Converted an RSI Mean-Reversion Strategy from Pine Script to Python — and the Exit Bracket Is Where It Gets Tricky

Comments
6 min read
I Converted a Classic EMA Crossover Strategy from Pine Script to Python — Line by Line

I Converted a Classic EMA Crossover Strategy from Pine Script to Python — Line by Line

Comments
5 min read
I built a Pine Script Python transpiler — and just opened it up for paying users

I built a Pine Script Python transpiler — and just opened it up for paying users

Comments
2 min read
loading...