Support Board
Date/Time: Sat, 11 Jan 2025 17:51:26 +0000
Unable to set "Step amount" through ACSIL for Triggered step trail stop method
View Count: 872
[2016-12-24 16:55:54] |
FerroTrader - Posts: 70 |
Hello, I am trying to use Step amount through ACSIL - but doesn't seem to work properly. I don't see the parameter not getting reflected in TradeWindow parameters (as in the image here attached). Here attached, the code used to find this bug (there are lots of comments within the code). s_SCNewOrder NewOrder; NewOrder.Reset(); NewOrder.OrderQuantity = 1; NewOrder.Price1 = sc.Close[sc.Index]; NewOrder.OrderType = SCT_ORDERTYPE_MARKET; NewOrder.AttachedOrderStopAllType = SCT_ORDERTYPE_TRIGGERED_STEP_TRAILING_STOP; NewOrder.Target1Offset = 15 * sc.TickSize; NewOrder.Stop1Offset = 10 * sc.TickSize; NewOrder.StopAllOffset = 10 * sc.TickSize; //Trail Offset - Set Correctly in TradeWindow Parameters NewOrder.TriggeredTrailStopTrailPriceOffset = 5 * sc.TickSize; //Trigger Offset - Set Correctly in TradeWindow Parameters NewOrder.TriggeredTrailStopTriggerPriceOffset = 3 * sc.TickSize; //Step Amount - This DOESN't get Set Correctly in TradeWindow parameter NewOrder.TrailStopStepPriceAmount = 1 * sc.TickSize; Thank you and Merry Xmas Andrew Date Time Of Last Edit: 2016-12-24 17:07:24
|
SC_TradeWindow_Parameters.jpg / V - Attached On 2016-12-24 16:55:41 UTC - Size: 101.16 KB - 314 views ASCIL_Code_Trailing_Stop.txt - Attached On 2016-12-24 17:04:30 UTC - Size: 744 B - 396 views |
[2016-12-27 09:02:55] |
Sierra Chart Engineering - Posts: 104368 |
This is still pending.
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 |
[2016-12-28 03:15:13] |
Sierra Chart Engineering - Posts: 104368 |
This problem has been determined and is resolved. We will have a new release out tomorrow.
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 |
To post a message in this thread, you need to log in with your Sierra Chart account: