Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 23:30:31 +0000



Post From: Automated Trading

[2019-01-15 08:49:08]
User575872 - Posts: 59
I found this but moved H4 to H10 (because H4 is already occupied by my time commands). The order is briefly activated and then disappears immediately. Where is my mistake?

Cell Y3: =IF(AND (K5 = 0, K4), FRACTIME(A3), Y4)
This formula returns the closing timestamp of a Buy Entry signal in Column K.

Cell Z3: =IF(AND(M5 = 0, M4), FRACTIME(A3), Z4)
This formula returns the closing timestamp of a Sell Entry signal in Column M.

Cell H4: 3
This is the number of minutes to wait before canceling an unfilled working order.

Cell J27: =OR(AND(J4 > 0, FRACTIME(J41) - Y3 >= H4 / 1440), AND(J4 < 0, FRACTIME(J41) - Z3 >= H4 / 1440))
This formula will cancel an unfilled working order 3 minutes after the close of the entry bar. If bars are not time-based, it can occur intrabar.