Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 03:28:38 +0000



Post From: Prevent spreadsheet trading if there was already an order in the present bar

[2013-09-19 12:48:08]
Sawtooth - Posts: 3976
Since the bar timestamp is the bar open, you can compare A3 to J42 in J28:

=J42>=A3

When this is TRUE, it will disable autotrading.

If you want to require that it also must be closed in the same bar:

=AND(J42>=A3,J43>=A3)