people with nt,
i have been collaborating on a system to trade individual stock options automated. this system is almost finished and at the moment i am testing rolling positions over.
to this end i need to create a variable (or variables) that will take the time at the close of the current bar only, add two minutes to this time and then return this new time as a string in HH:mm format.
from other indicators i have created for nt i have this code below but i don't know if this will return the time in the desired HH:mm format and how could i add 2 minutes to this time.
= string.Format(@"{0}", DateTime.Now.ToString("HH:mm"));
i will greatly appreciate your assistance, i think this should be a really elementary piece of code to put together for advanced developers.
very well, regards.
Comment