Linus
I do not know what you mean by code specific.
Anyhow, if you want to close a trade at the end of every day you need to make sure that in the chart there is a bar with the time stamp you use in the efs.
If you use a 2 min chart for example you cannot set a trade closing time for 1553 because there will be no bar on the chart that has that time stamp hence the trade will not be closed at the end of the day.
As to 1600 I did not say it cannot be used. However IF the Time Template ends at 1600 it cannot be used because in that case the last bar will not be time stamped 1600.
Hope this helps
Alex
I do not know what you mean by code specific.
Anyhow, if you want to close a trade at the end of every day you need to make sure that in the chart there is a bar with the time stamp you use in the efs.
If you use a 2 min chart for example you cannot set a trade closing time for 1553 because there will be no bar on the chart that has that time stamp hence the trade will not be closed at the end of the day.
As to 1600 I did not say it cannot be used. However IF the Time Template ends at 1600 it cannot be used because in that case the last bar will not be time stamped 1600.
Hope this helps
Alex
Comment