Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 15:09:29 +0000



Post From: Auto Trade ACSIL: how to enter at bar close

[2013-12-08 21:28:41]
User11748 - Posts: 14
I have removed
&& sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED

And also kept only the code for the "long" trades.

Now, the trade is triggered on the same bar as the one on which the crossover happens. :)
But not at the close of the bar. :(
Apparently at the open +/- 1 tick.

Screenshot: http://content.screencast.com/users/Nicolas98/folders/Jing/media/fb09c213-f96a-49fb-8c3d-b82a635ae5b7/2013-12-08_2226.png

Nicolas
Date Time Of Last Edit: 2013-12-08 21:54:54