require "Color"
require "TIlib"

$Names[0] = "RCI(5)"
$Colors[0] = $Red
$Names[1] = "RCI(10)"
$Colors[1] = $Green

if !$RCI5
    $RCI5 = RCI_new(5)
else
    RCI_next($RCI5)
    RCI_draw($RCI5, $Colors[0])
end
Indicator(0, $RCI5[1])

if !$RCI10
    $RCI10 = RCI_new(10)
else
    RCI_next($RCI10)
    RCI_draw($RCI10, $Colors[1])
end
Indicator(1, $RCI10[1])
