title: Pine Script "strategy.position_size" is delayed by a candle
body: <p>The function --strategy.position_size-- is not updated to the order.
  In this code I will have the position_size +1/-1, but change the candle after my order.
  Offset=1 to view the position value.
  Is there a way to keep the position updated?</p>
  <pre><code>//@version=4
  strategy(&quot;RSI Strategy&quot;, overlay=true, process_orders_on_close=true)
  
  length = input( 3 )
  overSold = input( 40 )
  overBought = input( 60 )
  price = close
  vrsi = rsi(price, length)
  co = crossover(vrsi, overSold)
  cu = crossunder(vrsi, overBought)
  if (not na(vrsi))
      if (co)
          strategy.entry(&quot;RsiLE&quot;, strategy.long, comment=&quot;RsiLE&quot;)
      if (cu)
          strategy.entry(&quot;RsiSE&quot;, strategy.short, comment=&quot;RsiSE&quot;)
          
          
  plot(strategy.position_size, title=&quot;position&quot;, color=color.red, linewidth=2, style=plot.style_linebr, offset=1)
  </code></pre>