[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cRaZy



PureBytes Links

Trading Reference Links

This is driving me nuts! It seems so simple but I'm obviously doing 
something wrong. Would much appreciate a pointer or a whack over the 
head with a stick!

I'm using 5 min bars and simply trying to sell an opening gap and cover 
at the close of the previous day. Here's the code:

vars: stop1(0);
if date>date[1] and open>close[1] then begin
   sell this bar at close;
   stop1=close[1];
end;
exitshort at stop1 stop;


Ian