Support Board
Date/Time: Tue, 04 Nov 2025 08:44:07 +0000
Post From: Time Range Formula
|   [2018-05-17 14:46:08]     |  
| User172040 - Posts: 70 | 
| 
                Hi, I set my trade time between 06:30 in the morning and 14:55 in the afternoon. So no new positions are to be taken outside these hours. I tested and this works. However, what I do find is that when I am in a position already, the stop may be triggered outside my trading hours. How do I set my time formulae so that if I still have an active position at 14:55 that all positions will be closed at that time - profit or loss - does not matter  =AND(J8 = 0, OR(FRACTIME(J41) < TIMEVALUE("06:30:00"), FRACTIME(J41) > TIMEVALUE("14:55:00"))) 
                 | 
        
