Login Page - Create Account

Support Board


Date/Time: Mon, 28 Oct 2024 11:20:22 +0000



Post From: Alerts Log

[2015-07-14 12:47:08]
Hendrixon - Posts: 130
"This was a lot of work to add."
Thanks for doing this. I assumed it would be just a single line change (from current datetime to bar datetime).

Anyway, I tried sc.AddAlertLineWithDateTime before the weekend in version 1268 and it gave me a historical date of 1899 or something like that (writing from memory). every time I tried to jump to the alert location my chart scrolled back to its start, which I guess is the nearest date to that 1899 date.
sc.AddAlertLineWithDateTime("Condition is TRUE", 0, sc.BaseDateTimeIn[sc.Index]);
Today I wanted to replicate this and post about it here. it still doesn't work (version 1269), though this time I see in the log "Alert Date-Time: 00:00:00".
Its the same outcome whether I press the Insert key to recalculate or run a back test.

* Edit: tried this again in version 1268 and got "Alert Date-Time: 00:00:00" here as well.
Date Time Of Last Edit: 2015-07-14 12:49:03