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

[amibroker] Generating Unqiue Alert IDs using datetime functions



PureBytes Links

Trading Reference Links

Hello,

I would like to add a unique ID for every alert generated by using a combination of the datetime function and the symbol name.

Alert_UniqueID = DateTimeToStr(DateTime())+name();
Example: 092320061040EURJPY   ( 09/23/2006 10:40AM Symbol EURJPY)

But the above doesn't work. Appreciate if anyone can point me in the right direction. Thanks.

Cheers,Padhu