#include <Color>
#include <TIlib>

$Names[0] = "MA(13)"
$Colors[0] = $Red
$Names[1] = "MA(26)"
$Colors[1] = $Green

Candle_draw($White, $Blue)

if ! $MA13
    $MA13 = MA_new(13)
else
    MA_next($MA13)
    MA_draw($MA13, $Colors[0])
end

if ! $MA26
    $MA26 = MA_new(26)
else
    MA_next($MA26)
    MA_draw($MA26, $Colors[1])
end
