Send me your BTC 3H strategy idea. I’ll turn 10 of them into Pine Script + backtest them for free

Hey everyone,

I’m testing a Pine Script GPT/API that can generate or fix Pine Script and return structured backtest results:

https://chatgpt.com/g/g-69e705ab3e6081919ce0c92e1f567e5d-pinescript-api

The idea is simple: ChatGPT can write Pine Script, but they often don’t know whether the code actually runs or whether the strategy backtests correctly. This tool is meant to help check that instead of just guessing.

For this test, I’ll take 10 clear strategy ideas and convert them into TradingView Pine Script, then run a backtest on BTC using the 3H timeframe.

Good format:

Entry:
RSI < 30 and price is above EMA200

Exit:
RSI > 60 or price closes below EMA200

Risk:
Stop loss 2%, take profit 4%

Market:
BTC, 3H timeframe

If you have a BTC strategy idea, drop it in the comments. I’ll pick 10 and share the Pine Script + backtest summary.

reddit.com
u/howtiq — 3 hours ago

I found a way to use GPT Actions with a TradingView backtesting API

I found a way to use GPT Actions to run TradingView backtests

share that GPT Aactions

https://chatgpt.com/share/6a4b6909-feb8-83ee-99e4-b2ca8f9eed71

I tested it on a BTC 3-hour EMA regime strategy. The in-sample result looked very strong, but the walk-forward test showed a more realistic picture: it worked well in BTC uptrends, but struggled in bear/choppy markets.

Has anyone else tried using GPT Actions with analytics, trading, or backtesting tools?

u/howtiq — 20 hours ago

BTC 3H EMA regime strategy: +2,803% in-sample, then walk-forward tested

Code & result ChatGPT (pinescript API) share
https://chatgpt.com/share/6a4b6909-feb8-83ee-99e4-b2ca8f9eed71

I backtested an optimized BTC 3-hour EMA regime strategy, then ran a walk-forward test to see if the result held up out-of-sample.

Strategy summary:

- Market: BTCUSD
- Timeframe: 3H
- Direction: long only
- Regime filter: EMA10 > EMA60 > EMA200, price above EMA200, EMA200 rising
- Entry: EMA cross or pullback reclaim of EMA10
- RSI filter: RSI(14) >= 55
- Stop: 2.5x ATR(14)
- Exit: close below EMA85 or EMA10 < EMA60
- Position size: 95% equity
- Commission: 0.1%
- No pyramiding

In-sample result, 2019-01-01 to 2026-07-06:

Metric Result
Net PnL +2,803.26%
Final equity $100k to $2.90M
Max drawdown 26.65%
Profit factor 2.23
Trades 123
Win rate 43.09%

This looked strong, but it was clearly optimized in-sample, so I do not treat the +2,803% as a realistic expectation.

Walk-forward test:

Each fold optimized on a rolling 2-year window, then tested on the next unseen period.

OOS Period Return Max DD PF
2021 +19.56% 21.32% 1.33
2022 -16.34% 16.34% 0.24
2023 +28.32% 13.29% 1.86
2024 +57.94% 9.35% 3.13
2025 +17.55% 6.41% 2.11
2026 YTD -5.68% 8.27% 0.51

My conclusion:

The strategy is partially robust, but not fully robust. It works well during BTC uptrend regimes, but struggles in bear markets or choppy downtrends. The 2022 and 2026 YTD folds are the obvious weak spots.

The main improvement needed is better bear-market defense, maybe a higher-timeframe trend filter, volatility regime filter, or drawdown-based cash mode.

Curious what you would test next. Would you use a weekly EMA filter, volatility filter, cash mode, or something else? you can test more on chatgpt link with 5.5 model

u/howtiq — 23 hours ago

Q-trend Indicator to a backtesting strategy using GPT-5.5

I made this strategy with GPT, based on the Q-Trend indicator.

It can backtest, give feedback on the results, and improve the strategy from there. I think this GPT can do way better when it can backtest, because it can actually understand how its Pine Script performs. I think you guys should try this, since I think it’s free right now. I use the GPT-5.5 model, and the paid version works way better with Thinking Mode.

leave link i used GPT : https://chatgpt.com/g/g-69e705ab3e6081919ce0c92e1f567e5d-pinescript-api

u/howtiq — 3 days ago

I built a Pine Script API that lets ChatGPT run real backtests instead of guessing

ChatGPT is decent at writing Pine Script, but it cannot actually know if a strategy works unless it runs the code.

I built a small GPT/API that takes Pine Script, runs a backtest, and returns structured results like trades, win rate, profit, drawdown, and errors.

The goal is not to promise profitable strategies, but to make AI-assisted Pine development more testable and less hallucinated.

Looking for Pine Script users to break it and give feedback.

you need to use 5.5 model, not free

https://chatgpt.com/g/g-69e705ab3e6081919ce0c92e1f567e5d-pinescript-api

reddit.com
u/howtiq — 8 days ago

I built a Pine Script API that lets ChatGPT run real backtests instead of guessing

ChatGPT is decent at writing Pine Script, but it cannot actually know if a strategy works unless it runs the code.

I built a small GPT/API that takes Pine Script, runs a backtest, and returns structured results like trades, win rate, profit, drawdown, and errors.

The goal is not to promise profitable strategies, but to make AI-assisted Pine development more testable and less hallucinated.

Looking for Pine Script users to break it and give feedback.

you need to use 5.5 high model, not free

https://chatgpt.com/g/g-69e705ab3e6081919ce0c92e1f567e5d-pinescript-api

reddit.com
u/howtiq — 8 days ago

I built a Pine Script API that lets ChatGPT run real backtests instead of guessing

ChatGPT is decent at writing Pine Script, but it cannot actually know if a strategy works unless it runs the code.

I built a small GPT/API that takes Pine Script, runs a backtest, and returns structured results like trades, win rate, profit, drawdown, and errors.

The goal is not to promise profitable strategies, but to make AI-assisted Pine development more testable and less hallucinated.

Looking for Pine Script users to break it and give feedback.

you need to use 5.5 high model, not free

https://preview.redd.it/d7xmakh3a6ah1.png?width=1026&format=png&auto=webp&s=057032d9121fc6575a907c9beb91de84e2eb2397

https://chatgpt.com/g/g-69e705ab3e6081919ce0c92e1f567e5d-pinescript-api

reddit.com
u/howtiq — 8 days ago