Support Board
Date/Time: Thu, 28 May 2026 08:31:59 +0000
[Programming Help] - SL Automaticaially Moving 5 Points
View Count: 175
| [2026-04-11 02:30:23] |
| Cileron - Posts: 52 |
|
What are all the studies I need to combine and use to automatically move my SL up 5 Points every time my position moves +5 Points in profit. Is there any detailed guide to accomplish this? |
| [2026-04-12 00:05:39] |
| Cileron - Posts: 52 |
|
I am using an ACSIL custom study to modify an attached stop order. The study successfully finds the stop and attempts to modify it, but the modification fails with: Result = -8994 This is happening in simulation mode during chart replay. Is this rejection due to replay limitations, or is there an issue with modifying attached orders using sc.ModifyOrder in this context? The stop order is an attached order created with the parent entry order. The study retrieves the stop using sc.GetOrderByIndex and attempts modification via sc.ModifyOrder. Am I able to modify the my stop through my custom study? Error Message: Step Trail Stop: Modify failed. CurrentStop=6819.50 ProposedStop=6822.75 AvgPrice=6822.75 LastPrice=6832.00 Qty=2 Result=-8994 Date Time Of Last Edit: 2026-04-12 00:22:35
|
| [2026-04-13 14:43:29] |
| Sawtooth - Posts: 4332 |
|
automatically move my SL up 5 Points every time my position moves +5 Points in profit.
Use the Triggered Step Trailing Stop:Order Types: Triggered Step Trailing Stop |
| [2026-04-13 21:01:39] |
| ForgivingComputers.com - Posts: 1223 |
|
Result = -8994
This means the order was not found or it was already filled or cancelled. |
To post a message in this thread, you need to log in with your Sierra Chart account:
