Login Page - Create Account

Support Board


Date/Time: Sat, 15 Mar 2025 22:50:52 +0000



[Programming Help] - How to detect there are not filled orders

View Count: 308

[2022-08-04 15:12:04]
User712062 - Posts: 14
Hello I need help.My entries are Market orders . I enter them manually using trade window but I am trying to code a simple management system that will control the entry once it detects there is an order that was filled with attached orders.( no much experience with ACSIL).

Is there a particular function to detect there are not filled orders? or is there other way to do it ?. The reason for this is because I need to initialize a variable FLAGIndexOrder to 0 only when there are no orders filled. I need to save the index of the candle when an order/ filled is detected by the code only once.Then I set FLAGIndexOrder =1;to avoid saving new index and then when there are no orders filled I need to set FLAGIndexOrder=0; again preparing for the next entry.
Thanks in advance.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account