I try various way but I cannot find solution.
I need to synchronize my strategy with Computer Clock.
I use DataTime.Now and it work fine but I have 2 questions:
1: When there is no Tick Variation the strategy do not work. Example if I need "do something" at 15:30:00 and there is no price (Tick) variation the strategy do not work.
Is possible to solve it, is possible to do something although no tick movement?
2: DateTime.Now give Data+ Hour ... how can i get only hour, minutes, second from Pc Clock please? The same of (ToTime(Time[0]) but getting Pc Clock?
Many thanks!
Comment