Você está na página 1de 1

//////////////////////Código para Estratégia de Execução - PFR + Estocástico Lento - Compra e

venda //////////////////

begin
Se (Fechamento > Fechamento[1]) e (lowest(Low,2) < lowest(Low,2)[1]) e
(SlowStochastic(8)<20) then
BuyAtMarket;
Se (SlowStochastic(8) >80) then
SellToCoverAtMarket;

Se (Fechamento < Fechamento[1]) e (highest(high,2) > highest(High,2)[1]) e


(Slowstochastic(8)>80) then
SellShortAtMarket;
Se (SlowStochastic(8) <20) then
BuyToCoverAtMarket;
end;
end;

Você também pode gostar