♥ 0 |
Good afternoon, Hope everyone is staying safe! I’ve been trying to build a new AddOrder so that I’m completely cash at the end of the day if my indicator is “in” open orders that need to be closed, no matter the side. I’ve included the current code I have for my conditions, however I’m trying to figure out how I can include this time order so that at 4:30pm ET, everything closes: AddOrder(OrderType.BUY_TO_OPEN, TrendFlipBullSig, open[-1], PositionSize, Color.GREEN, Color.WHITE,”CTS BTO”); I have the following inputs for other components of the conditions above: Input TimeStart = 0930; Thank you for the help!! – Zach
Marked as spam
|
Please log in to post questions.