Support Board
Date/Time: Sun, 24 Nov 2024 01:21:37 +0000
[User Discussion] - Close position long or short if time >= 16:20
View Count: 1392
[2013-09-02 10:51:17] |
Amit Levy - Posts: 9 |
Hello Guys, I using automated trading with reversal orders enabled. Using with this fromula "=OR(CROSSFROMBELOW(AA3:AA4,AS3:AS4),CROSSFROMBELOW(AA3:AA4,AT3:AT4),CROSSFROMBELOW(AA3:AA4,AU3:AU4),CROSSFROMBELOW(AA3:AA4,AV3:AV4))" I like to add command to this fromula if this condition is Happening: If time at column A is >= 16:20 close all opening orders to close current position before market is closed. Please advice how to do this, Thanks, L.A |
[2013-09-02 22:06:44] |
Sawtooth - Posts: 4118 |
The easiest way to flatten your position at a certain time is to put this in cell J29: =J41-INT(J41)>TIMEVALUE("16:20:00") Edit the time between the quotes to your needs (retain the quotes). |
To post a message in this thread, you need to log in with your Sierra Chart account: