export const generatePineScriptV6 = (config: any) => { no viable alternative at…
- User
export const generatePineScriptV6 = (config: any) => {
no viable alternative at character "{"(CE10005)
Still not fixed..
Assistant
I see the issue now. The user is somehow seeing the TypeScript source code in the UI instead of the generated Pine Script output. This means the template string in
generatePineScriptV6.tsis likely broken or incomplete. Let me verify the file and completely rewrite the generator to ensure the template string is valid and properly closed.I think I understand the issue now. You are accidentally copying the JavaScript source code from the web app instead of the generated Pine Script.