Support Board
Date/Time: Mon, 27 Oct 2025 23:27:05 +0000
Post From: Prevent spreadsheet trading if there was already an order in the present bar
| [2013-09-19 12:48:08] |
| Sawtooth - Posts: 4280 |
|
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) |
