This should be relatively easy to diagnose. Try the following:
1. Instead of placing actual trades, log (to console or file) time stamps for the data being read (attached to the ticker data), for when a signal occurs and when a trade is supposed to be placed. What you want to see here is if...