How can i get the DateTime from the current bar [0]?
it wont work like this:
"var date1 = new DateTime();
date1 = Time[0];
Print(date1);
"
Also while compiling there is no error. Only when i backtest the strategy there comes an error like that:
"The object reference was not set to an object instance"
Thanks for your help
Felix
Comment