Professional Documents
Culture Documents
MACD Algoritimo Pra Estudos
MACD Algoritimo Pra Estudos
periodo1(9);
periodo2(1);
media_rapida(12);
media_lenta(26);
sinal(7);
var
sFast,sSlow,sTrigger,sMACD,data : Float;
a,b,c,d : Float;
begin
begin
begin
plot(b);
If (a > b) then
Plot (b)
else
Plot2 (b);
Plot3 (c);
Plot4 (d);
if (b > a) then
PaintBar(cllime)
else
PaintBar(clred);
end;
end;
end;
end;