rookie2004
I am not sure but I don't think there is a way for efs to retrieve the timestamp of a trade.
You can try the enclosed efs which will print (to the right of the last bar) the system time when a tick occurs. As long as you do not reload the efs that should be the time of the last trade.
Alex
PHP Code:
function preMain() {
setPriceStudy(true);
setStudyTitle("TimeStamp");
setShowCursorLabel(false);
}
function main() {
var today = new Date();
var timestamp = today.getHours();
timestamp +=":"+today.getMinutes();
timestamp +=":"+today.getSeconds();
Comment