require "Color"
require "TIlib"

$Names[0] = "K(14)"
$Colors[0] = $Red
$Names[1] = "D(14,3)"
$Colors[1] = $Green

if !$ST
    $ST = Stoch_new(14, 3, 3)
else
    Stoch_next($ST)
    Stoch_draw($ST, $Colors[0], $Colors[1], null)
end
Indicator(0, $ST[1])
Indicator(1, $ST[3])
