Support Board
Date/Time: Sun, 24 Nov 2024 03:47:50 +0000
Prevent spreadsheet trading if there was already an order in the present bar
View Count: 1409
[2013-09-19 04:47:38] |
toews&kane - Posts: 209 |
Hi, Is there a way to look at the present bar if there was already a trade that was placed in the bar and was closed out. Don't go in again even if there's an entry signal? |
[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) |
[2013-09-19 17:39:09] |
Sierra Chart Engineering - Posts: 104368 |
Set Signal Only Once Per Bar to Yes in the Study Settings window for the Spreadsheet System for Trading study. For more information, refer to the documentation here: https://www.sierrachart.com/index.php?l=doc/doc_SystemsAlerts.php#OncePerBar Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: