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

Re: easy language question



PureBytes Links

Trading Reference Links

Hello  anatop,

with  what  omega  has built in you can only do it down to the minute.
take  the  example  i  gave for the guy who wanted to be alerted only
every so many minutes on an indicator.

at  least  it  will  now only beep once per so many minutes.

=============================
input:tyme(5);
var:nextyme(0);

if d>d[1]then nextyme=timetominutes(Sess1FirstBarTime)+tyme;
if timetominutes(t)>=nextyme then begin 
nextyme=nextyme+tyme;

"whatever you want here"

 end;
=============================


a> Hi 
 
a> Does anybody know how to programe a time delay (approx. 5 sec.)
a> on a buy or sell order in a system.
 
a> Best regards
 
a> hp



--

Have a Great Day, Mark

http://www.markbrown.com