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

Time of the day



PureBytes Links

Trading Reference Links

If I use the following EL code ("If date>date[1] then Zeit = time;"), I get
exactly what i want in the print log - the time of the first bar of the day.
Since I do not want my system to take the signals on the first bar i add the
following line ("If time > Zeit+BarInterval then begin").

Well, the system is taking the signals on the first bar of the day!

Any ideas?


Volker

Vars: Zeit(0);
If date>date[1] then Zeit = time;
If time > Zeit+BarInterval then begin