Professional Documents
Culture Documents
Script Profit PDF
Script Profit PDF
Script Profit PDF
numa : integer;
begin
if (BuyPosition=0) then
begin
numa:=-1;
and(close<open) then
BuyAtMarket;
end;
if (BuyPosition=1) then
begin
numa:=numa+1;
//Alvo
SellToCoverStop((((high[numa]-low[numa])*1.3)+ close[numa])+100,
(((high[numa]-low[numa])*1.3)+ close[numa]));
//Stop
SellToCoverStop((abs(((high[numa]-low[numa])*1.3)- close[numa])),
(abs(((high[numa]-low[numa])*1.3)- close[numa])));
end;
end;