Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 01:24:32 +0000



Manually Closing orders opened by a strategy

View Count: 1070

[2017-12-08 18:42:06]
User99735 - Posts: 234
Hi,
Have a strategy which opens orders with OCO exit orders attached.

If any position is closed manually, subsequent BuyEntry and SellEntry orders return with Error Code -8998, Error String: Order entry skipped because full recalculation.

Is this normal behaviour??

Is it possible to keep the strategy 'active' and place new orders, even after a position has been closed manually??

Regards

Vivek
[2017-12-08 23:01:44]
Sierra Chart Engineering - Posts: 104368

If any position is closed manually, subsequent BuyEntry and SellEntry orders return with Error Code -8998, Error String: Order entry skipped because full recalculation.
The only reason this error occurs is when calling one of the order entry functions when there is a full recalculation of the study:
Working with ACSIL Arrays and Understanding Looping: When the Study Function is Called

Closing a position does not result in a full recalculation. That does not make sense. There must be some misunderstanding on your part or doing something to cause a full recalculation.


Is it possible to keep the strategy 'active' and place new orders, even after a position has been closed manually??
This does not make sense to us. First, we need to have clear terminology being used. "Strategy active" are not Sierra Chart terms.

If you close a Position, any Attached Orders associated with it, should be canceled.

Ultimately you can do whatever you want. You really should not have to ask us. You need to figure this out. You should not have to ask us about this.
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: 2017-12-08 23:03:24

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

Login

Login Page - Create Account