require "Color"
require "TIlib"

$Names[0] = "High(40)"
$Colors[0] = $Red
$Names[1] = "Low(40)"
$Colors[1] = $Blue
$Names[2] = "Mid(40)"
$Colors[2] = $Green

Candle_draw($White, $Blue)
if !$HLB
    $HLB = HLBand_new(40)
else
    HLBand_next($HLB)
    HLBand_draw($HLB, $Colors[0], $Colors[1], $Colors[2])
end
Indicator(0, $HLB[1])
Indicator(1, $HLB[3])
Indicator(2, $HLB[5])
