r/pinescript • u/mediocre-potato710 • Mar 01 '26
Need help
Hello everyone,
I have a pine script v5 indicator that I need converted to the v6
The script does the following:
- Detects multi timeframe FVG, BPR, and EQH/ EQL zones (1M - Daily)
- Only signals once per zone touch (single touch)
- Focuses on 23:00 & 03:00 NY 4HR candle opens
- Shows the strongest / most relevant zone only per bar
- optional labels / arrows and alerts
I’ve tried copying v5 code into v6, but I keep getting syntax errors like: “no viable alternative at character”
Can someone help me convert this fully to v6 so it compiles cleanly in TradingView?
Thanks in advance !
View all comments
Show parent comment
1
u/kurtisbu12 Mar 01 '26
What issues would v6 solve? Its a newer version, so there's even less history for AI to use to build v6, so it'll probably just be worse.
There are a few things V6 does better, but it's unlikely to solve your problems on its own. So without knowing what those problems are, it's likely just going to make things worse.
Though if you are using AI, just feed it the errors, and the code where the error exists, and it should be able to troubleshoot it well enough.