Support Board
Date/Time: Wed, 27 Nov 2024 18:48:01 +0000
Post From: Signal Once per bar on exit only
[2023-07-19 21:07:23] |
User104854 - Posts: 456 |
I'm using the spreadsheet study for trading. If a buy exit is triggered in cell 'L1' I want to it trigger only once. I use the attached orders so I'll enter a position with 4 contracts with 1 target and 1 stop, I use the Buy Exit to set a target to scale out with 2 contracts. I'm using cells J82 and J83 to set the amount at 2 but when the exit is triggered it is placing 2 sets of orders with 2 contracts each for a total of 4 which is not what I want. I only want it to trigger once and put 1 order out for 2 contracts. If I use the 'signal only once per bar' does that apply to entries and exits? Is there a way to use this for exits only? I may enter more than once on the same bar. Let me know how I can accomplish this. It seems like it should be pretty simple. Please advise. Thank you. Alternatively, if there's no way around having the system place more orders than I want, if it does put out 4 orders instead of 2, is there a way to automatically cancel 2 of them? Date Time Of Last Edit: 2023-07-19 21:40:54
|