Login Page - Create Account

Support Board


Date/Time: Sat, 28 Dec 2024 09:53:24 +0000



Post From: ACSIL - modify Trail and Trigger offsets for Triggered Trail Stop

[2016-02-19 20:17:40]
rhovega - Posts: 279
As per documentation here: http://www.sierrachart.com/index.php?page=doc/doc_ACSILTrading.html#Price1 I understand that the following should create a new OCO bracket, with a limit at 32 and a stop at 30. But it doesn't. Neither does replacing Price1 and Price2 by Target1Price and Stop1Price.

s_SCNewOrder NewOrder;
NewOrder.OCOGroup1Quantity = 1;
NewOrder.OrderType = SCT_ORDERTYPE_OCO_LIMIT_STOP;
NewOrder.TimeInForce = SCT_TIF_GTC;
NewOrder.Price1= 32;
NewOrder.Price2= 30;