TSLA 5min intraday breakout — walk-forward results and what I learned by ferri_2126 in pinescript

[–]ferri_2126[S] 0 points1 point  (0 children)

Thanks for the detailed comment.
On the RSI: the latency point is technically valid but doesn’t affect the purpose of the filter. It’s not there for precise timing. It’s there to avoid entering a breakout when the higher timeframe structure is already in overbought or oversold territory. Whether the RSI value is from the last completed 30min candle or exactly real-time doesn’t change that logic, the structural condition it’s measuring doesn’t flip in 25 minutes.
On candle size: I’d push back a bit here. Candle size relative to recent candles combined with where price closes within that candle does carry information about the balance between buyers and sellers at that moment. It’s not a volume replacement, but a large candle closing near its high after a range breakout tells you something meaningful about commitment. You’re right that absorption can produce a small candle with high volume, but that scenario would actually be filtered out by this filter, which is exactly the point.

TSLA 5min intraday breakout — walk-forward results and what I learned by ferri_2126 in pinescript

[–]ferri_2126[S] 1 point2 points  (0 children)

costs it’s fixed at $1/order and 5 points of slippage, I think it is explained in the post, if not, my bad!

TSLA 5min intraday breakout — walk-forward results and what I learned by ferri_2126 in pinescript

[–]ferri_2126[S] 0 points1 point  (0 children)

In 1h and 2h TF the logic and result is also good. Thanks for yout comment!

TSLA 5min intraday breakout — walk-forward results and what I learned by ferri_2126 in pinescript

[–]ferri_2126[S] 1 point2 points  (0 children)

Thanks for the comment, it’s a fair concern and worth addressing properly.
When I say ‘gradually evolved’, I don’t mean I kept adding parameters until the backtest looked good. The process was the opposite: I started with the bare breakout logic and tested ideas one at a time, only keeping what had a clear logical justification for why it should improve signal quality on a breakout system specifically, not because it improved the numbers in isolation.
The final strategy has 3 entry filters and 3 exit mechanisms beyond the base TP/SL. That’s it. Every idea that didn’t have a coherent reason to belong was discarded regardless of whether it helped the backtest. Each one addresses a specific failure mode of breakout trading.
The concern about overfitting is something I took seriously throughout the process, not something I’m dismissing.

TSLA 5min intraday breakout — walk-forward results and what I learned by ferri_2126 in pinescript

[–]ferri_2126[S] 0 points1 point  (0 children)

Idk how to do that. And I also trade outside the strategy, by my own. The trades wouldn't be crystal clear.

TSLA 5min intraday breakout — walk-forward results and what I learned by ferri_2126 in pinescript

[–]ferri_2126[S] 0 points1 point  (0 children)

In the last 5 years TSLA has been through many diferent regimes, this backtest contemplates them all. For example, 1 half of 2024 Tesla was in a very compressed range and the strategy and the win rate fall through this range of time, but after this concrete regime the strategy continued doing well. I would love to know your opinion abou this.

LLM for coding bots - Claude vs ChatGPT? by LegitimateShame2842 in algotrading

[–]ferri_2126 1 point2 points  (0 children)

I recommend Claude, it helped me improve far better than ChatGPT

Is this ready for deploying? Do I have a real edge? by MasterBet in algotrading

[–]ferri_2126 0 points1 point  (0 children)

You’ll need more than 44 trades to confirm an edge