// // this code sets time variable to 12:30 GMT, tomorrow // time = new GregorianCalendar(); // time.setTimeZone(TimeZone.getTimeZone("GMT")); // time zone GMT // // time.setTimeInMillis(history.getLastTick(Instrument.EURUSD).getTime()); // set time to last tick // // time.add(Calendar.DATE, 1); // add one day to the time // // time.set(Calendar.HOUR_OF_DAY, 12); // set hours // time.set(Calendar.MINUTE, 30); // set minutes // // console.getOut().println(toStr(time.getTimeInMillis()));
}
public void onTick(Instrument instrument, ITick tick) throws JFException { if (instrument != Instrument.EURUSD) { return; }
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.