#include <Color>
#include <TIlib>

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

Volume_draw($Blue)

if !$MA1
    $MA1 = VolumeMA_new(13)
    $MA2 = VolumeMA_new(26)
else
    VolumeMA_next($MA1)
    VolumeMA_draw($MA1, $Colors[0])
    VolumeMA_next($MA2)
    VolumeMA_draw($MA2, $Colors[1])
end
