Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 14:35:56 +0000



[Programming Help] - Trade Window Config File Name NOT Recognized by Advanced Custom Study

View Count: 280

[2023-02-07 13:48:48]
User286186 - Posts: 22
Hello,

Following the instructions here

- Automated Trading Management: SupportAttachedOrdersForTrading
- Basic Trading and the Trade Window: Using and Changing Between Different Trade Window and Attached Orders Configurations
- ACSIL Interface Members - Variables and Arrays: sc.TradeWindowConfigFileName

I have implemented the following :

- I saved a twconfig named "TTS_BOT.twconfig";
- the variable sc.SupportAttachedOrdersForTrading = Input_AttachedOrders.GetYesNo(); with the input set to true
- the line sc.TradeWindowConfigFileName = "TTS_BOT.twconfig";

According to the above linked instructions, this should be enough for my trading system in order to recognize that the orders have to be implemented with the desired TW config.

Unfortunately, this config is not recognized and the orders are implemented with some default-like configuration (10 ticks stop- 10 ticks target).

I read all the possible documentations related to the subject, but I cannot see what could be the missing feature in order to make it recognize my tw config...


Full sources :
Automated Trading Management: SupportAttachedOrdersForTrading
Basic Trading and the Trade Window: Using and Changing Between Different Trade Window and Attached Orders Configurations
ACSIL Interface Members - Variables and Arrays: sc.TradeWindowConfigFileName

Thanks for your help.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account