I've already posted about this on a similar topic. I hope It can help here. Look into the IB accumulate/distribute algo to created automated...
I've found a description on how to build automated strategies just using TWS without any other software here:...
Separate names with a comma.