Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 09:12:46 +0000



Post From: Flatten trades at specific time - Market Replay

[2024-09-08 22:31:23]
User509533 - Posts: 57
Thank you for your assistance! However, the issue persists— the trade is still not flattening after 3 PM CST during the back-test. I'm unsure what the correct alert condition would be in this case. Additionally, the condition ID7.SG1<>0 is returning an error.


Hi,

Add the study mentioned here>>> Trading System Based on Alert Condition

The SC document is not updated. This study now supports buy entry, but exit, sell entry, sell exit AND FLATTEN. Select Flatten, specify what time duration you want to flatten and that’s about all that is required.simple and elegant one simple alert study to code all the flatten/closeAll needs.

imagetsba.jpg / V - Attached On 2024-09-08 22:12:41 UTC - Size: 3.35 MB - 37 views