Login Page - Create Account

Support Board


Date/Time: Mon, 01 Sep 2025 15:44:46 +0000



[User Discussion] - Automated Trading From an Advanced Custom Study & Estimated Position In Queue Tracking

View Count: 84

[2025-08-26 16:33:03]
swork - Posts: 2
Context:
- I am using an Automated Trading From an Advanced Custom Study (ACSIL)
- Trade -> Chart Trade Settings -> Enable Estimated Position in Queue Tracking -> Yes
- Replay Mode
- I have aconfirmed that when I place manual orders while replaying the EP is accurate.

When placing an order from ACSIL, e.g.

s_SCNewOrder NewOrder;
NewOrder.OrderQuantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_LIMIT;
NewOrder.Price1 = sc.Bid;
sc.BuyEntry(NewOrder);

Issue:
The Estimated Position in Queue is incorrect while replaying and always displays EP:2 no matter where/when it is placed.

Additional Note:
The EP seems to works fine when the Order is placed above/below the current bid/ask, e.g.

s_SCNewOrder NewOrder;
NewOrder.OrderQuantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_LIMIT;
NewOrder.Price1 = sc.Bid - 1 * sc.TickSize;
sc.BuyEntry(NewOrder);

Answer:
I did the following (along with restarting Sierra Chart), I'm not sure which but ones of these fixed my issue.
1. Chart Settings -> Market Depth -> Maximum Market Depth Data Days to Load
2. Global Settings -> Sierra Chart Server Settings -> Support Downloading Historical Market Depth Data
3. Global Settings -> Sierra Chart Server Settings -> Max Historical Market Depth Days to Download
4. Chart -> Reload And Recalculate
Date Time Of Last Edit: 2025-08-27 01:02:47

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

Login

Login Page - Create Account