I would like to start a download from inside a strategy / indicator based on a specific time from the local machine. Is there any possibility to do this outside the:
protected override void OnBarUpdate()
{
}
method? I don´t want to wait for a bar update event.
Perhaps:
DateTime localMachineTime = DateTime.Now;
DateTime executeDateTime = new DateTime(2018, 08, 13, 18, 00, 0);
if (localMachineTime == executeDateTime)
{
do something....
}
Thanks for your help
Michael
Comment