Looking for any code (text) for scanner

I am trying to use scanner.

But the text of my code which is successfully used in back testing does not work in scanner.

I have manually typed the code in scanner but still it gives me an error and text is merged with each other (even if it is not a copy paste).

Can someone share any code used in scanner successfully. The code should be running in 2-3 lines at least.

After trying such text (code) successfully, I can believe that this scanner really works and then I can find out ways (at my own) to get my strategy or coding working on scanner.

you can give spaces and make sure all the script code properly formatted line by line, it works fine in scanner