Login Page - Create Account

Support Board


Date/Time: Tue, 06 May 2025 23:03:59 +0000



Post From: Programming help with setting the Trade Window Order Quantity in ASCIL

[2024-12-09 00:20:21]
User61168 - Posts: 442
I meant by switching study collections with a timer. I haven't tried it.
not sure if this is really what I need.

Yes, disconnecting the sub-instance would work.
Disconnecting the data feed at the sub-instance level should be fine as long as it disconnects only from the sub-instance where the chart is running from and not all sub-instances. This design would force me to run one chart per sub-instance which is good compromise.

you could possibly switch between a specified collection and blank collection
- Yes. This is a good option to conditionally switch to blank collection but it will also require conditionally toggling from blank to my custom collection at session open. Hopefully, setting the collection at every tick would not cause CPU overhead.


you can set text tag in the trade window
Thinking further, what I really need is a automatic setting of "Order Text Tag Ln:24" field in the SC delivered "trading system based on alert condition" study. Please see screenshot attached. Is this possible? I can manually enter the study collection name in the "tag text" field available in trade ticket>Set" tab. I want this to be automatically set to study collection name (whichever collection I am using on the chart). p.s. this is mostly to tie my 100+ SIM accounts to easily reference the version of collection I used (instead of manually maintaining this collection/sim account mapping in excel)

No way of pausing a collection. Only thing I can think here is changing the chart update interval via ACSIL
This might work Here are the specific use cases 1) conditionally setting chart's CUI setting to 1000ms (one second) after an economic release before algo triggers a trade (to prevent slippage etc) 2) Once my daily profit/loss is met, conditionally set CUI to 1000x60x60 to run every hour until session close 3) if set to 0 (or some number like 99999999), then use whatever I have manually set in my Chart's CUI setting.
Date Time Of Last Edit: 2024-12-09 00:34:26
imageScreenshot 2024-12-08 161426.png / V - Attached On 2024-12-09 00:14:59 UTC - Size: 55.79 KB - 32 views