Login Page - Create Account

Support Board


Date/Time: Sun, 11 May 2025 23:14:00 +0000



J27-cancel working orders, only looks at part of formula

View Count: 1003

[2016-05-10 11:42:35]
phaedonk - Posts: 352
J27=AND(J41-INT(J41)>H5,OR(J5>0,J5<0),OR(J3>0,J3<0))

where H5 equals to 10:45. The problem is that despite having a position on (J5) and working orders (J3), when the time comes (only first argument is TRUE) orders are cancelled; leaving a naked position on. I have tried my best to figure out why that is happening, but cannot. Any ideas?
[2016-05-10 17:05:23]
Sierra Chart Engineering - Posts: 104368
We do not understand this. J27 will only cancel orders and not change the existing Position.
https://www.sierrachart.com/index.php?page=doc/doc_SystemsAlerts.php#CancelWorkingOrders

And how do you know this is true?:
when the time comes (only first argument is TRUE)

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-05-10 17:46:29]
phaedonk - Posts: 352
Sorry forget the whole thread, my brain probably stopped working for a while. I wanted to cancel the orders when there was No position. But that is not what I stated in the formula. Everything is working as expected, sorry for wasting your time.

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

Login

Login Page - Create Account