-2

I am having trouble telling the pine script to restart from the beginning. Here's what I hope to do: if a condition is false, then the script runs again to check if it is true. If and when it is true, the script moves on to check the next condition. It is my intention to create several conditions that the script checks, and only when all of them are true, then the script alerts me of a buy signal. May I ask what your advise to me would be, please?

1 Answers1

0

You can't trigger re-execution of a script from within. See the usrman for conditions that trigger the re-execution of a script.

PineCoders-LucF
  • 8,288
  • 2
  • 12
  • 21