Support Board
Date/Time: Sun, 22 Dec 2024 05:34:52 +0000
Cell J29
View Count: 1199
[2015-02-16 16:30:31] |
Ziklag - Posts: 73 |
using formula =OR(J41-INT(J41)<TIMEVALUE("09:30:00"),J41-INT(J41) >TIMEVALUE("16:00:00")) Cell J29 (flatten and cancel) reading "False" and holding no position I ADJUSTED TIME to say =OR(J41-INT(J41)<TIMEVALUE("09:30:00"),J41-INT(J41) >TIMEVALUE("8:00:00")) and cell J29 changed from "False" to "True" But, alas, on checking later I found the system having taken two more trades, as the study generated signal, (and would've taken more), cell J29 still reading "True" - why was that??? I thought cell J29 is evaluated before any entry cell(s) and would work same as "Disable" ... if not then why weren't the generated trades flattened when cell J29 was reading "True" ? Date Time Of Last Edit: 2015-02-16 16:38:37
|
[2015-02-16 17:09:30] |
Sierra Chart Engineering - Posts: 104368 |
The Flatten and Cancel cell does not prevent an automated trading system from generating trades. For information about how that cell works, refer to: http://www.sierrachart.com/index.php?page=doc/doc_SystemsAlerts.php#FlattenandCancelWorkingOrders 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 |
[2015-02-16 19:37:32] |
Sawtooth - Posts: 4141 |
=OR(J41-INT(J41)<TIMEVALUE("09:30:00"),J41-INT(J41) >TIMEVALUE("16:00:00")) This formula would more likely be used in J28 to disable autotrading after RTH. Try this in J29 to flatten at a certain time: =J41-INT(J41)>TIMEVALUE("16:00:00") If you want to be able to auto-exit after the close time in J28, or if you are scaling in or using reversals, here are more examples: http://www.sawtoothtrade.com/example-4.html (These examples would require the time in J29 to be later than the close time in J28) Date Time Of Last Edit: 2015-08-14 02:20:43
|
To post a message in this thread, you need to log in with your Sierra Chart account: