title: How to get hourly RSI from different chart in TradingView Pine Script?
body: <p>I'm writing a strategy on coin A at a 1min resolution. Now I need to get the hourly RSI on coin B.</p>
  
  <p>I've tried:</p>
  
  <pre><code>btcusdtHour = security("BITTREX:BTCUSDT", "60", close)
  plot(rsi(btcusdtHour, 14))
  </code></pre>
  
  <p>But this doesn't give the results I expected: I end up with an RSI that bounces from near 0 to 100 repeatedly. What am I missing?</p>