Login Page - Create Account

Support Board


Date/Time: Sun, 11 May 2025 21:00:52 +0000



[Programming Help] - Autotrading ACSIL error with modifying stops

View Count: 371

[2024-08-13 18:35:05]
User558455 - Posts: 70
Hello,
I am having alot of trouble with moving a stop order that is currently entered with a mkt buy order fill from a signal. The stop order and targets are put on just fine. I am having issued with moving the stop order once the trades is in a few points of profit.
My question is, what is the alternative method to manage the trade that has been initiated by a auto trader. Can I use the Trade management system on top of this or the built in oco handling? Any ideas would be great.
FYI the error i get is (Order modification failed (InternalOrderID) | Unable to modify order because it is no longer working. Internal Order ID: 17856. Service Order ID: 17856. )

I think it is trying to change the mkt buy order which has been filled already instead of changing the stop. So if there is a work around that can allow use to built in sierra trade management after entry and just use my algo trader for entry signal that be fine.

thank you as always for help/insight/recommendation.
I have not posted in a while as you guys are doing awesome and most people only post when there is an issue, so just want to take this opportunity to thank you for keeping this platform close to its roots rather then following trends.
Been with sierra for over 6 years and plan to be for another 20!
Have a great week to all.
[2024-08-30 16:15:12]
OctoPi - Posts: 41
We have this implemented in our Octopi Trader plugin.
One way is creating an order structure with breakeven. You can set BE to be static, dynamic off a variable, or base it on other order components/math.
We also have a post-fill way of trade modification that allows you to move targets and stops if a new signal is matched after you enter a trade.

I know you may not be looking for an advertisement, but maybe it'll speed up your autotrading task and be worth it.

Cheers

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account