PureBytes Links
Trading Reference Links
|
Hello Steve,
You can try this wrapper and see if it works, I didn't verify it
sorry. tyme should prevent it from occurring during the same minute.
set tyme to what you want 1 for one minute and 5 for five minutes etc.
-----------------
input:tyme(1);
var:nextyme(0);
if d>d[1]then nextyme=timetominutes(Sess1FirstBarTime)+tyme;
if timetominutes(t)>=nextyme then begin
nextyme=nextyme+tyme;
IF D=CURRENTDATE Then Begin
{Place your code here}
end;
|