Support Board
Date/Time: Sun, 24 Nov 2024 05:50:51 +0000
Post From: Prevent spreadsheet trading if there was already an order in the present bar
[2013-09-19 12:48:08] |
Sawtooth - Posts: 4118 |
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) |