Login Page - Create Account

Support Board


Date/Time: Fri, 22 Nov 2024 22:51:43 +0000



Post From: ACSIL function to read Trade Window values and Default Order Quantity

[2024-03-03 13:34:21]
User601931 - Posts: 11
This would be helpful to have a function which can see the values in the trade window for attached orders.

Example: I'm using "Trade Window Strategy A", but if there is a strong trend, I want to reduce the stop offset by 25% when I submit orders from ACSIL. The determination of "strong trend" is in the ACSIL code based on another indicator. I want the ACSIL code fairly generic and do not want to hard code every strategy. So, I want to read the UI values, then adjust them if necessary programmatically before submitting the orders.