Support Board
Date/Time: Sun, 24 Nov 2024 17:06:01 +0000
Post From: Spreadsheet Trading // Resolving edge case around entry immediately after a stop exit
[2024-05-19 02:41:34] |
User203400 - Posts: 1 |
Hello, I'm using spreadsheet trading, and everything is working like I expect except for one edge case. Some background: I'm only using the spreadsheet columns for long entry and short entry, and I'm handling closing trades through the "use attached orders" options (for a stop and profit target). The "Alert/Signal Only Once per Bar" and "Signal Only on Bar Close" options are both set to yes/true. I'm using 5 minute bars. Here's the scenario that I need help with: Let's assume I'm in a short position (it could just as easily be a long position, it doesn't matter) and it get closed via my attached stop loss about 2.5 minutes into my 5 minute bar (so not at all near the close of the previous bar). However, the previous bar that closed satisfied my "long entry" criteria so even though I'm mid-way through a new bar, as soon as my position is closed out by the stop order, my system enters into a long position . . . I would prefer that it waited until the ongoing bar closed instead of just looking at the row 4 "long entry" criteria (which I think is related to my configuration of the "signal only on bar close" setting. Is there a way to solve this? Thanks! |