Script Profit PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

var

numa : integer;

begin

if (BuyPosition=0) then

begin

numa:=-1;

if (RSI(2, 0)<= 10)

and(open > HiloActivator(70))

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;

You might also like