Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 07:14:39 +0000



Post From: exit trade at close of bar

[2014-10-08 18:30:15]
vegasfoster - Posts: 444
This will simply flatten and/or cancel any open orders on bar close as desired. You need to test this thoroughly before going live and note that I have never actually used an automated trading system to send live orders, so you will need to thoroughly validate that this works correctly.
attachmentFlattenAndCancel.dll - Attached On 2014-10-08 18:29:07 UTC - Size: 13.5 KB - 349 views
attachmentFlattenAndCancel.cpp - Attached On 2014-10-08 18:29:18 UTC - Size: 1.13 KB - 380 views