require "Color"
require "TIlib"

$Names[0] = "RSI(14)"
$Colors[0] = $Blue

if !$RSI14
    $RSI14 = RSI_new(14, 1)
else
    RSI_next($RSI14)
    RSI_draw($RSI14, $Colors[0])
end
Indicator(0, $RSI14[1])
