I found this error, fail to close different group of sell order
-
https://fxdreema.com/shared/mhO0Q8Neb

for the block sequence, should be open all sell order(3 sell orders), why the sell order delay?

somebody expert help test why this happen, here the link -
is it the "Block ID" cause problem? Block ID:20 will run first, then only run Block ID:21??
-
Why are you closing the buy trade as soon as it is open? What is the point of that?
-
i need to test the function
-
Then test it and let us know if it works.
-
this function is for, when buy trade and sell trade occur, then need close according to the trend, eg. may be 1pm entry buy, then 3pm entry sell
if "Group 1 (buy)" priority: but if we also found that "Group 3 or 4 or 7(sell)" also entry. hence we decide close all.
same goes to "Group 1 (sell)" priority: with Group 3 or 4 or 7(buy) -
i want to ask is it the Block will run according to the first Block ID, no matter how the below ID is higher or lower, it refer to the first block ID sequence?

-
yea, it is refer to the first block smallest ID, include abc, and numbering or combine letter+number, a will run first, then only b, then c until z. i knew it
-
Good for you! Congrats.
