Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 05:43:14 +0000



Post From: Resetting Conditions in L3 after working orders are cancelled.

[2015-07-27 06:29:10]
CMG - Posts: 179
Hi There,
In a spreadsheet for trading how can I reset conditions on L3 after working orders are cancelled by a non cero value on J27 (Cancel Working Orders)
-I have "signal only once per bar" set to "NO" and "reset conditions on new bar" set to "YES".
-L3 has a formula that places a limit order.

The following all occur in the same bar:
When conditions are met in L3, the spreadsheet is placing the limit order and in some occasions before this order is filled, a condition in J27 becomes non zero and cancels the open limit order. These situations are all correct and meant to be. However, when J27 becomes zero again, no new orders are being sent by L3 even though L3 is still true and signal only once per bar is set to "NO". It only sends a new order when there is a new bar.

The question is how to reset conditions on L3 after cancellation of orders in the same bar.

Thanks