Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 22:47:56 +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 - 471 views
attachmentFlattenAndCancel.cpp - Attached On 2014-10-08 18:29:18 UTC - Size: 1.13 KB - 498 views