title: Pine Script If statement strange behavior
body: <p>running this code ignores the If statement and do not update the a. Thanks for your time.</p>
  <pre><code>//@version=5
  indicator(&quot;My script&quot;)
  
  
  a = 12
  b = 20
  c = 30
  
  if(close &gt; open + a)
      b := 30
      a := 15
  
  plot(a)
  </code></pre>