how to add days

 

Hi all,

I am coding trendline:

ObjectCreate("MyTrendLine", OBJ_TREND, 0, Monday, price, Friday, price)

Say today is Monday and I use TimeCurrent() for first "Monday" as parameter, then I want to add 4 days as "Friday" parameter. Is there any function can use to add days from TimeCurrent() please? Thanks.

 

Let me eleborate a bit more...

Let say today is Dec 30, 2008 and this is the Monday, then how can I add 4 days and the Friday will be Jan 3, 2009 please? Thanks.

Reason: