Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 12:06:09 +0000



Post From: Limit Touch Chase triggering before the touch

[2019-07-28 23:46:05]
Sierra Chart Engineering - Posts: 104368
It definitely works properly for us testing under 1960. Although we would expect 1957 to work fine as well. Here is an example order entry code:

    s_SCNewOrder NewOrder;
    NewOrder.OrderQuantity = 2;
    //NewOrder.OrderType = SCT_ORDERTYPE_TRIGGERED_LIMIT;
    NewOrder.OrderType = SCT_ORDERTYPE_TRIGGERED_LIMIT_WITH_CHASE;
    NewOrder.MaximumChaseAsPrice = 5 * sc.TickSize;
    NewOrder.Price1 = sc.Close[sc.ArraySize - 1] + sc.TickSize * 10;// Limit price
    NewOrder.Price2 = sc.Close[sc.ArraySize - 1] + sc.TickSize * 20;// Stop price
    NewOrder.TimeInForce = SCT_TIF_GOOD_TILL_CANCELED;
    int Result = (int)sc.BuyEntry(NewOrder);

The order was submitted, the stop price got triggered, and the limit chased the market.

However, reading what you wrote above, we think that still this is not exactly what you want. The behavior of this order type is going to be like the Triggered Limit Order entry study.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-07-28 23:48:49