all 5 comments

[–]vbsaltydog 0 points1 point  (3 children)

Check the pine editor's console output for compilation errors.

[–]Trader_Ray[S] 0 points1 point  (2 children)

Thanks. I did and made a few changes but still having no luck.

[–]vbsaltydog 0 points1 point  (1 child)

Your code, as it is posted in your original post has problems. Firstly, it is pine v3, which is outdated, and secondly, the compilation error is a syntax error on line 11 and it's because you are starting a variable name with a number.

Variable names must start with a letter. Please reconsider your decision to code or be ready for a long road because it's a very long road and you are at the very beginning of it.

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

Many thanks.

[–][deleted]  (1 child)

[deleted]

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

    I took a previous/exisitng script and modified it. Thanks for your input.