The opinions expressed in these forums do not represent those of C2, and any discussion of profit/loss is not indicative of future performance or success. There is a substantial risk of loss in trading. You should therefore carefully consider whether such trading is suitable for you in light of your financial condition. You should read, understand, and consider the Risk Disclosure Statement that is provided by your broker before you consider trading. Most people who trade lose money.

DateTimeAdd help


Anyone know how to use DateTimeAdd? I just want to add one day to the date of the current bar. I have this:

      date = GetDateNum();   
      nextDate = DateTimeAdd(date,1,inDaily);


And I get the results shown in the screenshot.

Back to C2 Platform