Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 15:54:41 +0000



J85 Allow Trading Only During Time Range

View Count: 743

[2020-06-10 20:13:23]
User857051 - Posts: 10
Allow Trading Only During Time Range (read/write):  TRUE
Start Time For Allowed Time Range (read/write):  18:00:00
End Time For Allowed Time Range (read/write):  15:49:59
Flatten Positions And Cancel Orders At Set Time (read/write):  TRUE
Time For Flatten Positions And Cancel Orders (read/write):  15:49:59

Service log says ignored signal because of J28/J85. J28 was blank and I got no fills then I set J28 to 0 and got no fills. If I set J85 to FALSE I get fills so what's wrong with these settings? All I want to do is be flat from 3:50pm est to 6pm est. Please help!
[2020-06-11 06:47:55]
Sierra Chart Engineering - Posts: 104368
It is not possible until version 2120 which is yet to be released, to use those particular start and end times which you have which are reversed:
Spreadsheet Systems, Alerts and Automated Trading: Start Time For Allowed Time Range (read/write) [J86]

This is also not reliable because it is just too close to the end time for allowed trading and there may not be any opportunity to flatten:
Time For Flatten Positions And Cancel Orders (read/write): 15:49:59

We recommend using some minutes earlier, just to be completely safe.
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: 2020-06-11 06:53:13
[2020-06-11 06:52:56]
Sierra Chart Engineering - Posts: 104368
Thinking about this some more, this may not be correct:
This is also not reliable because it is just too close to the end time for allowed trading and there may not be any opportunity to flatten:
Time For Flatten Positions And Cancel Orders (read/write): 15:49:59

We recommend using some minutes earlier, just to be completely safe.
But still we recommend not putting it right at the ending time of allowed trading.
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: 2020-06-11 06:53:24
[2020-06-11 14:32:01]
Sawtooth - Posts: 3993
Instead of using J85/J86/J87, you could use this formula in J28:
=AND(FRACTIME(J41)>TIMEVALUE("00:00:00"),FRACTIME(J41)<TIMEVALUE("15:50:00"))

To allow exits after 15:50:00, but disallow entries, include a reference to J8:
=AND(J8=0,FRACTIME(J41)>TIMEVALUE("00:00:00"),FRACTIME(J41)<TIMEVALUE("15:50:00"))
Now you can flatten at a later time in J29:
=FRACTIME(J41)>=TIMEVALUE("16:00:00")

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

Login

Login Page - Create Account