Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 08:16:22 +0000



Post From: GET LOWEST OF A BAR

[2016-09-29 18:26:55]
Sierra Chart Engineering - Posts: 104368
You need to use:
float BarLow = sc.Low[sc.Index];


But to use this value in an stop order I have to convert the float value into a SCFLoat Array or an Subgraph extra array right?
Why do you need to do this? It makes no sense to us.

Here is an example:
    s_SCNewOrder NewOrder;
    NewOrder.OrderQuantity = 1;
    NewOrder.OrderType = SCT_ORDERTYPE_STOP;
    NewOrder.TimeInForce = SCT_TIF_DAY;
    NewOrder.Price1 = BarLow;

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: 2016-09-29 18:30:24