Hi Shaik,
First thing the FM Account_Balance_compute is not good to use as its performance is poor, instead of this you can use FKK_LINE_ITEMS_WITH_SELECTIONS which is better in performance(takes almost half the time) and you get the exact items,
For the balance you need to filter the line item for automatic clearing you need exclude the positive and negative part both as suggested by Amlan.
Regards