if selected order type MKT enter at market and STOP enter at stop and/or LMT enter at limit
and
Data-> min,distance = 0
then SQX generates buggy code, makes pending orders with 0 distance
SQX mixes erroneously MKT + 0 with Pending Orders where 0 is forbidden
make sure that if order type = STOP or LMT then min distance is not equal 0
add new input box [min distance for pending orders] in DATA
you should set the min. distance according to the symbol in your trading platform. The value depends on a broker and symbol.
You should set it for pending orders, for market orders a zero will be automatically applied.
Best regards,
Tomas