Support Board
Date/Time: Fri, 31 Jan 2025 14:50:53 +0000
Post From: How to automatically flatten all positions before a specified time (i.e. market close)?
[2016-11-19 02:27:49] |
bjohnson777 (Brett Johnson) - Posts: 284 |
You can give my Multi-Function Trailing Stop a try. I added exit functions based on time and end of trading week. You can give the main trailing stop a large number to get it out of the way if you don't want to use it. The others can be disabled by giving them a 0 value in Settings. If you do complex and multiple orders in the same chart at the same time, it isn't appropriate, though. Keeping track of those programatically is incredibly difficult. If you do use it, keep a close eye on it the first few times to make sure it behaves as expected. My main consolidation DLL: Offering To The Community: Brett Johnson's Standard Tool Kit (Just to be clear, I'm an independent programmer, not SC support. They'll be along eventually. I can't remember if there's a non-ACSIL time function... but maybe in a spreadsheet trade.) Date Time Of Last Edit: 2016-11-19 02:33:12
|