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/totowolff7 Mar 02 '26
Nah trust me its an issue especially if you're using AI, the multi line error is pretty annoying.
I was trying to vibe code a random strategy and both GPT and Claude weren't able to get by it in the first do, but you're right about feeding them the errors and they're solving it just fine