Hi everyone,
I am trying to setup my long and short signals in probuilder and I found someone had already done this. It looks to me like I have copied the text completely correct however the builder tells me differently. Can anyone see why its erroring?
Appreciate any clues or responses thanks guys
At line 7 it should read ELSIF (not ElseIf).
At line 9 there’s a missing closing parenthesis “)” just before COLOURED.
Dam I stared at that for ages. I knew some codey person would pick it up easy. SO many thankyous 🙂
Hi Roberto,
It is no longer showing errors however I am getting a blank indicator panel. Do you see any issues with the strategy of the code?
cheers
Lee
The code is fine, I think it’s the settings that are too strict, you can try with different numbers, say 2 to 21 for the lookback period or any number between 2 and 90 for the average.
It hast to work.
mechanicaltrade – Welcome to the forums.
Can you please use the insert PRT code button when putting code in your posts rather than attaching a screen shot. Others can then easily copy and paste your code and test it for you. Expecting them to type it all in from a screenshot is asking rather a lot! 🙂